-
Notifications
You must be signed in to change notification settings - Fork 73
Add support for new MNE-BIDS BIDSPath #146
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
Conversation
The |
Opened an issue upstream: |
@hoechenberger it should be fixed now. I also wrote a guide so that anyone can fix this problem on their own (click on "details"). These should be the needed steps. I am doing them now and will update this post if it turns out that one of the steps is wrong. general requirements:
Get data as .tar.gz from MNE OSF and turn into datalad dataset
Upload file by file to a new OSF repo
... this may take a long time depending on your upload speed. ... it may happen that not all files get uploaded (due to connection error). In that case, see: datalad/datalad-osf#109 Parse the new OSF, download urls into a CSV and force update a dataset (the GitHub mirror) ... or make a new GitHub mirror
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't look too closely for typos etc but PR looks good to me otherwise. The copy
are a bit awkward but I guess there is no way around it.
the somato thing still fails, because the no luck with osf-client or datalad-osf either. No clue how I managed to do that back then ... |
okay, found the issue. I currently don't have freesurfer installled ... so the symlink is broken on my system. and apparently, broken symlinks behave very odd. |
Thanks for looking into this, @sappelhoff! Can you ping me when you think it's ready to go? Just tried fetching |
yeah, the plot thickens. I now managed to upload a now the only question is whether that will work. Because I think beforehand, the git-annex data contained the actual contents of These contents are:
apparently I copied them from the symlink's destination The odd thing is, that the MNE .tar.gz version contains a symlink. Well ... I just hope it works now. Can you try again? Else I'll have to ask someone to share these files from their freesurfer installation folder "label mri mri.2mm scripts surf xhemi" and I'll upload them. |
nice, so now we don't have a download error any more ... the symlink seems to work somewhat. We get a new error though:
|
I'm getting the following error message:
|
it's weird that you get a different error than the CI. but anyhow, I am now downloading the full Then everything should be as it was before. 😬 |
Yeah idk… I deleted the entire |
Can you try again @hoechenberger? I re-did the MNE-somato-data repository. It should be exactly as it was before now. |
It's working for me locally! Thanks for your help, @sappelhoff! I will restart CI now. |
@sappelhoff Sorry, this was a bit premature. I only checked whether the download of the dataset works properly now, which it does (at least doesn't throw an error message). But locally I also get |
@sappelhoff There is indeed still sth wrong with the link: $ ls -lH /home/parietal/rhochenb/mne_data/somato/derivatives/freesurfer/subjects/01/bem/inner_skull.surf
-r--r--r-- 1 rhochenb parietal 32 Jul 2 22:44 /home/parietal/rhochenb/mne_data/somato/derivatives/freesurfer/subjects/01/bem/inner_skull.surf
$ cat /home/parietal/rhochenb/mne_data/somato/derivatives/freesurfer/subjects/01/bem/inner_skull.surf
watershed/01_inner_skull_surface%
$ |
this is an absolute nightmare, I hope this gets easier with the great work that @mih is doing in datalad/datalad-osf#106 |
we can also put the dataset on openneuro so we have all dataset on openneuro.
https://github.com/mne-tools/mne-study-template/blob/master/tests/download_test_data.py#L17
somato is the only one on OSF
|
+1!! |
I am trying one last thing right now (uploading the So the only options would be:
|
okay, that didn't work either. I give up for now. |
openneuro it is then !
|
Let me know if I can be of any help here! |
yes, can you upload what you need to OpenNeuro, please? :) I already broke the dataset, so I feel my job is done /sarcasm but for real though, fighting with datalad yesterday and today already cost me several hours, so it'd be nice if you could take over 👍 |
Ok I will see what I can do, @sappelhoff! Just need to find a source that's not broken ;) Will keep you posted! Thanks for putting so much time & effort into this, I really appreciate it. |
I've published it on OpenNeuro: https://openneuro.org/datasets/ds002993/ However, it's yet to be synced to GitHub: https://github.com/OpenNeuroDatasets/ds002993 Anyone know how long this usually takes? |
Heh, it just finished syncing! Neat! |
Yeeeeesssss!! It's working!!! |
nice, and interestingly without I am going ahead and will delete https://github.com/sappelhoff/MNE-somato-data and the corresponding OSF repo. Thanks for cleaning up @hoechenberger! |
I intentionally removed it – was that a bad idea? |
if it works, it must be fine. The |
This was my thinking exactly! |
Is this somato data also used in MNE? Something to update there? |
To my knowledge it's the exact same dataset. MNE should probably start fetching it from OpenNeuro too now, yes :) |
yup, MNE uses the BIDS version of the somato data, as stored on OSF in fact, I don't think there is a non-bids version anymore (except of course in the OSF version history)
xref: mne-tools/mne-python#6687 :) |
Thanks @agramfort! |
No description provided.