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
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
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. However, if the user selects File > Open File... they receive a warning <Please select a Genome> and the data is not open. 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... the data is opened within IGB, and a message informing the user pops up stating "You have not selected a genome, 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 "You have not selected a genome, some features may be unavailable." |
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. However, if the user selects File > Open File... they receive a warning <Please select a Genome> and the data is not open. 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... the data is opened within IGB, and a message informing the user pops up stating "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." |
Rank | Ranked higher |
Sprint | Winter 2018 Sprint 3 [ 58 ] |
Rank | Ranked lower |
Assignee | Ann Loraine [ aloraine ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Attachment | 1_a.PNG [ 14228 ] |
Attachment | 1_b_i.PNG [ 14229 ] | |
Attachment | 1_b_i_warning.PNG [ 14230 ] | |
Attachment | 1_b_ii.PNG [ 14231 ] |
Status | In Progress [ 3 ] | Needs 1st Level Review [ 10005 ] |
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Status | Needs 1st Level Review [ 10005 ] | Reviewing [ 10301 ] |
Assignee | Nowlan Freese [ nfreese ] |
Attachment | pleaseSelectAGenome.png [ 14232 ] |
Assignee | Nowlan Freese [ nfreese ] | Riddhi Jagdish Patil [ rpatil14 ] |
Status | Reviewing [ 10301 ] | Needs 1st Level Review [ 10005 ] |
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Status | Needs 1st Level Review [ 10005 ] | Reviewing [ 10301 ] |
Assignee | Nowlan Freese [ nfreese ] |
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. However, if the user selects File > Open File... they receive a warning <Please select a Genome> and the data is not open. 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... the data is opened within IGB, and a message informing the user pops up stating "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." |
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. However, if the user selects File > Open File... they receive a warning <Please select a Genome> and the data is not open. 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... the data is opened within IGB, and a message informing the user pops up stating "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."- |
Comment | [ No genome selected message ] |
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. However, if the user selects File > Open File... they receive a warning <Please select a Genome> and the data is not open. 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... the data is opened within IGB, and a message informing the user pops up stating "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."- |
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. However, if the user selects File > Open File... they receive a warning <Please select a Genome> and the data is not open. 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... the data is opened within IGB, and a message informing the user pops up stating "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." |
Assignee | Nowlan Freese [ nfreese ] | Riddhi Jagdish Patil [ rpatil14 ] |
Rank | Ranked higher |
Sprint | Winter 2018 Sprint 3 [ 58 ] | Winter 2018 Sprint 3, Spring 2019 Sprint 1 [ 58, 59 ] |
Rank | Ranked higher |
Assignee | Riddhi Jagdish Patil [ rpatil14 ] | Nowlan Freese [ nfreese ] |
Assignee | Nowlan Freese [ nfreese ] | Riddhi Jagdish Patil [ rpatil14 ] |
Status | Reviewing [ 10301 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Needs 1st Level Review [ 10005 ] |
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Assignee | Nowlan Freese [ nfreese ] |
Status | Needs 1st Level Review [ 10005 ] | In Progress [ 3 ] |
Assignee | Nowlan Freese [ nfreese ] | Riddhi Jagdish Patil [ rpatil14 ] |
Status | In Progress [ 3 ] | Needs 1st Level Review [ 10005 ] |
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Status | Needs 1st Level Review [ 10005 ] | Reviewing [ 10301 ] |
Assignee | Nowlan Freese [ nfreese ] |
Assignee | Nowlan Freese [ nfreese ] | Jill Jenkins [ jill ] |
Status | Reviewing [ 10301 ] | Ready for Pull Request [ 10304 ] |
Assignee | Jill Jenkins [ jill ] |
Status | Ready for Pull Request [ 10304 ] | Pull Request Submitted [ 10101 ] |
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Status | Pull Request Submitted [ 10101 ] | Reviewing Pull Request [ 10303 ] |
Assignee | Ann Loraine [ aloraine ] |
Status | Reviewing Pull Request [ 10303 ] | Open [ 1 ] |
Rank | Ranked higher |
Rank | Ranked higher |
Assignee | Ann Loraine [ aloraine ] | Riddhi Jagdish Patil [ rpatil14 ] |
Status | Open [ 1 ] | Pull Request Submitted [ 10101 ] |
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Status | Pull Request Submitted [ 10101 ] | Reviewing Pull Request [ 10303 ] |
Assignee | Ann Loraine [ aloraine ] |
Status | Reviewing Pull Request [ 10303 ] | Needs Testing [ 10002 ] |
Assignee | Ann Loraine [ aloraine ] |
Status | Needs Testing [ 10002 ] | Testing In Progress [ 10003 ] |
Status | Testing In Progress [ 10003 ] | Needs Testing [ 10002 ] |
Status | Needs Testing [ 10002 ] | Testing In Progress [ 10003 ] |
Status | Testing In Progress [ 10003 ] | Testing In Progress [ 10003 ] |
Attachment | example.fasta [ 14267 ] |
Resolution | Done [ 10000 ] | |
Status | Testing In Progress [ 10003 ] | Closed [ 6 ] |
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
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. However, if the user selects File > Open File... they receive a warning <Please select a Genome> and the data is not open. 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... the data is opened within IGB, and a message informing the user pops up stating "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." |
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." |
Workflow | Loraine Lab Workflow [ 18225 ] | Fall 2019 Workflow Update [ 20004 ] |
Workflow | Fall 2019 Workflow Update [ 20004 ] | Revised Fall 2019 Workflow Update [ 22131 ] |
Issue:- To give a warning message when loading a file without selecting a genome and allow loading of genome sequence data for the FASTA and 2BIT file when file is drag and dropped.
Files changed:-
core/genometry/src/main/resources/genometry.properties
core/genometry/src/main/java/com/affymetrix/genometry/general/DataSet.java
core/igb/src/main/java/com/affymetrix/igb/action/LoadFileAction.java
core/igb/src/main/java/com/affymetrix/igb/view/load/GeneralLoadUtils.java
Testing scenarios:-
1) Drag and drop file in IGB application -
a) If the file is of extension 2bit, bnib, fa, fas, fasta, fna, fsa, mpfa, fa.gz, fas.gz, fasta.gz, fna.gz, fsa.gz or mpfa.gz, it is assumed that the file has
genome sequence data. Once clicked on load sequence button it will load the genome sequence.
b) If the file is of any other extension,
i) If no genome is selected, then once the file is loaded user will get a warning message "A genome sequence has not been selected, some features may be unavailable.". Also on clicking Load Sequence button user will get an error message "A genome sequence has not been selected. Loading sequence data is not possible."
ii) If genome is selected, then no warning message will be displayed and on clicking Load Sequence button, the new file gets loaded on top of the selected genome and there is no error message.
2) Click File -> Open Genome from File... -> select the file from above mentioned extension (as no other file extension will be allowed) --> Click Load Sequence button to load the genome sequence.
Testing results:-
Please check the attached test result for each test scenario.
Code changes:-
https://bitbucket.org/rpatil14/riddhifork-igb/branch/IGBF-1509#diff