Skip to content

xASL_wrp_BIDS2Legacy: Fix subject parsing for M0 #1138

@HenkMutsaerts

Description

@HenkMutsaerts

Description

xASL_wrp_BIDS2Legacy didn't correctly parse `"M0Type":"Included". Debugging showed me that the subject searching had an incorrect regular expression that always required the subject string to have symbols before and after the identified subject name. Instead, this should not require anything before or after the subject name, but allow the "sub-" prefix and visit suffices.

Tasks

  • xASL_wrp_BIDS2Legacy: Fix subject parsing for M0
  • Question to Jan Petr: xASL_wrp_BIDS2Legacy first loops over all subjects/visits/sessions for all modalities (sections 2-4) but then does this separately for M0 (section 5). Shouldn't M0 be included in sections 2-4 or was this done on purpose?

Release notes

Fix subject directory name parsing for M0.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions