From 49a8f4cbb1e205c6be628195fd0a6e2db2c650d7 Mon Sep 17 00:00:00 2001 From: Meryem Ayse Yucel <49535526+mayucel@users.noreply.github.com> Date: Wed, 13 Dec 2023 02:34:40 -0500 Subject: [PATCH] quite moe and stimrejection Quite mode on Fix on stimrejection: more = [] was giving error when combined with the rest of stim data. --- DataTree/AcquiredData/Snirf/StimClass.m | 2 +- DataTree/AppSettings.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DataTree/AcquiredData/Snirf/StimClass.m b/DataTree/AcquiredData/Snirf/StimClass.m index 0af23906..5f206f49 100644 --- a/DataTree/AcquiredData/Snirf/StimClass.m +++ b/DataTree/AcquiredData/Snirf/StimClass.m @@ -459,7 +459,7 @@ function AddStims(obj, tPts, duration, amp, more) amp = ones(length(tPts),1); end if ~exist('more', 'var') - more = []; + more = 1; end if length(duration) < length(tPts) diff --git a/DataTree/AppSettings.cfg b/DataTree/AppSettings.cfg index f7c804fc..6c0cdd72 100644 --- a/DataTree/AppSettings.cfg +++ b/DataTree/AppSettings.cfg @@ -38,7 +38,7 @@ No No % Quiet Mode # On, Off -Off +On % Replace TSV File Tabs with Spaces # auto-replace, ask me, don't replace and don't ask me ask me