Commit 72f2fa3d authored by Franziska Koehn's avatar Franziska Koehn
Browse files

names of downloaded files changed

parent 8d565684
......@@ -110,7 +110,7 @@ def download(result, dest_folder='', host=None, cb=(lambda *_: None), cb_args=()
experiment = result['xnat_mrsessiondata_session_id']
project = result['xnat_mrsessiondata_project']
scan = result['id']
file_name = "%s/%s_%s_%s" % (dest_folder, subject, result['type'], scan)
file_name = "%s/%s-%s-%s-%s" % (dest_folder, project, subject, experiment, scan)
download_file(host, project, subject, experiment, scan, file_name)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment