diff --git a/MASH-FRET/.release_version.json b/MASH-FRET/.release_version.json index 6877875c..53d0dcfc 100644 --- a/MASH-FRET/.release_version.json +++ b/MASH-FRET/.release_version.json @@ -1,4 +1,4 @@ { "tag" : ".1.3.4", -"prev_commit_hash" : "2a9ca2a7" +"prev_commit_hash" : "240b0d99" } diff --git a/MASH-FRET/source/mod-trace-processing/_callbacks/pushbutton_TP_pbSplit_Callback.m b/MASH-FRET/source/mod-trace-processing/_callbacks/pushbutton_TP_pbSplit_Callback.m index f5867be9..ae1619c1 100644 --- a/MASH-FRET/source/mod-trace-processing/_callbacks/pushbutton_TP_pbSplit_Callback.m +++ b/MASH-FRET/source/mod-trace-processing/_callbacks/pushbutton_TP_pbSplit_Callback.m @@ -69,6 +69,9 @@ function pushbutton_TP_pbSplit_Callback(obj,evd,h_fig) if ~isempty(p.proj{proj}.S_DTA) p.proj{proj}.S_DTA = p.proj{proj}.S_DTA(:,s_id); end +if ~isempty(p.proj{proj}.FRET_DTA_import) + p.proj{proj}.FRET_DTA_import = p.proj{proj}.FRET_DTA_import(:,fret_id); +end p.proj{proj}.bool_intensities = p.proj{proj}.bool_intensities(:,mol_id); p.proj{proj}.dt = {}; p.proj{proj}.molTag = p.proj{proj}.molTag(mol_id,:); @@ -132,6 +135,9 @@ function pushbutton_TP_pbSplit_Callback(obj,evd,h_fig) if ~isempty(p.proj{proj}.S_DTA) p.proj{proj}.S_DTA(:,[s_id_n,s_id_dup],:) = NaN; end +if ~isempty(p.proj{proj}.FRET_DTA_import) + p.proj{proj}.FRET_DTA_import(:,[fret_id_n,fret_id_dup],:) = NaN; +end % set right side of the original trace to NaN p.proj{proj}.intensities(frames_right,chan_id_n,:) = NaN;