Skip to content

Commit

Permalink
Merge branch 'switch2dict' of https://github.com/pycroscopy/SciFiReaders
Browse files Browse the repository at this point in the history
 into switch2dict
  • Loading branch information
gduscher committed Sep 20, 2024
2 parents 2771844 + a0a3f6a commit 2b63957
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SciFiReaders/readers/microscopy/spm/afm/AR_hdf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,15 +237,15 @@ def note_value(self, name):
Parameters
----------------
name : String / unicode
Name of the parameter to get teh value
Name of the parameter to get the value
Returns
----------------
value : String / unicode
Value of the Note entry requested.
'''
try:
match = re.search(r"^" + name + ":\s+(.+$)", self.notes, re.M)
match = re.search(r"^" + name + r":\s+(.+$)", self.notes, re.M)
if not match:
raise Exception
except:
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
'numba>=0.59.0rc1; python_version >= "3.10"',
'ipython>=7.1.0',
'pyUSID',
'mrcfile'
'gdown',
'mrcfile',
# generic:
# Reader specific ones go to extras
]
Expand Down

0 comments on commit 2b63957

Please sign in to comment.