serratus-bio / serratus.io

Front-end code for Serratus project website
https://serratus.io
GNU Affero General Public License v3.0
11 stars 11 forks source link

Set default score filter range for run level to 0-100 #168

Closed victorlin closed 2 years ago

victorlin commented 2 years ago

Set the default score filter range for the run search level to [0,100] for both Nucleotide and RdRP Explorer. This only affects URLs that are direct links without any range set in the URL params (e.g. https://dev.serratus.io/explorer/rdrp?run=ERR2756788 will show [0,100] which is new behavior, but an explicit link https://dev.serratus.io/explorer/rdrp?run=ERR2756788&identity=45-100&score=50-100 will still show [50,100].

Switching between filter levels in the query builder also has no affect on the filter ranges (the default ranges are only applied on page load).

Closes #161.