def setUpClass(cls):
     env_extras = resources.setup_testdata_symlink()
     cls.reduce = driveami.Reduce(
         ami_rootdir=resources.ami_rootdir,
         ami_version=driveami.AmiVersion.legacy,
         additional_env_variables=env_extras)
     cls.reduce.load_obs_info()
 def setUp(self):
     env_extras = resources.setup_testdata_symlink()
     self.reduce = driveami.Reduce(
         ami_rootdir=resources.ami_rootdir,
         ami_version=driveami.AmiVersion.legacy,
         additional_env_variables=env_extras,
     )
     with open(resources.file_info_dump) as f:
         file_info_data = pickle.load(f)
     self.reduce.files = file_info_data
Example #3
0
 def setUp(self):
     env_extras = resources.setup_testdata_symlink()
     self.reduce = driveami.Reduce(ami_rootdir=resources.ami_rootdir,
                                   additional_env_variables=env_extras)
     self.rawfile_basename = resources.SWIFT_590206_basename
 def setUp(self):
     env_extras = resources.setup_testdata_symlink()
     self.reduce = driveami.Reduce(
         ami_rootdir=resources.ami_rootdir,
         ami_version=driveami.AmiVersion.legacy,
         additional_env_variables=env_extras)