Skip to content

Commit

Permalink
Code improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
lemieuxl committed May 19, 2023
1 parent 67789a1 commit 1292559
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyplink/pyplink.py
Expand Up @@ -32,7 +32,7 @@
from io import UnsupportedOperation

try:
from itertools import zip_longest as zip_longest
from itertools import zip_longest
except ImportError:
from itertools import izip_longest as zip_longest

Expand Down Expand Up @@ -243,7 +243,7 @@ def _read_bim(self):
bim = bim.set_index("snp", verify_integrity=True)
self._has_duplicated = False

except ValueError as e:
except ValueError:
# Setting this flag to true
self._has_duplicated = True

Expand Down
1 change: 1 addition & 0 deletions pyplink/tests/__init__.py
@@ -1,3 +1,4 @@
"""Test module."""
# This file is part of pyplink.
#
# The MIT License (MIT)
Expand Down
1 change: 1 addition & 0 deletions pyplink/tests/__main__.py
@@ -1,3 +1,4 @@
"""Main script for tests."""
# This file is part of pyplink.
#
# The MIT License (MIT)
Expand Down
1 change: 1 addition & 0 deletions pyplink/tests/test_pyplink.py
@@ -1,3 +1,4 @@
"""PyPlink test suite."""
# This file is part of pyplink.
#
# The MIT License (MIT)
Expand Down

0 comments on commit 1292559

Please sign in to comment.