Skip to content

Commit 85307c7

Browse files
committed
hotfix v0.13 bug in CoordMan tool gui output file
Output path directory, not file, given in three Coordinate Manipulation tools in the GUI window_interface classes. CLI versions unaffected. The recent release included a shift for the script classes to take the output filename path instead of the output directory name path. The new output filename was created within the window classes but the directory name was passed instead for three of the Coordinate Manipulation group window_interface classes. This commit both fixes this bug and renames the JAR file, window title, and tool version for a new v0.13 release.
1 parent c1da04f commit 85307c7

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ apply plugin: 'eclipse'
99

1010
sourceSets.main.java.srcDirs = ['src']
1111
mainClassName = "main.ScriptManager"
12-
version = 'v0.13-dev'
12+
version = 'v0.13'
1313
sourceCompatibility = 1.8
1414
targetCompatibility = 1.8
1515

src/main/ScriptManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
Read_AnalysisCLI.class,
7171
Sequence_AnalysisCLI.class
7272
},
73-
version = "ScriptManager-v0.13-dev",
73+
version = "ScriptManager-v0.13",
7474
mixinStandardHelpOptions = true,
7575
description = "Choose a tool directory from below to see more command-line tool options.",
7676
exitCodeOnInvalidInput = 1,

src/main/ScriptManagerGUI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
import window_interface.Figure_Generation.MergeHeatMapWindow;
5656

5757
public class ScriptManagerGUI {
58-
public static final String VERSION = "0.13-dev";
58+
public static final String VERSION = "0.13";
5959

6060
private JFrame frmScriptManager;
6161
/**

src/window_interface/Coordinate_Manipulation/BED_Manipulation/BEDtoGFFWindow.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public Void doInBackground() throws IOException {
6262
if(OUTPUT_PATH == null) OUT_FILE = new File( gffName );
6363
else OUT_FILE = new File( OUTPUT_PATH + File.separator + gffName );
6464
// Execute conversion and update progress
65-
BEDtoGFF.convertBEDtoGFF(OUTPUT_PATH, XBED);
65+
BEDtoGFF.convertBEDtoGFF(OUT_FILE, XBED);
6666
int percentComplete = (int)(((double)(x + 1) / BEDFiles.size()) * 100);
6767
setProgress(percentComplete);
6868
}
@@ -197,4 +197,4 @@ public void massXable(Container con, boolean status) {
197197
if(c instanceof Container) { massXable((Container)c, status); }
198198
}
199199
}
200-
}
200+
}

src/window_interface/Coordinate_Manipulation/GFF_Manipulation/ExpandGFFWindow.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ public Void doInBackground() throws IOException {
7676
File OUT_FILE = null;
7777
if(OUTPUT_PATH == null) OUT_FILE = new File( newName );
7878
else OUT_FILE = new File( OUTPUT_PATH + File.separator + newName );
79-
// Execute expansion and update progress
80-
ExpandGFF.expandGFFBorders(OUTPUT_PATH, XGFF, SIZE, rdbtnExpandFromCenter.isSelected());
79+
// Execute expansion and update progress
80+
ExpandGFF.expandGFFBorders(OUT_FILE, XGFF, SIZE, rdbtnExpandFromCenter.isSelected());
8181
int percentComplete = (int)(((double)(x + 1) / GFFFiles.size()) * 100);
8282
setProgress(percentComplete);
8383
}
@@ -245,4 +245,4 @@ public void massXable(Container con, boolean status) {
245245
if(c instanceof Container) { massXable((Container)c, status); }
246246
}
247247
}
248-
}
248+
}

src/window_interface/Coordinate_Manipulation/GFF_Manipulation/GFFtoBEDWindow.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public Void doInBackground() throws IOException {
6262
if(OUTPUT_PATH == null) OUT_FILE = new File( bedName );
6363
else OUT_FILE = new File( OUTPUT_PATH + File.separator + bedName );
6464
// Execute conversion and update progress
65-
GFFtoBED.convertGFFtoBED(OUTPUT_PATH, XGFF);
65+
GFFtoBED.convertGFFtoBED(OUT_FILE, XGFF);
6666
int percentComplete = (int)(((double)(x + 1) / BEDFiles.size()) * 100);
6767
setProgress(percentComplete);
6868
}
@@ -197,4 +197,4 @@ public void massXable(Container con, boolean status) {
197197
if(c instanceof Container) { massXable((Container)c, status); }
198198
}
199199
}
200-
}
200+
}

0 commit comments

Comments
 (0)