def __init__(self, location_id, base_directory, please_fail=False): super().__init__() self.location_id = location_id out_file = base_directory / f"data/{location_id}.hdf" self.outputs["out"] = FileEntity(out_file) self.please_fail = please_fail
def outputs(self): out_file = self.base_directory / f"location{self.task_id}.hdf" self._outputs["out"] = FileEntity(out_file) return self._outputs
def __init__(self, base_directory): super().__init__() out_file = base_directory / f"one.hdf" self.outputs["out"] = FileEntity(out_file)
def __init__(self, base_directory): super().__init__() self.base_directory = base_directory self.cause = "aggregate" self.out_file = Path(base_directory / f"all.csv") self.outputs["out"] = FileEntity(self.out_file)
def __init__(self, cause, base_directory): super().__init__() self.cause = cause self.out_file = base_directory / f"{cause}.csv" self.outputs["out"] = FileEntity(self.out_file)
def __init__(self, location, sex, base_directory): super().__init__() self.location_id = location self.sex = sex out_file = base_directory / f"{location}_{sex}.hdf" self.outputs["out"] = FileEntity(out_file)