diff --git a/manifest.json b/manifest.json index 3a16f5e..1cb05f9 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name": "dicom-send", "label": "DCMTK: DICOM Send", "description": "DICOM Send utilizes DCMTK's storescu to send DICOM data from a Flywheel instance to a destination DICOM server, hosted externally. This Gear supports the transmission of individual DICOM files and archives, as well as the transmission of an entire session when a specific input is not provided. Note that a private tag is added to each DICOM file to be transmitted (Flywheel:DICOM Send, at group 0x0021). Importantly, the external DICOM server must be reachable from the engine host of the Flywheel instance.", - "version": "2.1.0", + "version": "2.1.1_rc0", "inputs": { "file": { "base": "file", @@ -47,7 +47,7 @@ "custom": { "gear-builder": { "category": "converter", - "image": "flywheel/dicom-send:2.1.0" + "image": "flywheel/dicom-send:2.1.1_rc0" }, "flywheel": { "suite": "DCMTK" diff --git a/utils/report_generator.py b/utils/report_generator.py index 152b3ef..7c4eec1 100755 --- a/utils/report_generator.py +++ b/utils/report_generator.py @@ -74,8 +74,8 @@ def make_flywheel_path(api_key, acq_id, file_name): acq = fw.get_acquisition(acq_id) ses_id = acq.session group = fw.get_group(acq.parents.group) - project = group.projects.find(f"_id={acq.parents.project}")[0] - session = project.sessions.find(f"_id={acq.parents.session}")[0] + project = fw.get_project(acq.parents.project) + session = fw.get_session(acq.parents.session) fw_path = ( f"{group.label}/{project.label}/{session.subject.label}/{session.label}/"