Skip to content

Commit a51b83d

Browse files
authored
Merge pull request #2 from mapmanager/channel2
support loading channel 2 data in map from _ch2 files
2 parents ab37cb0 + 5328533 commit a51b83d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pymapmanager/mmMap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def getValue(self, name, sessionNumber):
384384
def _getStackName(self, sessIdx):
385385
# get the name of the stack at session sessIdx, this is contained in the map header
386386
ret = self.getValue('hsStack', sessIdx)
387-
if ret.endswith('_ch1'):
387+
if ret.endswith('_ch1') or ret.endswith('_ch2'):
388388
ret = ret[:-4]
389389
return ret
390390

0 commit comments

Comments
 (0)