Skip to content

Commit

Permalink
fix bug full path gff
Browse files Browse the repository at this point in the history
  • Loading branch information
VinzentRisch committed Jul 17, 2024
1 parent 1148762 commit 6004e6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions q2_amr/amrfinderplus/sequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def annotate_sequences_amrfinderplus(
GenesDirectoryFormat,
ProteinsDirectoryFormat,
):
# Checks for unallowed input combinations
# Check for unallowed input combinations
if dna_sequences and gff and not protein_sequences:
raise ValueError(
"GFF input can only be given in combination with protein-sequence input."
Expand Down Expand Up @@ -68,7 +68,7 @@ def annotate_sequences_amrfinderplus(
)
if protein_sequences
else None,
gff=os.listdir(str(gff))[0] if gff else None,
gff=os.path.join(str(gff), os.listdir(str(gff))[0]) if gff else None,
organism=organism,
plus=plus,
report_all_equal=report_all_equal,
Expand Down

0 comments on commit 6004e6e

Please sign in to comment.