Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pySPM/Bruker.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ def get_channel(
)
except KeyError:
continue
except UnboundLocalError:
continue
else:
_type = "Bruker AFM"
try:
Expand All @@ -166,6 +168,8 @@ def get_channel(
)
except KeyError:
continue
except UnboundLocalError:
continue
result = re.match(r'([^ ]+) \[([^]]*)] "([^"]*)"', layer_name).groups()
if result[2] == channel:
if debug:
Expand Down
Loading