Skip to content

Commit

Permalink
use NULL rather than nan in alert inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
ebellm authored and parejkoj committed May 6, 2024
1 parent 3424514 commit 4b30f77
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/test_packageAlerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ def mock_alert(alert_id):
"snr": np.float32(6.7),
"psfFlux": np.float32(700.0),
"psfFluxErr": np.float32(90.0),
"flags": 12345,
}
}

Expand Down Expand Up @@ -197,10 +196,6 @@ def setUp(self):
diaSourceHistory,
diaForcedSources,
self.exposure.visitInfo.date.toAstropy())
self.diaObjects.replace(to_replace=[None], value=np.nan, inplace=True)
diaSourceHistory.replace(to_replace=[None], value=np.nan, inplace=True)
self.diaForcedSources.replace(to_replace=[None], value=np.nan,
inplace=True)
diaSourceHistory["programId"] = 0

self.diaSources = diaSourceHistory.loc[[(1, "g", 9), (2, "g", 10)], :]
Expand Down

0 comments on commit 4b30f77

Please sign in to comment.