Commit 73d1dd0a authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

compatible with CPIC level0_id

parent a1f188b5
Pipeline #2838 failed with stage
......@@ -122,4 +122,8 @@ class File:
@property
def level0_id(self):
if self.instrument == "MSC":
return self.obs_id + self.detector
if self.instrument == "CPIC":
return self.obs_id + self.project
raise ValueError(f"Unmatched instrument: {self.instrument}")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment