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 report of eval_calc_errors.py #111

Open
Bear-kai opened this issue Dec 13, 2023 · 0 comments
Open

Bug report of eval_calc_errors.py #111

Bear-kai opened this issue Dec 13, 2023 · 0 comments

Comments

@Bear-kai
Copy link

Bear-kai commented Dec 13, 2023

In the script, bool(args.vsd_normalized_by_diameter) can be replaced by eval(str(args.vsd_normalized_by_diameter)), since bool('True') and bool('False') are both True. The 'str()' operation here handles the case where args.vsd_normalized_by_diameter==True and eval(True) will break off the program. The same to bool(args.skip_missing).

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