xnatqa 0.0.11__tar.gz → 0.0.13__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xnatqa-0.0.11/xnatqa.egg-info → xnatqa-0.0.13}/PKG-INFO +1 -1
- {xnatqa-0.0.11 → xnatqa-0.0.13}/pyproject.toml +1 -1
- {xnatqa-0.0.11 → xnatqa-0.0.13}/xnatqa/tag/__init__.py +4 -2
- {xnatqa-0.0.11 → xnatqa-0.0.13/xnatqa.egg-info}/PKG-INFO +1 -1
- {xnatqa-0.0.11 → xnatqa-0.0.13}/LICENSE +0 -0
- {xnatqa-0.0.11 → xnatqa-0.0.13}/README.md +0 -0
- {xnatqa-0.0.11 → xnatqa-0.0.13}/setup.cfg +0 -0
- {xnatqa-0.0.11 → xnatqa-0.0.13}/xnatqa/__init__.py +0 -0
- {xnatqa-0.0.11 → xnatqa-0.0.13}/xnatqa/xnatqa.py +0 -0
- {xnatqa-0.0.11 → xnatqa-0.0.13}/xnatqa.egg-info/SOURCES.txt +0 -0
- {xnatqa-0.0.11 → xnatqa-0.0.13}/xnatqa.egg-info/dependency_links.txt +0 -0
- {xnatqa-0.0.11 → xnatqa-0.0.13}/xnatqa.egg-info/entry_points.txt +0 -0
- {xnatqa-0.0.11 → xnatqa-0.0.13}/xnatqa.egg-info/requires.txt +0 -0
- {xnatqa-0.0.11 → xnatqa-0.0.13}/xnatqa.egg-info/top_level.txt +0 -0
|
@@ -19,10 +19,10 @@ def generate_tagger_config(dicom_dir):
|
|
|
19
19
|
# This seems to work well most of the time, with the odd hicups. I include manual code here to catch the "hicups".
|
|
20
20
|
|
|
21
21
|
# call to dcm2niix. generates a bunch of *.json text files in the current working directory.
|
|
22
|
-
os.system(f"dcm2niix -s y -a y -b o -o $PWD -f 'output_%s_%d' -w 0 -m 1 -i y {dicom_dir}
|
|
22
|
+
os.system(f"dcm2niix -s y -a y -b o -o $PWD -f 'output_%s_%d' -w 0 -m 1 -i y {dicom_dir}")
|
|
23
23
|
|
|
24
24
|
# idenfity all of these text files
|
|
25
|
-
jsonFiles = glob('./output*.json')
|
|
25
|
+
jsonFiles = glob(os.path.abspath('./output*.json'))
|
|
26
26
|
|
|
27
27
|
# sort the found files so that they are in decensing order by series_number
|
|
28
28
|
# this is probably unnecssary
|
|
@@ -180,6 +180,8 @@ def generate_tagger_config(dicom_dir):
|
|
|
180
180
|
with open('tagger.yaml', 'a') as file:
|
|
181
181
|
yaml.dump(tagger_data, file)
|
|
182
182
|
|
|
183
|
+
print(tagger_data)
|
|
184
|
+
|
|
183
185
|
def update_xnat_tags(MRsession):
|
|
184
186
|
|
|
185
187
|
# make sure an xnat authentication files has already been created. See YXAIL documentation.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|