Skip to content

Commit

Permalink
split imported FRET state sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
mca-sh committed Oct 21, 2024
1 parent 240b0d9 commit d2b64e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MASH-FRET/.release_version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"tag" : ".1.3.4",
"prev_commit_hash" : "2a9ca2a7"
"prev_commit_hash" : "240b0d99"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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,:);
Expand Down Expand Up @@ -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;
Expand Down

1 comment on commit d2b64e1

@mca-sh
Copy link
Collaborator Author

@mca-sh mca-sh commented on d2b64e1 Oct 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intends to fix #141

Please sign in to comment.