Commit 5f82c4ab authored by Fang Yuedong's avatar Fang Yuedong
Browse files

clean up in Pointing.py

parent aac2f0a9
......@@ -97,13 +97,7 @@ class Pointing(object):
self.pointing_type_code = columns[21][0:3]
self.obs_id = columns[21][3:]
# Load the configuration file for this particular pointing
# with open(self.obs_config_file, "r") as stream:
# try:
# self.obs_param = yaml.safe_load(stream)
# except yaml.YAMLError as exc:
# print(exc)
self.pointing_type = self.obs_param["obs_type"]
else:
self.timestamp = t
......@@ -115,7 +109,6 @@ class Pointing(object):
os.makedirs(run_dir, exist_ok=True)
except OSError:
pass
# self.prefix = "MSC_" + str(pointing_ID).rjust(8, '0')
self.output_prefix = get_obs_id(
img_type=self.pointing_type,
project_cycle=overall_config["project_cycle"],
......
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