Browse Source

#101: Shows the text "Created:" even if there is no creation date

master
jim 9 years ago
parent
commit
2e6611b027
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nd2reader/interface.py

+ 1
- 1
nd2reader/interface.py View File

@ -28,7 +28,7 @@ class Nd2(object):
def __repr__(self):
return "\n".join(["<ND2 %s>" % self._filename,
"Created: %s" % self.date if self.date is not None else "Unknown",
"Created: %s" % (self.date if self.date is not None else "Unknown"),
"Image size: %sx%s (HxW)" % (self.height, self.width),
"Frames: %s" % len(self.frames),
"Channels: %s" % ", ".join(["'%s'" % str(channel) for channel in self.channels]),


Loading…
Cancel
Save