Skip to content

[SCHEMA] BEP028 - BIDS-Prov - #2098

Closed
bclenet wants to merge 23 commits into
bids-standard:masterfrom
bclenet:BEP028_schema
Closed

[SCHEMA] BEP028 - BIDS-Prov#2098
bclenet wants to merge 23 commits into
bids-standard:masterfrom
bclenet:BEP028_schema

Conversation

@bclenet

@bclenet bclenet commented Apr 10, 2025

Copy link
Copy Markdown
Contributor

Work in progress schema modification for the BEP028 - BIDS-Prov.

Comment thread src/schema/rules/files/common/modality_agnostic.yaml Outdated
Comment on lines +8 to +17
suffixes:
- act
- base
- ent
- env
- soft
extensions:
- .json
entities:
prov: required

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

So this should be permitting:

/prov/prov-<label>_act.json
/prov/prov-<label>_base.json
/prov/prov-<label>_ent.json
/prov/prov-<label>_env.json
/prov/prov-<label>_soft.json

This is the intent?

@bclenet bclenet Jun 3, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We would like to allow:

/prov/[<subdirs>/]prov-<label>_act.json
/prov/[<subdirs>/]prov-<label>_ent.json
/prov/[<subdirs>/]prov-<label>_env.json
/prov/[<subdirs>/]prov-<label>_soft.json

(And I need to remove the base suffix)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Also, is it ok to introduce the new src/schema/rules/files/common/modality_agnostic.yaml file in the schema ?
Is there something to do for this to be taken into account ?

Comment thread src/schema/rules/directories.yaml Outdated
@bclenet

bclenet commented Jun 4, 2025

Copy link
Copy Markdown
Contributor Author

Hi @effigies, should I merge the contents of this PR into #2099 ? Or do you prefer to have two PRs, one for the spec and one for the schema ?

@effigies

effigies commented Jun 4, 2025

Copy link
Copy Markdown
Collaborator

I personally prefer to keep them together, since a good chunk of the spec is rendered from the schema.

@bclenet

bclenet commented Jun 10, 2025

Copy link
Copy Markdown
Contributor Author

Modification were added in #2099

@bclenet bclenet closed this Jun 10, 2025
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.

2 participants