Skip to content

Commit 576ab10

Browse files
committed
If the first calibration file search fails, do not search for the second file
1 parent 615f6d8 commit 576ab10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/UI/NeuropixelsV1Interface.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -939,6 +939,8 @@ void NeuropixelsV1Interface::searchForCalibrationFiles(std::string folder, uint6
939939

940940
if (file != "")
941941
gainCalibrationFile->setText(file);
942+
else
943+
return;
942944

943945
file = searchDirectoryForAdcCalibrationFile(folder, sn);
944946

0 commit comments

Comments
 (0)