Skip to content

Hadamard or TimeEncoded field check required #850

@MichaelStritt

Description

@MichaelStritt

Description

While processing ADNI case 003_S_6264 using develop, I got this error:

====================================================================================
Running xASL_module_ASL ...   
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
=== Subject: sub-003S6264_1, Session: ASL_1, Module: xASL_module_ASL_<SESSION>,  24-Sep-2021 10:53:25 ===

Cleaning data to rerun subject sub-003S6264_1
nRemoving lock folders:100%
Restoring backupped _ORI (original) files:   
Deleting native space CAT12 temporary folders:   
Deleting native space files for module 2:100%
Deleting all standard space files for module 2

Cleaning up x-struct:100%
Cleaning up QC_Collection json:100%
3D_GRASE sequence detected
No TopUp scans available, skipping...
Automatic alignment with center of mass: skipping, was too close
x.modules.asl.SpikeRemovalThreshold was not defined yet, default setting = 0.01 used
SPM motion estimation
ERROR: ASL module terminated for subject 1: sub-003S6264_1

ans =

    'Reference to non-existent field 'HadamardType'.
     
     Error in xASL_wrp_RealignASL (line 125)
     if nFrames>2 && bSubtraction && (numel(unique(x.Q.Initial_PLD))>1 
     || numel(unique(x.EchoTime))>1 || x.modules.asl.HadamardType~=0) %multiPLD or multiTE or Hadamard
     
     Error in xASL_module_ASL (line 306)
                 xASL_wrp_RealignASL(x);

I've been rerunning it using main, to check if the last release is fine. There the bug does not occur.

Requirements

Optional: add bug requirements here

How to test

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

Release notes

Improve resample and realign methods by adding parameter & field checks.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions