Bug by-products with co-seismic without post-seismic
There is a bug when requesting by-products corrected from co-seismic but not from post-seismic:
`` IndexError Traceback (most recent call last) /data/cycle/loveryb/modules_python3/itsa/tsanalysis_itsa.py in 404 405 if pm.byp_make: --> 406 save_byp(ts, pm.byp_vel, pm.byp_seas, pm.byp_ant, pm.byp_co, 407 pm.byp_sw, pm.byp_sse, pm.byp_post, pm.byp_names, 408 pm.disp_byp, folder_pos, folder_fig, replace=True)
/data/cycle/loveryb/modules_python3/itsa/lib/save_Gts_byproduct.py in save_byp(ts, vel, seas, ant, co, sw, sse, post, names, disp, outdir_pos, outdir_fig, add_key, replace, warn) 363 if co[b] and not post[b]: 364 print("TOTO") --> 365 ts_byp.jps.type_ev[ts_res.jps.type_ev=='P'] = 'E' 366 # Display 367 if not np.isin('Acc', ts_byp.GMOD_names):
IndexError: boolean index did not match indexed array along dimension 0; dimension is 2 but corresponding boolean dimension is 5 ``