Skip to content

Commit

Permalink
reformat for black
Browse files Browse the repository at this point in the history
  • Loading branch information
kadrlica committed Jan 31, 2024
1 parent f558295 commit 87adb66
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/lsst/drp/tasks/gbdesAstrometricFit.py
Original file line number Diff line number Diff line change
Expand Up @@ -897,9 +897,7 @@ def _load_refcat(
refCatMetadata = refObjectLoader.refCats[0].get().getMetadata()
refCatVersion = refCatMetadata["REFCAT_FORMAT_VERSION"]
if refCatVersion == 2:
raDecCov = (
(refCat["coord_ra_coord_dec_Cov"] * u.radian**2).to(u.degree**2).to_value().tolist()
)
raDecCov = (refCat["coord_ra_coord_dec_Cov"] * u.radian**2).to(u.degree**2).to_value().tolist()
else:
raDecCov = np.zeros(len(ra))

Expand Down

0 comments on commit 87adb66

Please sign in to comment.