Skip to content

Commit

Permalink
Add prearchive destination code.
Browse files Browse the repository at this point in the history
  • Loading branch information
andylassiter committed Mar 22, 2024
1 parent 86e40d3 commit bfa58ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ def send_to_xnat(xnat_username: str, xnat_password: str, xnat_host: str,
'SUBJECT_ID': subject,
'EXPT_LABEL': experiment,
'src': f'/{encoded_cached_path}',
'cachePath': f'{upload_id}/{zip_file.name}'
'cachePath': f'{upload_id}/{zip_file.name}',
'dest': '/archive',
}

logging.info(f'Uploading {zip_file} for project {project}, subject {subject}, experiment {experiment} to {url}')
Expand Down

0 comments on commit bfa58ff

Please sign in to comment.