Skip to content

Commit

Permalink
add numpy random seed to prevent failures in test_OFTI
Browse files Browse the repository at this point in the history
  • Loading branch information
sblunt committed Apr 10, 2024
1 parent ba901c2 commit 1c9868b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_OFTI.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
import orbitize.system
from orbitize.hipparcos import HipparcosLogProb

np.random.seed(0)

input_file = os.path.join(orbitize.DATADIR, "GJ504.csv")
input_file_1epoch = os.path.join(orbitize.DATADIR, "GJ504_1epoch.csv")
input_file_rvs = os.path.join(orbitize.DATADIR, "HD4747.csv")
Expand Down

0 comments on commit 1c9868b

Please sign in to comment.