Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 10.1.0
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Fall 2
Description
Situation: While testing the current main branch I found an issue where searching for a gene would cause a second track to appear and was not listed in the Data Management Table.
Task: Fix IGB so that the second track does not appear.
Steps to reproduce:
- Start IGB
- Select the Danio rerio species and the D_rerio_Sep_2014 genome version
- Sort the chromosomes by length
- Click Load Data for chromosomes chr7, chr5, chr3, chr6, chr2, chr1, chr9
- In the Advanced Search tab, search for hox
- Double-click on one of the results (hoxb2a)
- It seems like the result needs to be on a different chromosome then is currently in view in IGB
- A second track should appear
The change made in this ticket
IGBF-3584(commit) is the problem, to make the type unique I have changed it to the URL variable but that URL has chromosome details as well and this in some part of code is being used as the method and method names are supposed to be only unique to the dataset, not chromosomes. Fixed this issue by changing the type variable to the contextRoot variable which is the URL without chromosomes and with track included in it, so it will be unique to each track but will be the same for all the chromosomes. Tested it for this issue and also the scenarios mentioned inIGBF-3584by manually adding the DAS server as well, and everything is working as expected. Here is the updated code: https://bitbucket.org/jaya-sravani/integrated-genome-browser/branch/IGBF-3921. Please review it and let me know if there are any issues.