Skip to content
Snippets Groups Projects
Commit 62daeb22 authored by Schiffer, Christian's avatar Schiffer, Christian
Browse files

Renamed annotation files

parent 30c559e5
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ def submit_training_job(brain, annotations, job_configuration, project_id, task_
"Regions": regions_list,
"section": section,
}
annotation_fname = f"annotations/B{brain:02d}_annotation_{section:04d}.json"
annotation_fname = f"annotations/B{brain:02d}_{section:04d}_annotations.json"
annotation_content = json.dumps(annotation_json, indent=4)
annotation_content = base64.b64encode(annotation_content.encode("utf-8")).decode("ascii")
additional_files.append({
......
......@@ -16,7 +16,7 @@ export SCRATCH_USER=/p/scratch/cjinm16/schiffer1/
# Set annotation directory (assume we are in the experiment folder)
export ATLAS_ANNOTATION_DIR=`pwd`/annotations/
export ATLAS_ANNOTATION_FILE="B${BRAIN}_annotation_{slice:04d}.hdf5"
export ATLAS_ANNOTATION_FILE="B${BRAIN}_{slice:04d}_annotations.hdf5"
# Some more variables
INPUT_SPACING=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment