Skip to content

Commit

Permalink
remove redundant lines setting refdata label
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry authored and bmorris3 committed Nov 6, 2023
1 parent 57f03ff commit e721d5e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions jdaviz/configs/imviz/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,9 +668,6 @@ def link_image_data(app, link_type='pixels', wcs_fallback_scheme=None, wcs_use_a
viewer_item['reference_data_label'] = refdata.label
viewer_item['linked_by_wcs'] = wcs_linked

if insert_base_wcs_layer:
viewer_item['reference_data_label'] = refdata.label

# if changing from one link type to another, reset the limits:
if link_type != old_link_type:
viewer.state.reset_limits()
Expand Down

0 comments on commit e721d5e

Please sign in to comment.