Skip to content

Commit

Permalink
save batch to output dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Sep 17, 2024
1 parent c3dbfc9 commit 4af6ef0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions code/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@ def main():

logger.info(f"{segment_type=} - using batch {batch}.")

(output_dir / "logs").mkdir(exist_ok=True, parents=True)
shutil.copy2(
src=Path("/opt")
/ f'CAT12{os.environ["CAT_VERSION"]}'
/ "standalone"
/ batch,
dst=output_dir / "logs",
)

generate_method_section(output_dir=output_dir, batch=batch)

text = "processing subjects"
Expand Down

0 comments on commit 4af6ef0

Please sign in to comment.