Commit 922706e5 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

use string instead of lambda functions for custom ref

parent eef7fc6b
......@@ -440,7 +440,7 @@ class CsstMsDataManager:
else:
return self.path_aux.format(detector, "bias")
else:
return self.custom_bias(detector)
return self.custom_bias.format(detector)
def get_dark(self, detector=6):
""" get dark data """
......@@ -450,7 +450,7 @@ class CsstMsDataManager:
else:
return self.path_aux.format(detector, "dark")
else:
return self.custom_dark(detector)
return self.custom_dark.format(detector)
def get_flat(self, detector=6):
""" get flat data """
......@@ -460,7 +460,7 @@ class CsstMsDataManager:
else:
return self.path_aux.format(detector, "flat")
else:
return self.custom_flat(detector)
return self.custom_flat.format(detector)
def get_axeconf(self):
if os.uname()[1] == "dandelion":
......
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