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

Operation: Remove use of Inheritance Principle #1

Open
5 tasks
Lestropie opened this issue May 3, 2024 · 0 comments
Open
5 tasks

Operation: Remove use of Inheritance Principle #1

Lestropie opened this issue May 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Lestropie
Copy link
Owner

For a given input BIDS dataset, remove all uses of the Inheritance Principle.
Collapse all metadata to be defined exclusively in sidecar files alongside data files.

This should be a relatively simple operation:

  • For every data file in the input BIDS dataset:
    • Copy the data file to the same location in the output BIDS dataset
    • For all metadata files deemed to be applicable to the data file based on the Inheritance Principle:
      • Load metadata into a dictionary
        (obeying the Inheritance Principle in terms of the order in which those files should be read in order for overloaded values to be properly obeyed)
    • Write sidecar metadata file to accompany data file
@Lestropie Lestropie added the enhancement New feature or request label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant