Browse Source
Merge pull request #1 from ggirelli/patch-1
f-strings not supported by Python3.6-
master
Ulugbek Abdullaev
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
nd2reader/reader.py
|
|
@ -17,7 +17,7 @@ class ND2Reader(FramesSequenceND): |
|
|
|
super(ND2Reader, self).__init__() |
|
|
|
|
|
|
|
if not filename.endswith(".nd2"): |
|
|
|
raise InvalidFileType(f"The file {filename} you want to read with nd2reader does not have extension .nd2.") |
|
|
|
raise InvalidFileType("The file %s you want to read with nd2reader does not have extension .nd2." % filename) |
|
|
|
|
|
|
|
self.filename = filename |
|
|
|
|
|
|
|