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

clean up in Pointing.py

parent aac2f0a9
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -98,12 +98,6 @@ 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"],