File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -96,9 +96,6 @@ def remove_cols(cols):
9696# helper function to create plots
9797def helper_plots (filepath , event , name , inputParameters ):
9898
99- event = event .replace ("\\ " ,"_" )
100- event = event .replace ("/" ,"_" )
101-
10299 basename = os .path .basename (filepath )
103100 visualize_zscore_or_dff = inputParameters ['visualize_zscore_or_dff' ]
104101
@@ -616,9 +613,10 @@ def heatmap(self):
616613# function to combine all the output folders together and preprocess them to use them in helper_plots function
617614def createPlots (filepath , event , inputParameters ):
618615
619- event = event .replace ("\\ " ,"_" )
620- event = event .replace ("/" ,"_" )
621-
616+ for i in range (len (event )):
617+ event [i ] = event [i ].replace ("\\ " ,"_" )
618+ event [i ] = event [i ].replace ("/" ,"_" )
619+
622620 average = inputParameters ['visualizeAverageResults' ]
623621 visualize_zscore_or_dff = inputParameters ['visualize_zscore_or_dff' ]
624622
You can’t perform that action at this time.
0 commit comments