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

[ENH] State of the schema sprint #1075

Merged
merged 139 commits into from
Apr 28, 2022
Merged

[ENH] State of the schema sprint #1075

merged 139 commits into from
Apr 28, 2022

Conversation

effigies
Copy link
Collaborator

Mostly doing this to get an RTD pull request build going as we update.

tsalo and others added 30 commits February 24, 2022 15:10
[SCHEMA] Define YAML tables for MRI common metadata fields and anatomy data
* Draft ASL and DWI metadata table rules.

* Add description addendum.

* Define metadata for the behavioral modality.

* Whoops, separate beh and continuous data.

* Add EEG.

* Add iEEG.

* Fix.

* Add microscopy.

* Split up the existing sidecars file.

* Fix issues.

* Update micr.yaml

* Update entities.yaml
Squashed commit of the following:

commit ee5ff05
Author: anthony galassi <[email protected]>
Date:   Thu Apr 7 15:48:02 2022 -0400

    moved pet stuff to src/schema/rules/sidecars/pet.yaml

commit d00e683
Author: Anthony Galassi <[email protected]>
Date:   Fri Mar 18 09:40:55 2022 -0400

    Update src/schema/rules/sidecars.yml

commit 928eea2
Author: Anthony Galassi <[email protected]>
Date:   Thu Mar 17 15:42:10 2022 -0400

    Add backticks

    Added backticks

commit 50b0ae0
Author: anthony galassi <[email protected]>
Date:   Tue Mar 15 12:34:42 2022 -0400

    fixed level addendum's, removed quotes for selector in PETMRISequenceSpecifics to make linter happy

commit 4a177c0
Author: anthony galassi <[email protected]>
Date:   Mon Mar 14 15:59:54 2022 -0400

    fixed n - 1 yaml errors, 1 remaining

commit 6e40318
Author: Anthony Galassi <[email protected]>
Date:   Mon Mar 14 15:49:29 2022 -0400

    Update src/schema/rules/sidecars.yml

    change addendum -> level_addendum per commit suggestion.

    Co-authored-by: Taylor Salo <[email protected]>

commit a4fb377
Merge: 41bc816 c5f89c6
Author: Anthony Galassi <[email protected]>
Date:   Mon Mar 14 15:17:00 2022 -0400

    Merge branch 'schema/sidecar_validation' into bendhouseart-tables

commit 41bc816
Author: anthony galassi <[email protected]>
Date:   Thu Mar 10 15:49:58 2022 -0500

    fixed yaml formatting
* Add MEG.

* Add fmap file.

* Add func file.

* Fix a couple of things.

* Update func.yaml
Comment on lines +25 to +32
GeneratedBy[].Name: REQUIRED
GeneratedBy[].Version: RECOMMENDED
GeneratedBy[].Description: OPTIONAL
GeneratedBy[].CodeURL: OPTIONAL
GeneratedBy[].Container: OPTIONAL
GeneratedBy[].Container{}.Type: RECOMMENDED
GeneratedBy[].Container{}.Tag: RECOMMENDED
GeneratedBy[].Container{}.URI: RECOMMENDED
Copy link
Collaborator

Choose a reason for hiding this comment

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

Those dot, brackets and curly braces will MATLAB cry: the only special characters allowed in keys by matlab are _

Related to
#1082

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We need some way to mark the requirement levels of sub objects.

Copy link
Collaborator

Choose a reason for hiding this comment

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

See also: #841

Copy link
Member

Choose a reason for hiding this comment

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

#841 is really just an artifact at this point. Once someone (probably me) writes a function to render subobjects in tables, we can get rid of the Genetics.* fields.

@effigies effigies marked this pull request as ready for review April 21, 2022 19:55
@effigies effigies merged commit 8d4549d into master Apr 28, 2022
@effigies effigies deleted the schema-sprint branch April 28, 2022 19:47
@effigies
Copy link
Collaborator Author

Three live 👍s. Merging to avoid accumulating merge conflicts.

@sappelhoff sappelhoff changed the title State of the schema sprint [ENH] State of the schema sprint Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
schema Issues related to the YAML schema representation of the specification. Patch version release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants