Skip to content

Commit

Permalink
remove print commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Mar 21, 2024
1 parent 86d0764 commit fe81039
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ogcore/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1123,10 +1123,8 @@ def shift_bio_clock(
final_effect_period - initial_effect_period + 1
) # number of periods transition over
transition_path = np.linspace(0, 1.0, t)
print("Transition path = ", transition_path)
transition_arr = np.zeros_like(param_in, dtype=float)
for i in range(t):
print("TRANS = ", transition_path[i] * np.ones_like(param_in[0, ...]))
transition_arr[initial_effect_period + i, ...] = transition_path[
i
] * np.ones_like(param_in[0, ...])
Expand All @@ -1141,7 +1139,6 @@ def shift_bio_clock(
pct_effect = total_effect / total_effect_ru
else:
pct_effect = 0
print("Pct effect = ", pct_effect)
# apply the transition path to the initial parameters
# find diff from shifting bio clock back total_effect years
param_shift[:, min_age_effect_felt:, ...] = param_in[
Expand Down

0 comments on commit fe81039

Please sign in to comment.