Skip to content

Commit

Permalink
[#929] Better msg + added ph2 and ilamb to data to be extracted from …
Browse files Browse the repository at this point in the history
…dvos for spectro
  • Loading branch information
dvezinet committed May 28, 2024
1 parent db42762 commit e1e268f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tofu/data/_class8_vos.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ def compute_vos(
# verb

if verb is True:
msg = f"\nComputing vos for diag '{key_diag}':"
msg = (
"\n\n---------------------------------------\n"
f"\nComputing vos for diag '{key_diag}':\n"
)
print(msg)

# -----------
Expand Down Expand Up @@ -699,8 +702,8 @@ def _store(
if spectro is True:
lk = [
'lamb',
'ph', 'cos', 'ncounts',
'phi_min', 'phi_max',
'ph', 'ph2', 'cos', 'ncounts',
'phi_min', 'phi_max', 'ilambr',
# optional
'phi_mean',
'dV', 'etendlen',
Expand Down Expand Up @@ -861,7 +864,7 @@ def _check_get_dvos(
lk = [
'lamb',
'phi_min', 'phi_max', 'phi_mean',
'ph', 'ncounts', 'cos',
'ph', 'ph2', 'ilambr', 'ncounts', 'cos',
'dV', 'etendlen',
]
lk_opt = []
Expand Down

0 comments on commit e1e268f

Please sign in to comment.