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

Open File... should work if no genome available

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Story Points:
      3
    • Sprint:
      Winter 2018 Sprint 3, Spring 2019 Sprint 1

      Description

      When a user wants to load data without loading a genome first, they can drag and drop a file (such as a .bed) into IGB. What happens behind the scenes is that IGB reads the file and tries to infer the structure of the genome from the file. This tends to work OK, depending on the file, and it is a useful feature.

      However, if the user selects File > Open File... they receive a warning <Please select a Genome> and the data files does not get opened. Note: This behavior is the same if the Open File... button is clicked.

      The default behavior should be: if a user drags and drops or selects Open File... before selecting a genome version, the data file should be opened within IGB, but a dialog should open with a message informing the user: "A genome sequence has not been selected, some features may be unavailable."

      Task:
      *Determine how to enable Load File... to open data when no genome is selected.
      *Implement a solution.
      *When data is loaded without a genome, warn the user "A genome sequence has not been selected, some features may be unavailable."

        Attachments

        1. 1_a.PNG
          1_a.PNG
          66 kB
        2. 1_b_i_warning.PNG
          1_b_i_warning.PNG
          50 kB
        3. 1_b_i.PNG
          1_b_i.PNG
          74 kB
        4. 1_b_ii.PNG
          1_b_ii.PNG
          103 kB
        5. example.fasta
          3 kB
        6. pleaseSelectAGenome.png
          pleaseSelectAGenome.png
          207 kB

          Issue Links

            Activity

            Hide
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment -

            Removed unused imports and tested the code locally.

            Show
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - Removed unused imports and tested the code locally.
            Hide
            aloraine Ann Loraine added a comment -

            Merged to master.

            Show
            aloraine Ann Loraine added a comment - Merged to master.
            Hide
            Jill Jill Jenkins (Inactive) added a comment -

            MacOS successful.

            Show
            Jill Jill Jenkins (Inactive) added a comment - MacOS successful.
            Hide
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - - edited

            Windows testing successful

            Show
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - - edited Windows testing successful
            Hide
            svallapu Sai Charan Reddy Vallapureddy added a comment -

            Linux testing successful

            Show
            svallapu Sai Charan Reddy Vallapureddy added a comment - Linux testing successful

              People

              • Assignee:
                rpatil14 Riddhi Jagdish Patil (Inactive)
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: