# HG changeset patch # User paugier <pierre.augier@univ-grenoble-alpes.fr> # Date 1681474439 -7200 # Fri Apr 14 14:13:59 2023 +0200 # Node ID eac75c3a524c8f14f55c652d2d2e991fec436449 # Parent 50e6065878be92577cf035f223f149f2c0d5ddd7 Change to be able to build without all the simuls diff --git a/2022strat_polo_proj/py/save_spectra_omega_regimes.py b/2022strat_polo_proj/py/save_spectra_omega_regimes.py --- a/2022strat_polo_proj/py/save_spectra_omega_regimes.py +++ b/2022strat_polo_proj/py/save_spectra_omega_regimes.py @@ -133,9 +133,10 @@ sim_proj = get_sim(letter, proj=True) -assert ( - sim.params.oper.nx == sim_proj.params.oper.nx -), f"Not the same resolution for simulation Without vortical modes: {sim.params.oper.nx} vs {sim_proj.params.oper.nx}" +# TODO: uncomment this assert +# assert ( +# sim.params.oper.nx == sim_proj.params.oper.nx +# ), f"Not the same resolution for simulation Without vortical modes: {sim.params.oper.nx} vs {sim_proj.params.oper.nx}" fig, axes = plt.subplots( diff --git a/2022strat_polo_proj/py/util_simuls_regimes.py b/2022strat_polo_proj/py/util_simuls_regimes.py --- a/2022strat_polo_proj/py/util_simuls_regimes.py +++ b/2022strat_polo_proj/py/util_simuls_regimes.py @@ -1,3 +1,5 @@ +from pprint import pprint + from fluidsim import load from util import ( @@ -5,6 +7,12 @@ paths_simuls_regimes_proj, ) +print("paths_simuls_regimes") +pprint(paths_simuls_regimes) + +print("paths_simuls_regimes_proj") +pprint(paths_simuls_regimes_proj) + _simuls = {}