Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
abudlong committed Jan 8, 2025
1 parent 0818512 commit f790fdd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -468,4 +468,4 @@
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
data['diaSource']['time_processed'] = pd.Timestamp(data_time)
data['diaObject']['validityStart'] = pd.Timestamp(data_time)

schema = packet.SchemaRegistry.from_filesystem(schema_root="lsst.v7_1.alert").get_by_version("7.1")
schema = packet.SchemaRegistry.from_filesystem(schema_root="lsst.v7_2.alert").get_by_version("7.2")
with open("fakeAlert.avro", "wb") as f:
schema.store_alerts(f, [data])

0 comments on commit f790fdd

Please sign in to comment.