Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed May 28, 2020
1 parent f1d055b commit d5d35fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
0.10.6
- maintenance release
0.10.5
- setup: bump qpimage from 0.6.1 to 0.6.2
- setup: change dependency of scikit-image to tifffile 2020.5.25
Expand Down
2 changes: 1 addition & 1 deletion examples/convert_txt2h5.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def load_file(path):
path = pathlib.Path(path)
data = path.open().readlines()
# remove comments and empty lines
data = [l for l in data if len(l.strip()) and not l.startswith("#")]
data = [ll for ll in data if len(ll.strip()) and not ll.startswith("#")]
# determine data shape
n = len(data)
m = len(data[0].strip().split())
Expand Down
2 changes: 1 addition & 1 deletion examples/convert_txt2npy.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def load_file(path):
path = pathlib.Path(path)
data = path.open().readlines()
# remove comments and empty lines
data = [l for l in data if len(l.strip()) and not l.startswith("#")]
data = [ll for ll in data if len(ll.strip()) and not ll.startswith("#")]
# determine data shape
n = len(data)
m = len(data[0].strip().split())
Expand Down

0 comments on commit d5d35fd

Please sign in to comment.