Skip to content
Commit a3e3afb5 authored by Jay Dubb's avatar Jay Dubb
Browse files

v1.29.3, v1.29.2, v1.29.1

-- Fix not being able to load Snirf data because of missing OR invalid stim or AuxClass. Fix some error handling bugs when optional fields from acquisition layer are missing, we inconsistently reported to user that data wasn't loaded correctly but other times we'd load it as if there's no error. Distinguish between reporting error when fields are invalid vs reporting a warning when fields are missing. Errors raise negative errors and prevent file data from being accessed displaying message boix instead whereas missing optional fields produce positive errors and allow data to be access and generate only a log message on the cosole and log file.

-- Move acquisition layer error messages from RunClass to the acquisition layer (AcqDataClass, SnirfClass, NirsClass). The previous code would not work when loading faulty .nirs files. Create methods for the acquisition classes to access the correct error message matching the error.

-- Fix error when displaying data from .nirs files by removing incomplete code in MainGUI to handle non-Snirf data.

-- Simplify DataTreeClass.AutoSetDataStorageScheme to default to 'files' since in AtlasViewer it doesn't matter what the save scheme was that Homer3 used. Defaulting to 'files' means that whether the save scheme was 'memory' or 'files' AV is sure to find the output as opposed to a 'memory' setting if the output is not found in memory it'll give up looking. This change was propagated from AV.

-- Fix missing error checking in hmrR_BlockAvg_Nirs which didn't handle when stim data is not passed.

-- Bring back logging of matlab version at startup which somehow got lost in a previous commit.

-- Add DebugLevel class to be able to set various debug levels to - for instance - simulate bad data for testing. Add debuglevel fields to AuxClass and StimClass to be able to generate bad data at when saving a snirf file (when converting from other formats)

-- Add AppSettings configuration in unit tests UnitTestsAll_Nirs and UnitTestsAll_Snirf when running standalone .
parent 014edcaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment