HadrienG / InSilicoSeq

:rocket: A sequencing simulator
https://insilicoseq.readthedocs.io
MIT License
176 stars 32 forks source link

AttributeError: 'Namespace' object has no attribute 'quiet' #177

Closed sikuan closed 3 years ago

sikuan commented 4 years ago

I got a strange warning maybe from /usr/bin/iss without any argument for "quiet" and "debug".

$ iss
usage: iss [subcommand] [options]

InSilicoSeq: A sequencing simulator

optional arguments:
  -h, --help     show this help message and exit
  -v, --version  print software version and exit

available subcommands:

    model        generate an error model from a bam file
    generate     simulate reads from an error model
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/iss", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/iss/app.py", line 540, in main
    elif args.quiet:
AttributeError: 'Namespace' object has no attribute 'quiet'
HadrienG commented 3 years ago

Hi!

Thanks for reporting this. This is from an extra raise that I used for debugging and forgot to remove in the last release. It'll be fixed in 1.5.0

Best, /Hadrien