Skip to content

Commit

Permalink
Fix Bruker. Avoid to overright existing data by non supported data
Browse files Browse the repository at this point in the history
  • Loading branch information
scholi committed Jan 8, 2024
1 parent a5522fe commit da0f12a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pySPM/Bruker.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def __init__(self, path):
elif line == b'*Scanner list':
self.scanners.append({})
mode = 'Scanner'
elif line.startswith(b"*EC"):
mode = "EC"
else:
args = line.split(b": ")
if len(args) > 1:
Expand Down

0 comments on commit da0f12a

Please sign in to comment.