Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-3898

Remove DAS data provider from igbDefaultPrefs.json

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 10.1.0
    • Labels:
      None

      Description

      Situation: In IGB 10.1.0 we are adding the UCSC REST API data provider to replace the UCSC DAS data provider. On the current IGB main branch we have set the DAS data provider to be disabled. If IGB 10.1.0 is installed on a new system, DAS is disabled. However, if a user goes from 10.0.1 to 10.1.0 the DAS data provider remains enabled. Having both DAS and UCSC REST enabled slows IGB down it requires additional API calls.

      Task: Remove the DAS data provider from the igbDefaultPrefs.json file. This will work to remove DAS from both new installs of IGB as well as updates from a previous version of IGB to the new version.

        Attachments

          Activity

          Hide
          jsirigin Jaya Sravani Sirigineedi added a comment - - edited

          After going through the code a bit more for this ticket, I understood that this part of the code is only executed when the user creates a custom data provider, which won't have the option to specify datasetLinkoutUrl and also won't have any defaultDataProviderId. So, the if condition will always be false and isn't required at all. That's why I have removed it and it's the code I added when adding the datasetLinkoutUrl to the constructors.

          Show
          jsirigin Jaya Sravani Sirigineedi added a comment - - edited After going through the code a bit more for this ticket, I understood that this part of the code is only executed when the user creates a custom data provider, which won't have the option to specify datasetLinkoutUrl and also won't have any defaultDataProviderId. So, the if condition will always be false and isn't required at all. That's why I have removed it and it's the code I added when adding the datasetLinkoutUrl to the constructors.
          Hide
          nfreese Nowlan Freese added a comment -

          Ah gotcha, thank you!

          Please go ahead and create a PR.

          Show
          nfreese Nowlan Freese added a comment - Ah gotcha, thank you! Please go ahead and create a PR.
          Show
          jsirigin Jaya Sravani Sirigineedi added a comment - Raised the pull request: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/1036
          Hide
          ann.loraine Ann Loraine added a comment -

          PR is merged and new installers built and copied to "early access" section of Bioviz.org website.
          Ready for testing.

          Show
          ann.loraine Ann Loraine added a comment - PR is merged and new installers built and copied to "early access" section of Bioviz.org website. Ready for testing.
          Hide
          nfreese Nowlan Freese added a comment -

          Testing using main branch installer on Mac.

          After running 10.0.1 and then switching to 10.1.0 the DAS data provider is no longer a Data Source.
          I am able to add back the DAS data provider in the Data Sources tab.
          The UCSC REST data provider id now appears in the "info" window in the Data Source tab.

          Closing ticket.

          Show
          nfreese Nowlan Freese added a comment - Testing using main branch installer on Mac. After running 10.0.1 and then switching to 10.1.0 the DAS data provider is no longer a Data Source. I am able to add back the DAS data provider in the Data Sources tab. The UCSC REST data provider id now appears in the "info" window in the Data Source tab. Closing ticket.

            People

            • Assignee:
              jsirigin Jaya Sravani Sirigineedi
              Reporter:
              nfreese Nowlan Freese
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: