StuntsPT / Structure_threader

A wrapper program to parallelize and automate runs of "Structure", "fastStructure" and "MavericK".
GNU General Public License v3.0
24 stars 11 forks source link

Running Structure_threader without arguments triggers a crash. We don't want this. #54

Closed StuntsPT closed 7 years ago

StuntsPT commented 7 years ago
$ structure_threader 
Traceback (most recent call last):
  File "/home/francisco/.local/bin/structure_threader", line 11, in <module>
    load_entry_point('structure-threader==0.4.1', 'console_scripts', 'structure_threader')()
  File "/home/francisco/.local/lib/python3.6/site-packages/structure_threader/structure_threader.py", line 502, in main
    arg = argument_parser(sys.argv[1:])
  File "/home/francisco/.local/lib/python3.6/site-packages/structure_threader/structure_threader.py", line 489, in argument_parser
    if arguments.format == "faststructure" and arguments.popfile is None\
AttributeError: 'Namespace' object has no attribute 'format'