Skip to content

Commit

Permalink
fix: force tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
boasvdp committed Jul 25, 2024
1 parent 7d8fbe4 commit 46c3608
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions juno_library/juno_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,10 +392,10 @@ def __parse_input_type(self) -> None:
"""
conversion_dict = {
"fastq": ("fastq"),
"fasta": ("fasta"),
"vcf": ("vcf"),
"bam": ("bam"),
"fastq": ("fastq",),
"fasta": ("fasta",),
"vcf": ("vcf",),
"bam": ("bam",),
"both": ("fastq", "fasta"),
"fastq_and_fasta": ("fastq", "fasta"),
"fastq_and_vcf": ("fastq", "vcf"),
Expand Down
2 changes: 1 addition & 1 deletion tests/library_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ def test_recognize_juno_variant_typing_output(self) -> None:
)

pipeline = Pipeline(
**default_args, argv=["-i", str(input_dir)], input_type=("fasta")
**default_args, argv=["-i", str(input_dir)], input_type=("fasta",)
)
pipeline.setup()
self.assertTrue(pipeline.input_dir_is_juno_variant_typing_output)
Expand Down

0 comments on commit 46c3608

Please sign in to comment.