Skip to content

Commit

Permalink
Set seed in test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-wilkins committed Jul 21, 2024
1 parent 8550179 commit 480b95c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/sascalculator/utest_sas_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ def test_debye_impl(self):
import glob
pdb_files = glob.glob(os.path.join(os.path.dirname(__file__), 'data/debye_test_files', '*.pdb'))

np.random.seed(1984)

for pdb_file in pdb_files:
# load pdb file
f = self.pdbloader.read(pdb_file)
Expand Down

0 comments on commit 480b95c

Please sign in to comment.