Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 9.0.1 Minor Release
-
Labels:None
-
Sprint:B - Summer 2018
Description
Investigate whether ordering of data providers in IGB preferences JSON file affects their top-to-bottom order in the IGB Available Data Sets section of Data Access tab.
To-Do:
- Update tests in Preferences module to ensure tests do not fail due to trivial reasons such as changing order of data providers in the preferences file.
- Check if order of data sources in Preferences JSON file dictates order in which they appear in Data Access tab. If yes, place new RNA-Seq and BAR data sources above IGB Quickload.
Attachments
Issue Links
- relates to
-
IGBF-1225 Improve load priority settings for user-supplied data providers
-
- Closed
-
Activity
Methods tried:
Interchanging of Load priorities were not changing the load sequence in both Data access Tab and Preferences table.
Change in JSON sequence changed the order but behavior was not consistent
Ex: If RNA-Seq was first element in JSON then it would load before IGB Quickload but if Blueberry is first element, it would not load first so the behavior was inconsistent.
After analyzing, I understood that loadPriority of value "2" was missing. Load priority was 0, 1 ,3, 4, 5...
Issue was fixed when I added load priorities in proper sequence.
Now data providers load according to their Load priority irrespective of their placement in JSON file.
Also fixed test case associated with the same.
Branch link: https://bitbucket.org/swathark/integrated-genome-browser/branch/IGBF-1221-DPOrder
Tested using the IGB-master.dmg downloaded from bitbucket main master...
After reseting preferences, the default data providers appear in this order:
IGB Quickload
RNA-Seq
Bio-analytic Resource
(I think that's wrong)
I also downloaded the latest version of master (with this branch merged in) and when I run it the data providers appear in the correct order.
This baffles me.
The test seem to work. The build fails when I make bad changes to the igbDefaultPrefs.json file.
I'm happy with the code, I'm just baffled by the installer producing a different result.