Skip to content

Optimization of the import #755

@MichaelStritt

Description

@MichaelStritt

Description

@HenkMutsaerts found some things that could be improved in the import.

  1. Fixes #732 Multi-Session support #753 (comment)
  2. Fixes #732 Multi-Session support #753 (comment)
  3. Fixes #732 Multi-Session support #753 (comment)

Details:

  1. xASL_imp_NII2BIDS_Session.m: sessionLabel = ['ses-' listSessions{iSession}(5:end)]; does that still make sense? where does the character 5 till the end come from?
  2. xASL_imp_NII2BIDS_Session.m: outSessionPath = fullfile(imPar.BidsRoot,['sub-' subjectLabel],sessionLabel);, we should check for both subject and session if the prefix already exists
  3. xASL_imp_NII2BIDS_Session.m: sessionLabel = '';, we could just create a subfolder for single sessions as well, this would make our lives easier, but would also require an update of the flavor database!

Requirements

Optional: add feature requirements here

How to test

Optional: insert description about how to test the code changes here

Release notes

Required: summarize the changes for the release notes here

Metadata

Metadata

Labels

bidsMoving ExploreASL to BIDS compatibilityimportRelated to data import module

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions