-
Notifications
You must be signed in to change notification settings - Fork 58
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
Repeated/missing contrast info when converting sleuth file to dict #799
Comments
@yifan0330 can you share an example text snippet? Also, is this file directly from Sleuth, or curated manually in the Sleuth style? |
@tsalo I came across this issue with a dataset that Angie shared with me, the dataset doesn't contain any specific contrast info and refer it as //Reference=Talairach //Author here //Author here //Author here //Author here when converted into dataset, it was repeatedly overwritten and only data from the last contrast was kept. |
TBH that seems more like a noncompliant Sleuth file, rather than an issue with NiMARE's ingestion, but I'll defer to others' opinions on this. |
I see! Just curious, is it possible to find repeated contrast info in a sleuth file? |
In an official Sleuth file, I believe that different contrasts from the same study would have different metadata. Something like this:
|
Summary
When using
nimare.io.convert_sleuth_to_dataset
, I found that if there're repeated contrast info (or missing contrast info which is represented as\\ Auther here
) for multiple contrasts, it's recognised as one contrast and repeatedly overwritten by the contrast appearing later. Personally, I think maybe appending data from repeated contrasts as one contrast might be a more reasonable option.The text was updated successfully, but these errors were encountered: