You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running atria v3.2.2 with switch --stats, I encounter the following error:
"nested task error: UndefVarError: is_concensused not defined"
When I remove --stats from my call to atria v3.2.2, the program runs fine. When I call atria v3.2.1 with --stats, the program runs fine.
I noticed a variable is_concensused used in wrapper.jl#L385 and a variable is_consensused in consensus.jl. Note the minor difference in spelling between the two variables: conc in is_concensused and consis_consensused. I wonder if this is related to the error?
A minimal example to reproduce the error:
#!/bin/bash
threads=8
fq_1="SRR7939018_1.fastq.gz"
fq_2="SRR7939018_2.fastq.gz"
d_trim="."# Obtain relatively small fastqs for testing
curl "ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR793/008/SRR7939018/${fq_1}">"${fq_1}"
curl "ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR793/008/SRR7939018/${fq_2}">"${fq_2}"# Run v3.2.2 with --stats: Encounter erroralias atria="\${HOME}/path/to/Atria/app-3.2.2/bin/atria"# Change path as appropriate
atria \
-t "${threads}" \
-r "${fq_1}" \
-R "${fq_2}" \
-o "${d_trim}" \
--no-length-filtration \
--stats
# Run v3.2.2 without --stats: Runs fine
atria \
-t "${threads}" \
-r "${fq_1}" \
-R "${fq_2}" \
-o "${d_trim}" \
--no-length-filtration
# Run v3.2.1 with --stats: Runs finealias atria="\${HOME}/path/to/Atria/app-3.2.1/bin/atria"# Change path as appropriate
atria \
-t "${threads}" \
-r "${fq_1}" \
-R "${fq_2}" \
-o "${d_trim}" \
--no-length-filtration \
--stats
# Run v3.2.1 without --stats: Runs fine
atria \
-t "${threads}" \
-r "${fq_1}" \
-R "${fq_2}" \
-o "${d_trim}" \
--no-length-filtration
The text was updated successfully, but these errors were encountered:
Thank you @kalavattam for reporting this! After investigating, I found the cause of the undef error: is_concensused is defined after a @goto statement. I fixed it in v3.2.2-1.
Hi, just want to report what seems to be a bug.
When running atria v3.2.2 with switch
--stats
, I encounter the following error:"nested task error: UndefVarError: is_concensused not defined"
When I remove
--stats
from my call to atria v3.2.2, the program runs fine. When I call atria v3.2.1 with--stats
, the program runs fine.I noticed a variable
is_concensused
used in wrapper.jl#L385 and a variableis_consensused
in consensus.jl. Note the minor difference in spelling between the two variables: conc inis_concensused
and consis_consensused
. I wonder if this is related to the error?A minimal example to reproduce the error:
The text was updated successfully, but these errors were encountered: