-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add corrected labels #248
Comments
@mguaypaq can you please help @NadiaBlostein with uploading clean dataset on git-annex. The problem is that there is a bunch of processed files, eg from
etc. The only files that should be git-annexed (in addition to the files already present in the master branch) are:
|
Sure. To avoid confusion, I used a new branch ( For the re-organization inside
I re-used @NadiaBlostein's original commit message for this revised commit.
Some things to note:
|
@mguaypaq Thank you very much, this is perfect. To address your notes: About the missing labels:
About the bids-validator: sounds good! I can look into this after OHBM as well. Thank you! |
Is this done? |
Issue with 62fc613a79dba7e8c9ff02d25a76cdebf6988ef0 on
|
Sorry, I got side-tracked with submitting a pull request to the BIDS spec while figuring out the best name for these files. I'll do the rename today. |
Ok, I renamed the files and did some other cleanup. I still have some questions, though. Done:
Questions:
|
Great! I just pulled the latest updates from
Thank you very much! I hope this was clear. Cheers. |
not if they are automatically generated by the pipeline, and if they are satisfactory |
@NadiaBlostein Thanks! That's very clear yes.
I think we're nearly there! If you can add the missing JSON sidecars in another commit on |
This is terrific, thank you for updating all of these things! Updates on my end:
About the missing JSON sidecars
About SC masks for sub-103 and sub-109 T1w images (
Does this sound reasonable? Let me know if you have any questions. I will be adding the template pipeline derivatives gradually, as I receive the outputs and QC them. |
That all sounds reasonable, thanks for the explanations and the extra commits. All the git-annexed files from your most recent commit are available on the server, but it looks like some of the previous versions didn't get saved to the server. Could you run this command, which should upload the missing files to the server?
|
Okay! More updates:
And just ran Everything good? I have a couple more things to add :) |
Great, it looks like Also, all the new Looking at the new commit, I see that the large For now I would say, go ahead and add other things if you want. |
Great! More updates:
Will add the templates after once they are ready (this is slow, may take up to a week). |
I can confirm that your extra updates are on the data server, yes: the |
After discussing with @NadiaBlostein, I realized that she put the generated template on git-annex. We do not want that because
With the data from git-annex and the code to generate the template, we should be able to generate the template. Then, the template should be stored as a github asset inside this repository: https://github.com/spinalcordtoolbox/pediatric-template So, actions to do:
thanks |
Dataset on git-annex
Branch
UpdateAs discussed with @jcohenadad, I deleted all of the intermediary files output by the template-generation pipeline as they occupy a lot of space and are not needed. The following directories were deleted:
CurrentlyAs discussed with @jcohenadad, the
Moving forward@mguaypaq Is this clear and was everything done correctly? If so, do I have your okay to run Thank you! |
@NadiaBlostein before deleting the generate templates, can you please upload them here: https://github.com/spinalcordtoolbox/pediatric-template |
@NadiaBlostein it's always OK to do For the file deletions, I'll make sure everything is tidy once we have everything on the server, no need to worry. In the meantime, if you want to access the deleted files (for example, to upload the template in spinalcordtoolbox/pediatric-template#6), you can still get them by doing: # check which branch you're on, and whether there are unsaved changes
git status
# if there are unsaved changes, save them first
git add .
git commit -m "work in progress"
# go back to the commit from before deleting various files
git checkout 8a89e4c9e078dd49851087fe91c7de70a38c5897
# once you're done looking at the deleted files, you can go back to your original branch
git checkout nb/add-labels I see that you correctly deleted all the |
Hi @mguaypaq ! Some updates & questions. 1. To answer your question:
2. I am having trouble switching between dataset versions. I ran the following:
Currently, when I do
3. Finally, I would like to obtain the exact commit ID of the dataset after the changes described in the comment here. Has it been merged with the dataset master branch?Thank you very much! |
Hi @NadiaBlostein, sorry for the delay. Thanks for the clarification about the For switching between dataset versions, it's hard to guess what exactly is going on, but the following commands should save your current state and let you switch to # create a new branch to save the current state
git checkout -b nb/previous-state
git add .
git commit -m 'previous state'
# now that the local modifications are saved, you can switch branches
git checkout nb/add-labels For the commit ID of the dataset described in that comment, it's After that, if you're still having trouble, I would be curious to see the copy-pasted output of these commands: git status
git log --graph HEAD nb/add-labels |
It worked! Also, for some reason the sub-103 and sub-109 T1w SC masks were supposed to have been removed from the Thank you! |
Alright! Thank you for your patience. Everything looks good now, so I combined all the changes into a single new commit on the (Just for safety, I still have a clone of the repository on |
Updated dataset version (now just master branch; updated commit ID), see [data-management closed issue 248](neuropoly/data-management#248 (comment))
Related to the processing done in neuropoly/template#53
Branch:
nb/template_pediatric
nb/add-labels
The text was updated successfully, but these errors were encountered: