Skip to content

Commit

Permalink
Increase radeg and decdeg precision to 6 decimal numbers. closes s…
Browse files Browse the repository at this point in the history
  • Loading branch information
simontorres committed Jun 10, 2021
1 parent 8a2d65f commit 49990ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goodman_pipeline/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,9 +760,9 @@ def classify_spectroscopic_data(path, search_pattern):
for i in pifc.index.tolist():
radeg, decdeg = ra_dec_to_deg(pifc.obsra.iloc[i], pifc.obsdec.iloc[i])

pifc.iloc[i, pifc.columns.get_loc('radeg')] = '{:.2f}'.format(radeg)
pifc.iloc[i, pifc.columns.get_loc('radeg')] = '{:.6f}'.format(radeg)

pifc.iloc[i, pifc.columns.get_loc('decdeg')] = '{:.2f}'.format(decdeg)
pifc.iloc[i, pifc.columns.get_loc('decdeg')] = '{:.6f}'.format(decdeg)
# now we can compare using degrees

confs = pifc.groupby(['slit',
Expand Down

0 comments on commit 49990ee

Please sign in to comment.