ZwickyTransientFacility / scope-ml

SCoPe: ZTF source classification project
https://zwickytransientfacility.github.io/scope-docs/
MIT License
9 stars 48 forks source link

Fix dtype bug in combine-preds field lists #577

Closed bfhealy closed 7 months ago

bfhealy commented 7 months ago

This PR fixes a bug that mixed int and str types in the fields lists of combine_preds.py. The saved list now contains integer fields numbers instead of strings, but the code converts back to "field_N" format when checking existing files saved in that format.