Skip to content

Conversation

@duettwe
Copy link
Contributor

@duettwe duettwe commented Aug 14, 2025

Trying to build a GUI based XnatDownload tool that is BUILT-IN to python already.

This doesn't entirely work yet. Also doesn't have all the XnatDownload options. I'm also sure this can be approved upon readability wise as well.

It's to a point where it puts a file in the directory given though. I'm not entirely sure about the actual XnatDownload part, since we've been messing around with the DB.

One problem I know of currently is that if you give it scan parameters, it will still look at ALL assessor info (and vice versa; assessor info, still looks at ALL scan info). Should be an easy fix, but just getting this somewhere. EXAMPLE:

# Parameters :                                                 #
#     Directory            -> /Users/wilduett/Downloads        #
#     Project(s)           -> VUIIS_ABCD                       #
#     Subject(s)           -> 001                              #
#     Session(s)           -> 001_3TA_1                        #
#     Scan types           -> 201                              #
#     Resources Scan       -> NIFTI                            #
#     Process types        -> all                              #
#     Resources Process    -> all                              #

If you have any thoughts or can improve, go ahead!

Not sure this is entirely working yet. Also doesn't have all the options. I'm sure this can be approved upon readability wise as well. 

It's to a point where it puts a file in the directory given though. 

One problem I know of currently is that if you give it scan parameters, it will still look at ALL assessor info (and vice versa; assessor info, still looks at ALL scan info). Should be an easy fix, but just getting this somewhere.

# Parameters :                                                 #
#     Directory            -> /Users/wilduett/Downloads        #
#     Project(s)           -> VUIIS_ABCD                       #
#     Subject(s)           -> 001                              #
#     Session(s)           -> 001_3TA_1                        #
#     Scan types           -> 201                              #
#     Resources Scan       -> NIFTI                            #
#     Process types        -> all                              #
#     Resources Process    -> all                              #
@duettwe duettwe requested review from baxpr and bud42 August 14, 2025 17:41
Fixed the searching on scans also searches on assessors and vice versa issue. Should only search on whatever is given.
@duettwe
Copy link
Contributor Author

duettwe commented Aug 22, 2025

This works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants