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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xnatqa
3
- Version: 0.0.11
3
+ Version: 0.0.13
4
4
  Summary: A workflow for automatically labeling and running QA on MRI scans within XNAT
5
5
  Author-email: Kyle Kurkela <kkurkela@bu.edu>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "xnatqa"
3
- version = "0.0.11"
3
+ version = "0.0.13"
4
4
  authors = [
5
5
  { name="Kyle Kurkela", email="kkurkela@bu.edu" },
6
6
  ]
@@ -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} &>>log.txt")
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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xnatqa
3
- Version: 0.0.11
3
+ Version: 0.0.13
4
4
  Summary: A workflow for automatically labeling and running QA on MRI scans within XNAT
5
5
  Author-email: Kyle Kurkela <kkurkela@bu.edu>
6
6
  License-Expression: MIT
File without changes
File without changes
File without changes
File without changes
File without changes