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] move definition of raw and derivatives datasets to common principles #1815

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Remi-Gau
Copy link
Collaborator

@Remi-Gau Remi-Gau commented May 7, 2024



  • This makes the definition of raw and derivative both more official and easier to find.
  • Add some semantic line break.

TODO

  • link to the definitions in the relevant derivate related sections

Copy link

codecov bot commented May 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.92%. Comparing base (0950f6d) to head (a68df81).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1815   +/-   ##
=======================================
  Coverage   87.92%   87.92%           
=======================================
  Files          16       16           
  Lines        1375     1375           
=======================================
  Hits         1209     1209           
  Misses        166      166           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Remi-Gau Remi-Gau requested review from effigies and CPernet May 7, 2024 07:48
@CPernet
Copy link
Collaborator

CPernet commented May 7, 2024

ok but will you keep the intro https://bids-specification.readthedocs.io/en/stable/derivatives/introduction.html with examples or will this go away?

@Remi-Gau
Copy link
Collaborator Author

Remi-Gau commented May 7, 2024

hum true that the examples look a bit weird without the previous sentence. I will put back that sentence.

Copy link
Collaborator

@yarikoptic yarikoptic left a comment

Choose a reason for hiding this comment

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

thank you! proposed some wording tune ups

@@ -46,6 +46,9 @@ dataset:
description: |
A set of neuroimaging and behavioral data acquired for a purpose of a particular study.
A dataset consists of data acquired from one or more subjects, possibly from multiple sessions.
derivative:
display_name: derivative dataset
description: If a dataset is derived from at least one other valid BIDS dataset, then it is a derivative dataset.
Copy link
Collaborator

Choose a reason for hiding this comment

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

why to accent on "valid"? isn't it somewhat assumed since otherwise it is not a BIDS dataset per se?
Also we are talking about BIDS derivative dataset, right?
Also I do not see need for a conditional here.

hence I would suggest

Suggested change
description: If a dataset is derived from at least one other valid BIDS dataset, then it is a derivative dataset.
description: A BIDS dataset derived from at least one other BIDS dataset.

@@ -97,6 +100,9 @@ modality:
the technique is sufficiently uniform to define the modalities `eeg`, `meg` and `ieeg`.
When applicable, the modality is indicated in the **suffix**.
The modality may overlap with, but should not be confused with the **data type**.
raw:
display_name: raw dataset
description: A raw BIDS dataset is data that have been curated into BIDS from a non-BIDS source.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looking at other definitions, they are continuation of the phrase "{display_name} is ..." and hence I would adjust here too to

Suggested change
description: A raw BIDS dataset is data that have been curated into BIDS from a non-BIDS source.
description: A BIDS dataset that have been curated into BIDS from a non-BIDS source(s), for example data from acquisition hardware.


Examples:
[Raw BIDS datasets](../glossary.md#raw-common_principles) are data that have been curated into BIDS from a non-BIDS source.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
[Raw BIDS datasets](../glossary.md#raw-common_principles) are data that have been curated into BIDS from a non-BIDS source.
[Raw BIDS datasets](../glossary.md#raw-common_principles) are data that have been curated into BIDS from one or more of non-BIDS sources.

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.

None yet

3 participants