Skip to content

Commit

Permalink
Fix display bug of igv genomic interval upon refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
pbong committed Sep 14, 2023
1 parent 25aa0ea commit f0cd9b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions callbacks/browse_loci/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ def send_open_chromatin_panicle_url(filename):
Input('homepage-genomic-intervals-submitted-input', 'data'),
State('homepage-is-submitted', 'data'),
State('igv-selected-genomic-intervals-saved-input', 'data')
State('igv-selected-genomic-intervals-saved-input', 'data'),
Input('igv-submit', 'n_clicks')
)
def display_selected_genomic_intervals(nb_intervals_str, homepage_is_submitted, selected_nb_interval):
def display_selected_genomic_intervals(nb_intervals_str, homepage_is_submitted, selected_nb_interval, *_):
if homepage_is_submitted:
igv_options = util.sanitize_nb_intervals_str(nb_intervals_str)
igv_options = igv_options.split(';')
Expand Down

0 comments on commit f0cd9b2

Please sign in to comment.