Skip to content

Commit

Permalink
random seed added for tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
sibirrer committed Sep 5, 2022
1 parent ef59ee2 commit 2f82df0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PUBLISHED.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Published work with lenstronomy

In this section you can find the concept papers **lenstronomy** is based on and a list of science publications that made
use of **lenstronomy** before 09/2022.
For a more complete and current list of publications using lenstronomy we refer to the `NASA/ADS query <https://ui.adsabs.harvard.edu/search/p_=0&q=citations(author%3A%22%5EBirrer%22%20title%3A%22lenstronomy%22)&sort=date%20desc%2C%20bibcode%20desc>`_,.
For a more complete and current list of publications using lenstronomy we refer to the `NASA/ADS query <https://ui.adsabs.harvard.edu/search/p_=0&q=citations(author%3A%22%5EBirrer%22%20title%3A%22lenstronomy%22)&sort=date%20desc%2C%20bibcode%20desc>`_
(this incudes all publications citing lenstronomy papers, which is not the same as publications making active use of the software).


Core lenstronomy methodology and software publications
Expand Down
1 change: 1 addition & 0 deletions test/test_Workflow/test_fitting_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ def test_multinest(self):
assert kwargs_out['kwargs_lens'] == 1

def test_dynesty(self):
np.random.seed(42)
kwargs_params = copy.deepcopy(self.kwargs_params)
kwargs_params['lens_model'][0][0]['theta_E'] += 0.01
fittingSequence = FittingSequence(self.kwargs_data_joint, self.kwargs_model, self.kwargs_constraints,
Expand Down

0 comments on commit 2f82df0

Please sign in to comment.