Skip to content

Commit c926f11

Browse files
committed
Remove unneeded version check
1 parent fbeff01 commit c926f11

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pythomics/parsers/fasta.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,8 @@ def _build_index(self):
204204

205205
def build_fasta_index(self):
206206
try:
207-
subprocess.check_output(["samtools", "-v"])
207+
subprocess.check_output(["samtools", "faidx", self.filename])
208208
except OSError:
209209
self.fasta_index = self._build_index()
210210
else:
211-
subprocess.check_output(["samtools", "faidx", self.filename])
212211
self.fasta_index = "{}.fai".format(self.filename)

0 commit comments

Comments
 (0)