Skip to content

Commit

Permalink
[#897] renamed ref-bs to ref_bs
Browse files Browse the repository at this point in the history
  • Loading branch information
dvezinet committed Feb 6, 2024
1 parent 3d60fe7 commit c95b38c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tofu/data/_class10_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def _compute_check(
# --------------
# inversion refs

# refbs = coll.dobj['bsplines'][keybs]['ref-bs']
# refbs = coll.dobj['bsplines'][keybs]['ref_bs']
if hastime:
refinv = (reft, keybs)
else:
Expand Down
4 changes: 2 additions & 2 deletions tofu/data/_class10_refs.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _get_ref_vector_common(
wbs = coll._which_bsplines
key_bs = coll.dobj['geom matrix'][key_matrix]['bsplines']
key_cam = coll.dobj['geom matrix'][key_matrix]['camera']
refbs = coll.dobj[wbs][key_bs]['ref-bs']
refbs = coll.dobj[wbs][key_bs]['ref_bs']
lgeom = coll.dobj['geom matrix'][key_matrix]['data']
for ii, k0 in enumerate(lgeom):
camdgeom = coll.dobj['camera'][key_cam[ii]]['dgeom']
Expand Down Expand Up @@ -140,7 +140,7 @@ def _get_ref_vector_common(
]))

key_bs = coll.get_profiles2d()[key_profile2d]
refbs = coll.dobj[wbs][key_bs]['ref-bs']
refbs = coll.dobj[wbs][key_bs]['ref_bs']
refi = [
rr for rr in coll.ddata[key_profile2d]['ref']
if rr not in refbs
Expand Down

0 comments on commit c95b38c

Please sign in to comment.