Skip to content

Commit aabeafd

Browse files
committed
MAINT: only specify cosmology object in the global meta data
1 parent 0ac165b commit aabeafd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bilby/gw/cosmology.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def _set_default_cosmology():
1313
if DEFAULT_COSMOLOGY is None:
1414
DEFAULT_COSMOLOGY = cosmo.Planck15
1515
COSMOLOGY = [DEFAULT_COSMOLOGY, DEFAULT_COSMOLOGY.name]
16-
global_meta_data.add_to_meta_data("cosmology", COSMOLOGY)
16+
global_meta_data.add_to_meta_data("cosmology", COSMOLOGY[0])
1717

1818

1919
def get_available_cosmologies():

0 commit comments

Comments
 (0)