Skip to content

Commit

Permalink
corner case
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitgeber authored and Zeitgeber committed Sep 8, 2024
1 parent fab727e commit a3fc363
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion patchview/patchview.py
Original file line number Diff line number Diff line change
Expand Up @@ -3891,7 +3891,13 @@ def extractSingleSeries(self, sel):
][
seriesIdx[3]
] ## get trace meta information
time, data[:, sweep] = self.extractSingleTrace(trace, seriesIdx)
# time, data[:, sweep] = self.extractSingleTrace(trace, seriesIdx)
time, data_ = self.extractSingleTrace(trace, seriesIdx)
if len(data_)==data.shape[0]:
data[:, sweep] = data_
else:
print('Data size mismatch')
continue
(
stimTime,
stimData[:, sweep],
Expand Down
2 changes: 1 addition & 1 deletion patchview/utilitis/AllMyParsHere.py
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@
{"name": "Soma", "type": "color", "value": "r"},
],
},
{"name": "Morphology only", "type": "bool", "value": True},
{"name": "Morphology only", "type": "bool", "value": False},
{"name": "Show title", "type": "bool", "value": False},
{"name": "Use full range for density plot", "type": "bool", "value": True},
{"name": "Show color bar for density plot", "type": "bool", "value": True},
Expand Down

0 comments on commit a3fc363

Please sign in to comment.