Presume never handling not-in-view case for minor curves

log_linearized_curve_overlays
Tyler Goodlet 2023-03-09 16:32:50 -05:00
parent 3066b1541e
commit 5c697de58e
1 changed files with 6 additions and 4 deletions

View File

@ -668,16 +668,18 @@ def overlay_viewlists(
f'yref@xref_pin: {yref}\n' f'yref@xref_pin: {yref}\n'
) )
mx_scalars = mx_viz.scalars_from_index(xref) # if we need to handle not-in-view cases?
if mx_scalars is None: # mx_scalars = mx_viz.scalars_from_index(xref)
continue # if mx_scalars is None:
# continue
( (
i_start, i_start,
y_ref_major, y_ref_major,
r_up_from_major_at_xref, r_up_from_major_at_xref,
r_down_from_major_at_xref, r_down_from_major_at_xref,
) = mx_scalars ) = mx_viz.scalars_from_index(xref)
# ) = mx_scalars
if debug_print: if debug_print:
print( print(