Skip to content
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

Get data before, and drop data after, running fMRIPrep #41

Merged
merged 3 commits into from
May 12, 2024
Merged

Conversation

tsalo
Copy link
Member

@tsalo tsalo commented May 7, 2024

Stems from #30 (comment).

@mattcieslak could you take a look at this? Does it look reasonable?

Copy link

@mattcieslak mattcieslak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@@ -43,3 +46,6 @@ cmd="singularity run --home $HOME --cleanenv \
echo Running task ${SGE_TASK_ID}
echo Commandline: $cmd
datalad run -d $OUT_DIR -m "Run fMRIPrep on ds002156 ${subject}." $cmd

# Remove any downloaded data in the BIDS dataset to minimize disk usage
datalad drop -d $BIDS_DIR --what filecontent ${BIDS_DIR}/sub-${subject}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
datalad drop -d $BIDS_DIR --what filecontent ${BIDS_DIR}/sub-${subject}
datalad drop -d $BIDS_DIR --nocheck --if-dirty ignore ${BIDS_DIR}/sub-${subject}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this make sure that, if I modify the BIDS data locally, it won't "drop" those files?

@tsalo tsalo merged commit 6c885c6 into dev May 12, 2024
@tsalo tsalo deleted the get-drop-job branch May 12, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants