Skip to content

Commit

Permalink
Merge pull request #194 from johanneskoester/patch-1
Browse files Browse the repository at this point in the history
fix: remove seemingly superfluous import of pysam
  • Loading branch information
mdshw5 authored Jul 22, 2022
2 parents 297bda0 + d864721 commit bf48bb4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ If you use pyfaidx in your publication, please cite:
Installation
------------

This package is tested under Linux and macOS using Python 3.6+, and and is available from the PyPI:
This package is tested under Linux and macOS using Python 3.7+, and and is available from the PyPI:

::

Expand Down
4 changes: 0 additions & 4 deletions pyfaidx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1175,10 +1175,6 @@ def __init__(self,
call_filter=None,
**kwargs):
super(FastaVariant, self).__init__(filename, **kwargs)
try:
import pysam
except ImportError:
raise ImportError("pysam must be installed for FastaVariant.")
try:
import vcf
except ImportError:
Expand Down

0 comments on commit bf48bb4

Please sign in to comment.