Skip to content

Commit 85fc716

Browse files
author
Lee Kamentsky
committed
issue #13 - bad reference to logger
1 parent f9e9a95 commit 85fc716

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bioformats/formatreader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ def read(self, c = None, z = 0, t = 0, series = None, index = None,
775775
try:
776776
scale = jutil.call(max_sample_value, 'intValue', '()I')
777777
except:
778-
bioformats.logger.warning("WARNING: failed to get MaxSampleValue for image. Intensities may be improperly scaled.")
778+
logger.warning("WARNING: failed to get MaxSampleValue for image. Intensities may be improperly scaled.")
779779
if index is not None:
780780
image = np.frombuffer(self.rdr.openBytes(index), dtype)
781781
if len(image) / height / width in (3,4):

0 commit comments

Comments
 (0)