Skip to content

Commit

Permalink
Fix mislabled input keys in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lvreynoso committed Oct 26, 2023
1 parent 19da149 commit 1660bf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions workflows/amr/test/test_wdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TestAMR(WDLTestCase):
CARD = "s3://czid-public-references/test/AMRv2/card.json"

def testRgiMain(self):
inputs = {"contigs": relpath("contigs.fasta"), "card_json": self.CARD}
inputs = {"contigs_fa": relpath("contigs.fasta"), "card_json": self.CARD}
res = self.run_miniwdl(task="RunRgiMain", task_input=inputs)
with open(res["outputs"]["RunRgiMain.main_amr_results"]) as main_results:
lastline = main_results.read().splitlines()[-1]
Expand All @@ -23,14 +23,14 @@ def testRgiMain(self):
self.assertEqual(main[3], "260")

def testRgiEmptyMain(self):
inputs = {"contigs": relpath("contigs_failed.fasta"), "card_json": self.CARD}
inputs = {"contigs_fa": relpath("contigs_failed.fasta"), "card_json": self.CARD}
res = self.run_miniwdl(task="RunRgiMain", task_input=inputs)
with open(res["outputs"]["RunRgiMain.main_amr_results"]) as main_results:
self.assertEqual(len(main_results.read().splitlines()), 1)

def testRgiBwtKma(self):
inputs = {
"non_host_reads": [
"non_host_reads_fa": [
relpath("gsnap_filter_1.fa"),
relpath("gsnap_filter_2.fa"),
],
Expand Down

0 comments on commit 1660bf5

Please sign in to comment.