Skip to content

Commit

Permalink
Merge pull request #135 from nsulmol/fix_ar_hdf5
Browse files Browse the repository at this point in the history
feat: get ar_hdf5 running again
  • Loading branch information
ramav87 committed Aug 30, 2024
2 parents a00cbdc + 89e4110 commit 4297a4d
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 4297a4d

Please sign in to comment.