Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 9.0.1 Minor Release
-
Labels:
-
Story Points:2
-
Sprint:Fall 2017
Description
While testing IGBF-1092 I noticed that the Save As... feature is not useable at all on Windows. This is because the filename gets appended with additional text causing the file name to be invalid. This is also happening on Mac, but on Mac the filename is not invalid, but the extra text still gets appended.
For example, if you try to save a graph file as a bedgraph named "test.bedgraph", IGB will actually save the file as "test.bedgraph.*.bedgraph".
To reproduce:
1) Select Arabidopsis thaliana genome - go to start screen and click the Arabidopsis image
2) Choose Data Access > RNA-Seq > Loraine Lab > Mixed Cold > SM > Graph
3) Select a graph, zoom in on a region
4) Click Load Data to load some data
5) Right-click or CNTRL-click track label and select Save As...
6) Save a file with the name "test.bedgraph"
Observe: On Mac = the file actually gets saved as test.bedgraph..bedgraph
On Windows = the file will not be saved at all and there is an exception in the console.
Attachments
Issue Links
- relates to
-
IGBF-1410 Improve file name and file existence checking logic when saving track data
-
- Closed
-
-
IGBF-1149 default file extension for graph tracks
-
- Closed
-
-
IGBF-1162 Duplicate File Extensions shown in the Windows File Chooser "Save as type" drop-down menu
-
- Closed
-
-
IGBF-1092 Save As... (bedgraph) feature uses spaces instead of tabs
-
- Closed
-
-
IGBF-2654 Fix: 'replace' action while saving file
-
- Closed
-
-
IGBF-1090 Implement saving of all chromosomes when exporting as bedgraph
-
- Closed
-
Activity
Edited abstractExportFileAction and UniFileFilter to resolve issue. Moving to 'needs testing'.
I tested this story today and it seems that the state is the same as my testing done on April 17, 2017; files are being properly saved as .bedgraph or .gr files on Windows and Mac, but on Windows the file extension is being duplicated in the file chooser's drop-down menu for file type. I looked at the live version (IGB 9.0.0) to see if this was occurring there and it is, meaning that the duplication of the file extension is not a result of any code change while fixing this issue,
IGBF-1128. Since this is the case, and since everything is working as expected, I am closing this issue and creatingIGBF-1162to track the duplicate file extensions issue.