예제 #1
0
    def _run(self):
        self.prepare_specs()
        Util.run_tool(self.yaml_path, self.result_path)

        dataset_location = self.result_path / f"{self.instruction_name}/{self.dataset_name}/{self.export_format}/"
        shutil.copytree(dataset_location, self.result_path / 'result/')

        logging.info(
            f"{DataSimulationTool.__name__}: immuneML has finished and the dataset was created."
        )
예제 #2
0
    def _run(self):
        self.prepare_specs()

        Util.run_tool(self.yaml_path, self.result_path)

        dataset_location = list(
            self.result_path.glob("*/exported_dataset/*/"))[0]
        shutil.copytree(dataset_location, self.result_path / 'result/')

        logging.info(
            f"{GalaxySimulationTool.__name__}: immuneML has finished and the signals were implanted in the dataset."
        )