Skip to content

Commit

Permalink
[SCHEMA] Consolidate schema files by term type (#883)
Browse files Browse the repository at this point in the history
* Reorganize schema.

* Fix formatting issues.

* Start documenting new structure in README.

Still need to document the rules files.

* Fix every indent ever.

* Fix MD spacing.

* Update README.md

* Update README.md

* Document the rules files.

* Clean up the datatypes rules files.

* Get schemacode working with new structure.

* It turns out the extra indents are not strictly YAML compliant.

* "date" should be a format, not a pattern.

See https://github.com/bids-standard/bids-specification/pull/885/files#r715815807.

* Apply suggestions from code review

The datatype descriptions.

Co-authored-by: Chris Markiewicz <effigies@gmail.com>

* Apply suggestions from code review

Make utility functions public.

Co-authored-by: Chris Markiewicz <effigies@gmail.com>

* Apply suggestions from code review

Thanks @Remi-Gau!

Co-authored-by: Remi Gau <remi_gau@hotmail.com>

* Explain entity "types" a bit better.

* Try fixing the markdown style issues.

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: Chris Markiewicz <effigies@gmail.com>
Co-authored-by: Remi Gau <remi_gau@hotmail.com>
  • Loading branch information
3 people authored Oct 5, 2021
1 parent 78da1c8 commit 251f440
Show file tree
Hide file tree
Showing 410 changed files with 4,512 additions and 4,001 deletions.
3 changes: 3 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ extends: default
rules:
line-length:
max: 120
indentation:
# See https://github.com/yaml/pyyaml/issues/545 for why
indent-sequences: false
500 changes: 375 additions & 125 deletions src/schema/README.md

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions src/schema/associated_data.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions src/schema/metadata/Acknowledgements.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions src/schema/metadata/AcquisitionDuration.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions src/schema/metadata/AcquisitionMode.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions src/schema/metadata/AcquisitionVoxelSize.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions src/schema/metadata/Anaesthesia.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions src/schema/metadata/AnalyticalApproach.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions src/schema/metadata/AnatomicalLandmarkCoordinateSystem.yaml

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions src/schema/metadata/AnatomicalLandmarkCoordinateUnits.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions src/schema/metadata/AnatomicalLandmarkCoordinates.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions src/schema/metadata/AnatomicalLandmarkCoordinates_mri.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions src/schema/metadata/ArterialSpinLabelingType.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions src/schema/metadata/AssociatedEmptyRoom.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions src/schema/metadata/Atlas.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions src/schema/metadata/AttenuationCorrection.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions src/schema/metadata/AttenuationCorrectionMethodReference.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions src/schema/metadata/Authors.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions src/schema/metadata/B0FieldIdentifier.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions src/schema/metadata/B0FieldSource.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions src/schema/metadata/BIDSVersion.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions src/schema/metadata/BackgroundSuppression.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions src/schema/metadata/BackgroundSuppressionNumberPulses.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions src/schema/metadata/BackgroundSuppressionPulseTime.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions src/schema/metadata/BasedOn.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions src/schema/metadata/BloodDensity.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions src/schema/metadata/BodyPart.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions src/schema/metadata/BolusCutOffDelayTime.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions src/schema/metadata/BolusCutOffFlag.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions src/schema/metadata/BolusCutOffTechnique.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions src/schema/metadata/BrainLocation.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions src/schema/metadata/CASLType.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions src/schema/metadata/CapManufacturer.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions src/schema/metadata/CapManufacturersModelName.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions src/schema/metadata/CellType.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions src/schema/metadata/Code.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions src/schema/metadata/CogAtlasID.yaml

This file was deleted.

Loading

0 comments on commit 251f440

Please sign in to comment.