Skip to content

Commit

Permalink
fix bug causing unit test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
sblunt committed Jan 30, 2024
1 parent 0f19a50 commit 0e30855
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions orbitize/hipparcos.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ def __init__(
f2 = hip_cat["F2"][0]
if self.solution_type == 1:
self.var = hip_cat["var"][0] # [mas]
else:
self.var = 0

else:
# read the Hipparcos best-fit solution from the IAD file
Expand All @@ -242,6 +244,8 @@ def __init__(

if self.solution_type == 1:
self.var = astrometric_solution["var"].values[0]
else:
self.var = 0

f2 = solution_details["F2"].values[0]

Expand Down

0 comments on commit 0e30855

Please sign in to comment.