Skip to content

Commit

Permalink
added check for "/" character in marker names
Browse files Browse the repository at this point in the history
  • Loading branch information
nchuynh committed Aug 26, 2022
1 parent 637924b commit 5d5296e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion minerva_analysis/client/src/js/views/channelList.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class ChannelList {
};
// Draws rows in the channel list
_.each(this.columns, column => {
let channelID = column.replace(/[ ,.]/g, '');
let channelID = column.replace(/[ ,.]/g, '').replace(/\//g, '');
this.channelIDs[column] = channelID;
// div for each row in channel list
let listItemParentDiv = document.createElement("div");
Expand Down
2 changes: 1 addition & 1 deletion minerva_analysis/client/src/js/views/csvGatingList.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class CSVGatingList {
// Draws rows in the gating list
this.columns.push('Area'); // Add 'Area' to Gating List
_.each(this.columns, column => {
let channelID = column.replace(/[ ,.]/g, '');
let channelID = column.replace(/[ ,.]/g, '').replace(/\//g, '');
this.gatingIDs[column] = channelID;
// div for each row in gating list
let listItemParentDiv = document.createElement("div");
Expand Down

0 comments on commit 5d5296e

Please sign in to comment.