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

bug on file_args in update_mag_supplement #176

Closed
jeanconn opened this issue May 15, 2024 · 1 comment · Fixed by #177
Closed

bug on file_args in update_mag_supplement #176

jeanconn opened this issue May 15, 2024 · 1 comment · Fixed by #177
Labels

Comments

@jeanconn
Copy link
Contributor

WARNING - 'agasc-update-magnitudes --log-level debug --output-dir /proj/sot/ska3/flight/data/agasc/rc --report' returned non-zero status: 256
Traceback (most recent call last):
  File "/proj/sot/ska3/flight/bin/agasc-update-magnitudes", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/proj/sot/ska3/flight/lib/python3.11/site-packages/agasc/scripts/update_mag_supplement.py", line 249, in main
    args = get_args()
           ^^^^^^^^^^
  File "/proj/sot/ska3/flight/lib/python3.11/site-packages/agasc/scripts/update_mag_supplement.py", line 166, in get_args
    if "agasc_ids" in file_args:
                      ^^^^^^^^^
UnboundLocalError: cannot access local variable 'file_args' where it is not associated with a value
@jeanconn
Copy link
Contributor Author

I think this was a tiny bug introduced in #168 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant