-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] Address several PET bug issues #110
Conversation
@bendhouseart would you mind reviewing the functionality introduced in this PR? |
Checked the following on my end:
Not complete until each row is filled out* |
The real data seems to be getting stuck somewhere, it's been running several minutes and this is the state of the output dir:
Could be the pax headers messing things up:
or the fact that dicoms in ses-01 and ses-02 have the following format:
|
Are there any errors in the web browser console? |
Just pushed some commits that should resolve the finalize page error |
Take #2 following changes added with commit 8ad5b63
Not complete until each row is filled out* |
This is by design for |
You mean you uploaded the output from your first attempt, meaning a BIDS-compliant dataset, or something else? I'm a little unsure how to re-produce this issue. |
I reran it on the same data in the same folder. Then I made a duplicate of that data, and it produced the same error. What I haven't done is to drag and drop data, I've been using the file browser instead. |
Also, I think the issue with it not picking up the pet files was because I had excel open, I would call this good to go for now and merge it. |
I'm going to perform a few additional tests, but I'll plan to merge this PR by the end of the week. |
@bendhouseart when you get the chance, would you mind looking over commit 64043f3? I ended up adding ECAT support (via
All files were successfully identified and transformed based on their datatype and format (i.e. MRI dicoms --> The PET data I was able to find online is still rather small, so I haven't replicated your inflation error from before. |
@bendhouseart I recall us discussing how ezBIDS should handle PET metadata spreadsheet(s), landing on users needing to place a spreadsheet in each corresponding raw data folder. This approach is fine by me; however, I'm also amenable to a provenance framework (akin to BIDS) where all raw data folders or files underneath a spreadsheet are assumed to have that specified metadata. As an example:
Where, both ECAT-formatted raw PET data would be given the metadata in the folder above. If this isn't how PET metadata would be stored, or if it's outside the scope of the PR, we can ignore this. |
Out of scope! What's going to be more helpful to the user, in the immediate, is them being clued in on how to format and place their PET spreadsheets. But, really I don't want to make any assumptions or optimizations until the current iteration gets tested on real users. |
Further addresses #92
This PR address several issues pertaining to PET BIDS conversion:
1). Detect
pet/blood
data (both json and corresponding tsv files) and separate metadata requirements frompet/pet
data.2). Convert
pet/blood
data into a BIDS-compliant dataset.3). Accepts ECAT-formatted data (
.v
,.v.gz
)4). Utilizes
parallel
for file renaming (rare, but but otherwise incredibly slow when renaming thousands of files)