Skip to content

Commit

Permalink
Upgrade to quivr v0.5.0 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
spenczar authored Jul 25, 2023
1 parent 2b38635 commit 8bde91e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions adam_core/coordinates/covariances.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pyarrow as pa
from astropy import units as u
from astropy.table import Table as AstropyTable
from quivr import ListColumn, Table
from quivr import FixedSizeListColumn, Table
from scipy.stats import multivariate_normal

from .jacobian import calc_jacobian
Expand Down Expand Up @@ -58,7 +58,7 @@ class CoordinateCovariances(Table):

# This is temporary while we await the implementation of
# https://github.com/apache/arrow/issues/35599
values = ListColumn(pa.float64(), list_size=36)
values = FixedSizeListColumn(pa.float64(), list_size=36)
# When fixed, we should revert to:
# values = Column(pa.fixed_shape_tensor(pa.float64(), (6, 6)))

Expand Down
2 changes: 1 addition & 1 deletion adam_core/coordinates/residuals.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

class Residuals(Table):

values = ListColumn(pa.float64(), list_size=-1, nullable=True)
values = ListColumn(pa.float64(), nullable=True)
chi2 = Float64Column(nullable=True)
dof = Int64Column(nullable=True)
probability = Float64Column(nullable=True)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ install_requires =
requests
scipy
spiceypy
quivr>=0.4.1
quivr>=0.5.0
mpc-obscodes
naif-de440
naif-leapseconds
Expand Down

0 comments on commit 8bde91e

Please sign in to comment.