bop_toolkit icon indicating copy to clipboard operation
bop_toolkit copied to clipboard

Bug report of eval_calc_errors.py

Open Bear-kai opened this issue 2 years ago • 0 comments

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).

Bear-kai avatar Dec 13 '23 08:12 Bear-kai