Skip to content

Commit

Permalink
Update latest version and sample_data
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmartradio committed Nov 22, 2023
1 parent d817155 commit ec8b6c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions python/lsst/alert/packet/schema/6/0/sample_data/alert.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,15 @@
"parallax": 2.124124,
"pmRaErr": 0.00013,
"pmDecErr": 0.00013,
"pmParallaxNdata": 0,
"parallaxErr": 0.00013,
"pmRa_pmDec_Cov": 0.00013,
"pmRa_parallax_Cov": 0.00013,
"pmDec_parallax_Cov": 0.00013,
"pmParallaxLnL": 0.00013,
"pmParallaxChi2": 0.00013,
"pmParallaxNdata": 1214,
"nDiaSources": 0,
"flags": 0
},
"ssObject": {
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/alert/packet/schema/latest.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0
6.0
2 changes: 1 addition & 1 deletion python/lsst/alert/packet/updateSchema.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def populate_fields(apdb):
"""
field_dictionary_array = []
for column in apdb['columns']:
# The diaObject apdb has a lot of extra fields that are not in the schema and they need to be ignored.
# We are still finalizing the time series feature names.
if (column['name'] != 'validityStart') and (
column['name'] != 'validityEnd') and not ("Periodic" in column[
'name']) and not "max" in column['name'] and not "min" in column[

Check failure on line 71 in python/lsst/alert/packet/updateSchema.py

View workflow job for this annotation

GitHub Actions / call-workflow / lint

E713

test for membership should be 'not in'
Expand Down

0 comments on commit ec8b6c6

Please sign in to comment.