DaehwanKimLab / hisat-genotype

GNU General Public License v3.0
23 stars 15 forks source link

AttributeError: 'Namespace' object has no attribute 'graph_genome' #4

Closed hsiaoyi0504 closed 4 years ago

hsiaoyi0504 commented 4 years ago

When I tried to run hisatgenotype_extract_reads.py in the latest release (1.1.3), I get the following error message:

File "/pkg/biology/HISAT-genotype/HISAT-genotype_v1.1.3/hisatgenotype_tools/hisatgenotype_extract_reads.py", line 49, in <module>
    if not args.graph_genome:
AttributeError: 'Namespace' object has no attribute 'graph_genome'

It seems to me that it is because graph_genome wasn't defined.

https://github.com/DaehwanKimLab/hisat-genotype/blob/7e72edc25ea6343e0139696c637973e889b68564/hisatgenotype_tools/hisatgenotype_extract_reads.py#L49

chbe-helix commented 4 years ago

Bug was resolved.

hsiaoyi0504 commented 4 years ago

Fixed in https://github.com/DaehwanKimLab/hisat-genotype/commit/b64186a3a8f92e60f1a7a268190383986b67ad4d.