-
Notifications
You must be signed in to change notification settings - Fork 29
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
Current GitHub version fails to process using JSON #100
Comments
Alright.. Figured it out the issue but don't know how to fix it. The acquisition was a multi-echo T2 RARE so I have:
Interestingly, |
Looks like a corner case of the bids_convert combined with the mutli-echo data. |
I tried setting modality to "MESE" in the dicominfo.csv manually but it still failed. |
can you go over the full steps you're doing for setting up the bids output and share the bids files your're piping in? |
I'm attaching the CSV file. I can share a dataset too if you send me a location to send a link. |
I now have the same problem converting a dataset with no multiecho data. This would suggest that the JSON parser differs between |
Am I correct that this used to work with an earlier version? If so, you could try a |
I'll try that, but I found the general error. The error codes weren't sufficient to get to it, but it was actually the B0 Map that we acquired with the RARE. It does not have the |
I just had the same issue. Fields maps it is. |
Currently running into the same issue. Using git bisect, the problematic commit seems to be 3b871e2. Before this commit, in the case of a B0 map, Still, I think the code after this commit is an improvement. The code before the commit was checking for the presence of This being said, in the case of the B0 map produced by Bruker, we fall closer to the case described here in the BIDS format. We are in the presence of a fieldmap already computed by Paravision, in Hertz units. We should hence include the |
@jeremie-fouquet Thank you for identifying the source of the issue. I'm not certain why I originally made it return the input key value, but if this change doesn't impact other areas (which it shouldn't, as my original code actually raises an exception), then returning None makes sense to me. On another note, regarding the multi-echo image,@araikes, do we need to separate them for each echo, or can they be a single image? I believe the original brkraw output was for each TE, but I'm not sure how this was managed during the BIDS conversion. I'll need to review the data. If possible, could you share an example BIDS csv file and a single sample pvdataset (compressed in a zip file)? Having these materials would be helpful for testing. |
Multi-echo images should be individual echo images with the appropriate suffix (e.g., MESE or MEGRE). See https://bids-specification.readthedocs.io/en/stable/appendices/file-collections.html |
@araikes, I'm reopening this issue because I realized I haven't tested the merge with the problematic dataset. Could you provide a publicly sharable multi-echo dataset for testing the brkraw functionality, especially for multi-echo data? I'm working on creating a test logic for this and plan to add some test datasets we've collected to the rawdata repository in our organization. If confidentiality is a concern, I can limit the use of the dataset to personal testing. Thanks! |
As @jeremie-fouquet recommended, I'm updating the overall BIDS generator this month to enhance its flexibility and clarity. I'll keep you posted on the progress. This month, I'll be dedicating my efforts to brkraw, aiming to improve its readability and documentation for this project. |
@dvm-shlee and @gdevenyi
I pulled the current master to take advantage of the fixes implemented in #96 but I cannot convert using
bids_convert
and the -j option. I get:EDIT: It appears that it's the VisuAcqEchoTime keyword specifically for this dataset. Doing more digging to investigate.
The text was updated successfully, but these errors were encountered: