Skip to content

Commit

Permalink
fix list append
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed Feb 16, 2024
1 parent 056d343 commit 30bc8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_taxon_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def setUp(self):

# tar one db, but not the other
tar_db_tgz = util.file.mkstempfname('-humanChr9Subset.blastn.db.tar.gz')
cmd = ['tar', '-C', self.tempDir, '-cvzf', tar_db_tgz] + map(os.path.basename, glob.glob(os.path.join(self.tempDir, "humanChr9Subset.n*")))
cmd = ['tar', '-C', self.tempDir, '-cvzf', tar_db_tgz] + list(os.path.basename(f) for f in glob.glob(os.path.join(self.tempDir, "humanChr9Subset.n*")))
subprocess.check_call(cmd)
self.blastdbs_multi[1] = tar_db_tgz
for idx in glob.glob(os.path.join(self.tempDir, "humanChr9Subset.n*")):
Expand Down

0 comments on commit 30bc8bd

Please sign in to comment.