Skip to content

bids.layout Only print unique warnings #643

@HenkMutsaerts

Description

@HenkMutsaerts

Description

When you currently do the parsing of BIDS datasets with bids.layout, it will issue warnings for each subject/ASL scan. If each ASL scan has the same problem, then it will issue the same warning many times. This is likely to happen, since when working with populations, that often have the same or similar ASL scans, you add BIDS fields in batch.

Requirements

For each ASL warning to be issued, check if this warning was already given. Don't throw the warning again if the warning was already provided.

Also, provide user feedback by tracking progress.

Release notes

bids.layout: avoid printing the same warning repetitively, in case multiple scans in a data set have the same issue.

Metadata

Metadata

Assignees

Labels

bidsMoving ExploreASL to BIDS compatibilityfeatureNew feature, enhancement or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions