Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/vasole/pymca
Browse files Browse the repository at this point in the history
  • Loading branch information
vasole committed Oct 25, 2023
2 parents b2b4627 + b3ce0d0 commit 419f4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyMca5/PyMcaIO/specfilewrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def __init__(self, filename, amptek=None, qxas=None, dta=None):
f = open(filename, 'rb')
raw_content = f.read()
f.close()
expr = '([-+]?\d+)\t\r\n'
expr = r'([-+]?\d+)\t\r\n'
self.data = [float(i) for i in re.split(expr,raw_content) if i != '']
self.data = numpy.array(self.data, numpy.float32)
else:
Expand Down

0 comments on commit 419f4de

Please sign in to comment.