From f442f8319b7cebafe753b5d5e8db63a6061a15ba Mon Sep 17 00:00:00 2001 From: Gerd Duscher <50049264+gduscher@users.noreply.github.com> Date: Fri, 20 Sep 2024 17:45:59 -0400 Subject: [PATCH 1/2] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cc37127..97f10e6 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ 'ipython>=7.1.0', 'pyUSID', 'gdown', - 'mrcfile' + 'mrcfile', # generic: # Reader specific ones go to extras ] From 3804f2480a3ddc9168ef39291b82364a0a5f4ede Mon Sep 17 00:00:00 2001 From: Gerd Duscher <50049264+gduscher@users.noreply.github.com> Date: Fri, 20 Sep 2024 17:52:37 -0400 Subject: [PATCH 2/2] Update AR_hdf5.py --- SciFiReaders/readers/microscopy/spm/afm/AR_hdf5.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SciFiReaders/readers/microscopy/spm/afm/AR_hdf5.py b/SciFiReaders/readers/microscopy/spm/afm/AR_hdf5.py index 2dabd41..b2f95f0 100644 --- a/SciFiReaders/readers/microscopy/spm/afm/AR_hdf5.py +++ b/SciFiReaders/readers/microscopy/spm/afm/AR_hdf5.py @@ -237,7 +237,7 @@ 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 ---------------- @@ -245,7 +245,7 @@ def note_value(self, name): 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: