Skip to content

Commit

Permalink
feat: get ar_hdf5 running again
Browse files Browse the repository at this point in the history
Minor variable search-replace seems to have been missing. Fixing here.
  • Loading branch information
nsulmol committed Aug 8, 2024
1 parent b0e7526 commit 89e4110
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions SciFiReaders/readers/microscopy/spm/afm/AR_hdf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ def read(self, verbose=False):
----------
verbose : Boolean (Optional)
Whether or not to show print statements for debugging
debug : Boolean (Optional)
Whether or not to print log statements
Returns
-------
sidpy.Dataset : List of sidpy.Dataset objects.
Expand Down Expand Up @@ -310,7 +308,7 @@ def get_def_unit(self, chan_name):
# This should be the laser virtual deflection
default_unit = 'm'
else:
if self.debug:
if self.verbose:
print('Unknown unit for channel: {}'.format(chan_name))
print('Unit set to "unknown"')
default_unit = 'unknown'
Expand Down

0 comments on commit 89e4110

Please sign in to comment.