From 889097c3b6c4ab08c91ec10cd16e3340f0ecfa0a Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Mon, 3 May 2021 16:16:55 +0200 Subject: [PATCH] code formatting --- merge.py | 5 ++++- utils/astronomical.py | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/merge.py b/merge.py index b75944f..497eb78 100644 --- a/merge.py +++ b/merge.py @@ -33,7 +33,10 @@ def get_mass_fractions(input_data: Input, perfect_merging: bool) -> Tuple[float, data.gamma = clamp(data.gamma, 1 / 10, 1) if perfect_merging: - water_retention = mantle_retention = core_retention = 1 + water_retention \ + = mantle_retention \ + = core_retention \ + = 1 else: if not interpolation: interpolation = Interpolation() diff --git a/utils/astronomical.py b/utils/astronomical.py index d3c275f..5eb7e05 100644 --- a/utils/astronomical.py +++ b/utils/astronomical.py @@ -1,7 +1,7 @@ from rebound import Particle -habitable_zone_inner=0.75 -habitable_zone_outer=1.5 +habitable_zone_inner = 0.75 +habitable_zone_outer = 1.5 def is_potentially_habitable(planet: Particle):