UnboundLocalError: local variable 'qmax' referenced before assignment

Hi,

Does anyone know how to solve this problem?

kennyyeo@Kennys-Mac-mini biobakery_workflows_databases % biobakery_workflows 16s --method usearch --usearch-db /Users/kennyyeo/biobakery_workflows_databases/green_genes_fasta_db/97_otus.fasta,/Users/kennyyeo/biobakery_workflows_databases/green_genes_taxonomy_db/97_otu_taxonomy.txt --input-extension fastq.gz --input /Volumes/Expansion/hnsc_microbiome_online/16S_analysis/PRJNA352375/fastq_16s --fwd-primer AGAGTTTGATYMTGGCTCAG --rev-primer GWATTACCGCGGCKGCTG --output /Volumes/Expansion/hnsc_microbiome_online/16S_analysis/PRJNA352375/output --threads 6
Traceback (most recent call last):
File “/Users/kennyyeo/miniconda3/envs/picrust1/bin/16s.py”, line 165, in
workflow, args.method, all_samples_fastq, args.output, args.threads, args.maxee, args.trunc_len_max, args.fastq_ascii)
File “/Users/kennyyeo/miniconda3/envs/picrust1/lib/python2.7/site-packages/biobakery_workflows/tasks/sixteen_s.py”, line 58, in quality_control
qc_report = quality_report(workflow, method, fastq_file, output_folder, threads, qmax)
UnboundLocalError: local variable ‘qmax’ referenced before assignment

Hello, If you would update to the latest version of the workflows it should resolve the qmax reference issue.

Thank you,
Lauren