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

Remove --ignore_subject_consistency param from cubids validate #276

Merged
merged 3 commits into from
Jan 23, 2024

Conversation

tsalo
Copy link
Member

@tsalo tsalo commented Jan 17, 2024

Closes #270.

Changes proposed:

  • Drop the --ignore_subject_consistency parameter, which could only be set to True.
  • Automatically add --ignoreSubjectConsistency to the BIDS validator call used by cubids validate.

@tsalo tsalo added the bug Something isn't working label Jan 17, 2024
@tsalo tsalo requested a review from mattcieslak January 22, 2024 18:10
Comment on lines -66 to -67
action="store_true",
default=True,
Copy link
Contributor

Choose a reason for hiding this comment

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

🤦

"""Build a subprocess command to the bids validator."""
# build docker call
command = ["bids-validator", "--verbose", "--json"]
# CuBIDS automatically ignores subject consistency.
command = ["bids-validator", "--verbose", "--json", "--ignoreSubjectConsistency"]
Copy link
Contributor

Choose a reason for hiding this comment

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

this makes much more sense

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

@tsalo tsalo merged commit 3ed0705 into PennLINC:main Jan 23, 2024
5 checks passed
@tsalo tsalo deleted the drop-ignore_subject_consistency branch January 23, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cubids-validate --ignore_subject_consistency can only be True
2 participants