Skip to content

Commit 511955a

Browse files
committed
bugfix_uac_fibremapping
1 parent a14837d commit 511955a

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

CemrgApp/Modules/CemrgAppModule/src/CemrgCommandLine.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,14 @@ QString CemrgCommandLine::DockerUacFibreMappingMode(QString dir, QString atrium,
827827

828828
QString uaccmd = "fibremap";
829829

830+
// test for numerical fibre file
831+
bool ok;
832+
double test_numerical_fibre = fibre.toDouble(&ok);
833+
if (!ok) {
834+
MITK_INFO << ("Fibre file is not numerical, setting to lowercase: " + fibre).toStdString();
835+
fibre = fibre.toLower();
836+
}
837+
830838
arguments << uaccmd ;
831839
arguments << "--atrium" << atrium;
832840
arguments << "--layer" << layer;

CemrgApp/Plugins/kcl.cemrgapp.atrialfibres/src/internal/AtrialFibresView.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@ bool AtrialFibresView::GetUserUacOptionsInputs(bool enableFullUiOptions){
17361736
bool userInputAccepted=false;
17371737

17381738
if(uiUac_fibreFile.size() == 0){
1739-
uiUac_fibreFile << "1" << "2" << "3" << "4" << "5" << "6" << "7" << "A" << "L";
1739+
uiUac_fibreFile << "1" << "2" << "3" << "4" << "5" << "6" << "7" << "a" << "l";
17401740
uiUac_whichAtrium << "LA" << "RA";
17411741
uiUac_surftype << "Endo" << "Epi" << "Bilayer";
17421742
}

0 commit comments

Comments
 (0)