Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError in phoenix_precision with only 3 args. #132

Closed
jason-neal opened this issue Feb 21, 2019 · 1 comment
Closed

TypeError in phoenix_precision with only 3 args. #132

jason-neal opened this issue Feb 21, 2019 · 1 comment

Comments

@jason-neal
Copy link
Owner

Describe the bug
TypeError in phoenix_precision with only 3 args.

To Reproduce
Steps to reproduce the behavior:

 phoenix_precision.py -m 2800 -l 4.5 -m 0.0
Traceback (most recent call last):
  File "/home/jneal/anaconda3/envs/eniric/bin/phoenix_precision.py", line 7, in                     <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/home/jneal/Phd/Codes/eniric/scripts/phoenix_precision.py", line 455, in                     <module>
    models_list = itertools.product(args.temp, args.logg, args.metal, args.alpha                    )
TypeError: 'NoneType' object is not iterable

@jason-neal
Copy link
Owner Author

This command was broken in that it has -m flag twice and no -t flag. The type error has been resolved using default temperature of 3900 K.

The last -m overwrote the first incorrect one.

jason-neal added a commit that referenced this issue Mar 6, 2019
jason-neal added a commit that referenced this issue Apr 7, 2019
Tweak help messages.
Fixes #132.


Former-commit-id: 8f5aa33aab386d95471d3941f721d4cbca5275db [formerly b3a62b20c6bff3ae1fd01e3c5cd2c0c9fa4c78d4]
Former-commit-id: de031d2c24e053295290c92f75899c53879edf84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant