diff --git a/csst_common/pipeline.py b/csst_common/pipeline.py index 2812a352e24ac7a6c0fba9db3ca587c24d9523c6..4f75f3555467654a926c9fb04a507741f9f61032 100644 --- a/csst_common/pipeline.py +++ b/csst_common/pipeline.py @@ -242,6 +242,14 @@ class Pipeline: def retry(*args, **kwargs): return retry(*args, **kwargs) + @property + def pmapname(self): + """CCDS `.pmap` name (operational context).""" + if self.ccds is not None: + return self.ccds.operational_context + else: + raise ValueError("CCDS client not initialized!") + # class ErrorTrace: # """Write error trace to file."""