Skip to content

Commit

Permalink
our data might have null filters
Browse files Browse the repository at this point in the history
  • Loading branch information
akoumjian committed Nov 21, 2023
1 parent 249a81c commit a89fb86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions thor/observations/observations.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ class InputObservations(qv.Table):
ra_dec_cov = qv.Float64Column(nullable=True)
mag = qv.Float64Column()
mag_sigma = qv.Float64Column(nullable=True)
filter = qv.StringColumn()
filter = qv.StringColumn(nullable=True)
observatory_code = qv.StringColumn()


class Observations(qv.Table):
id = qv.StringColumn()
exposure_id = qv.StringColumn()
coordinates = SphericalCoordinates.as_column()
photometry = Photometry.as_column()
photometry = Photometry.as_column(nullable=True)
state_id = qv.Int64Column()

@classmethod
Expand Down
3 changes: 1 addition & 2 deletions thor/observations/photometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Photometry(qv.Table):

mag = qv.Float64Column()
mag_sigma = qv.Float64Column(nullable=True)
filter = qv.StringColumn()
filter = qv.StringColumn(nullable=True)

0 comments on commit a89fb86

Please sign in to comment.