Skip to content

Commit 0283e08

Browse files
poojanagrawalkatiebreivik
authored andcommitted
added METISSE as submodule (COSMIC-PopSynth#629)
* added METISSE as submodule * try ssedict for one test
1 parent 79bf062 commit 0283e08

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "src/cosmic/src/METISSE"]
2+
path = src/cosmic/src/METISSE
3+
url = git@github.com:TeamMETISSE/METISSE.git

src/cosmic/src/METISSE

Submodule METISSE added at e6798b9

src/cosmic/tests/test_evolve.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
BSEDict['don_lim'] = -1
3737
BSEDict['acc_lim'] = -1
3838
BSEDict['wd_mass_lim'] = 0
39+
SSEDict = {'stellar_engine': 'sse'}
40+
3941

4042
class TestEvolve(unittest.TestCase):
4143
"""`TestCase` for the cosmic
@@ -44,7 +46,7 @@ def test_single_evolve_with_table(self):
4446

4547
# Check that the sample_primary function samples mass correctly
4648
EvolvedBinaryBPP, EvolvedBinaryBCM, initCond, kick_info = Evolve.evolve(
47-
initialbinarytable=INIT_CONDITIONS, randomseed=523574)
49+
initialbinarytable=INIT_CONDITIONS, randomseed=523574, SSEDict=SSEDict)
4850

4951
pd.testing.assert_frame_equal(EvolvedBinaryBPP, BPP_DF, check_dtype=False, check_exact=False)
5052
pd.testing.assert_frame_equal(EvolvedBinaryBCM, BCM_DF, check_dtype=False, check_exact=False)

0 commit comments

Comments
 (0)