xnatqa 0.0.17__py3-none-any.whl → 0.0.18__py3-none-any.whl
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/launch.py +4 -1
- xnatqa/xnatqa.py +0 -4
- {xnatqa-0.0.17.dist-info → xnatqa-0.0.18.dist-info}/METADATA +1 -1
- xnatqa-0.0.18.dist-info/RECORD +10 -0
- xnatqa-0.0.17.dist-info/RECORD +0 -10
- {xnatqa-0.0.17.dist-info → xnatqa-0.0.18.dist-info}/WHEEL +0 -0
- {xnatqa-0.0.17.dist-info → xnatqa-0.0.18.dist-info}/entry_points.txt +0 -0
- {xnatqa-0.0.17.dist-info → xnatqa-0.0.18.dist-info}/licenses/LICENSE +0 -0
- {xnatqa-0.0.17.dist-info → xnatqa-0.0.18.dist-info}/top_level.txt +0 -0
xnatqa/launch.py
CHANGED
|
@@ -18,7 +18,10 @@ def main():
|
|
|
18
18
|
MRsession = args.experiment
|
|
19
19
|
dryrun = args.dryrun
|
|
20
20
|
|
|
21
|
-
#
|
|
21
|
+
# make sure an xnat authentication files has already been created. See YXAIL documentation.
|
|
22
|
+
assert os.path.exists(os.path.expanduser('~/.xnat_auth')), 'xnat authentication needs to be run'
|
|
23
|
+
|
|
24
|
+
# authenticate with xnat using the ~/.xnat_auth file
|
|
22
25
|
auth = yaxil.auth(alias = 'xnat')
|
|
23
26
|
|
|
24
27
|
# open and automatically close a connection to XNAT using the auth
|
xnatqa/xnatqa.py
CHANGED
|
@@ -15,10 +15,6 @@ def main():
|
|
|
15
15
|
experiment = args.experiment
|
|
16
16
|
dryrun = args.dryrun
|
|
17
17
|
|
|
18
|
-
# run xnat authentication for this container. writes an ~/.xnat_auth file to the home directory
|
|
19
|
-
# this file is used in all subsequent calls to XNAT
|
|
20
|
-
os.system(f'xnat_auth --alias xnat --url $XNAT_HOST --username $XNAT_USER --password $XNAT_PASS')
|
|
21
|
-
|
|
22
18
|
# tag all scans in this session
|
|
23
19
|
tag_scans(dicom_dir, experiment, dryrun)
|
|
24
20
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
xnatqa/__init__.py,sha256=RIG_ihjfFD1upKlhlxI-9Fs4ISf0lIW4Zg7CaFirV4A,644
|
|
2
|
+
xnatqa/launch.py,sha256=QWqLdwfbq28cmeJd4XQcV2wxs2ZGRX85uzFmxHydmfg,1963
|
|
3
|
+
xnatqa/xnatqa.py,sha256=Ld6ARbw3czfRWKqubOdRW4VMBOCuONTr7uxjCbBPLrg,757
|
|
4
|
+
xnatqa/tag/__init__.py,sha256=wXPBIbHucCqITYVZ4V5bt3VJWq8svyrJoBjbrpH1bNE,8969
|
|
5
|
+
xnatqa-0.0.18.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
xnatqa-0.0.18.dist-info/METADATA,sha256=YSR_e--Cs6nA5kOykqS50e7fdaR76ClMFAYiM3GPteY,1187
|
|
7
|
+
xnatqa-0.0.18.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
|
8
|
+
xnatqa-0.0.18.dist-info/entry_points.txt,sha256=g5CvKDfx6vIIp76wdB1aiWe1SkBORj2S8gFReBBxBws,74
|
|
9
|
+
xnatqa-0.0.18.dist-info/top_level.txt,sha256=FmRWgO6ww0FwyNs5ccyhP9FcAxI129qSJqLs2OKOxJw,7
|
|
10
|
+
xnatqa-0.0.18.dist-info/RECORD,,
|
xnatqa-0.0.17.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
xnatqa/__init__.py,sha256=RIG_ihjfFD1upKlhlxI-9Fs4ISf0lIW4Zg7CaFirV4A,644
|
|
2
|
-
xnatqa/launch.py,sha256=jZTCAftrT5MBcbPKXNorFux5TkezyktJBhzJaKI4ypM,1797
|
|
3
|
-
xnatqa/xnatqa.py,sha256=KUXfs6EAZX15K2s8JcsIXuUOV1swma_7gJw-IRkD1yM,1016
|
|
4
|
-
xnatqa/tag/__init__.py,sha256=wXPBIbHucCqITYVZ4V5bt3VJWq8svyrJoBjbrpH1bNE,8969
|
|
5
|
-
xnatqa-0.0.17.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
xnatqa-0.0.17.dist-info/METADATA,sha256=NdGanatTgamPgLnL20wQHgJYdJj7eHU2ZGoNdnXs2eE,1187
|
|
7
|
-
xnatqa-0.0.17.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
|
8
|
-
xnatqa-0.0.17.dist-info/entry_points.txt,sha256=g5CvKDfx6vIIp76wdB1aiWe1SkBORj2S8gFReBBxBws,74
|
|
9
|
-
xnatqa-0.0.17.dist-info/top_level.txt,sha256=FmRWgO6ww0FwyNs5ccyhP9FcAxI129qSJqLs2OKOxJw,7
|
|
10
|
-
xnatqa-0.0.17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|