Skip to content

Commit 74ac84d

Browse files
author
William Lai
committed
Project file reorganization and upgrade
Upgrade to Java 8 and warning fixes from residual Java 6 syntax. Re-organized location of JAR dependency files and renaming of master folder
1 parent c77d309 commit 74ac84d

28 files changed

Lines changed: 73 additions & 73 deletions

.DS_Store

-6 KB
Binary file not shown.

PughPipeline/.classpath

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
33
<classpathentry kind="src" path="src"/>
4-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
5-
<classpathentry kind="lib" path="jcommon-1.0.21.jar"/>
6-
<classpathentry kind="lib" path="jfreechart-1.0.17.jar"/>
74
<classpathentry kind="lib" path="picard-tools-1.140/htsjdk-1.140.jar"/>
85
<classpathentry kind="lib" path="picard-tools-1.140/picard-lib.jar"/>
96
<classpathentry kind="lib" path="picard-tools-1.140/picard.jar"/>
10-
<classpathentry kind="lib" path="jfreesvg-3.0.jar"/>
7+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
8+
<classpathentry kind="lib" path="dependecy/jcommon-1.0.21.jar"/>
9+
<classpathentry kind="lib" path="dependecy/jfreechart-1.0.17.jar"/>
10+
<classpathentry kind="lib" path="dependecy/jfreesvg-3.0.jar"/>
1111
<classpathentry kind="output" path="bin"/>
1212
</classpath>

PughPipeline/.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>PughPipeline</name>
3+
<name>scriptmanager</name>
44
<comment></comment>
55
<projects>
66
</projects>
File renamed without changes.

PughPipeline/src/scripts/Tag_Analysis/PeakPair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public void run() throws IOException {
100100
String DETAIL = NAME + File.separator + "D_" + INPUT.getName().split("\\.")[0] + ".txt";
101101
String SUMMARY = NAME + File.separator + "S_" + INPUT.getName().split("\\.")[0] + ".gff";
102102
String ORPHAN = NAME + File.separator + "O_" + INPUT.getName().split("\\.")[0] + ".txt";
103-
String PDF = NAME + File.separator + "P_" + INPUT.getName().split("\\.")[0] + ".pdf";
103+
//String PDF = NAME + File.separator + "P_" + INPUT.getName().split("\\.")[0] + ".pdf";
104104

105105
try { DOUT = new PrintStream(new File(DETAIL)); }
106106
catch (FileNotFoundException e) { e.printStackTrace(); }

PughPipeline/src/window_interface/BAM_Format_Converter/BAMtoBEDWindow.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class BAMtoBEDWindow extends JFrame implements ActionListener, PropertyCh
4747
private JPanel contentPane;
4848
protected JFileChooser fc = new JFileChooser(new File(System.getProperty("user.dir")));
4949

50-
final DefaultListModel expList;
50+
final DefaultListModel<String> expList;
5151
Vector<File> BAMFiles = new Vector<File>();
5252
private File OUTPUT = null;
5353
private int STRAND = 0;
@@ -151,8 +151,8 @@ public void actionPerformed(ActionEvent e) {
151151
});
152152
contentPane.add(btnLoad);
153153

154-
expList = new DefaultListModel();
155-
final JList listExp = new JList(expList);
154+
expList = new DefaultListModel<String>();
155+
final JList<String> listExp = new JList<String>(expList);
156156
listExp.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
157157
scrollPane.setViewportView(listExp);
158158

PughPipeline/src/window_interface/BAM_Format_Converter/BAMtoGFFWindow.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class BAMtoGFFWindow extends JFrame implements ActionListener, PropertyCh
4545
private JPanel contentPane;
4646
protected JFileChooser fc = new JFileChooser(new File(System.getProperty("user.dir")));
4747

48-
final DefaultListModel expList;
48+
final DefaultListModel<String> expList;
4949
Vector<File> BAMFiles = new Vector<File>();
5050
private File OUTPUT = null;
5151
private int STRAND = 0;
@@ -149,8 +149,8 @@ public void actionPerformed(ActionEvent e) {
149149
});
150150
contentPane.add(btnLoad);
151151

152-
expList = new DefaultListModel();
153-
final JList listExp = new JList(expList);
152+
expList = new DefaultListModel<String>();
153+
final JList<String> listExp = new JList<String>(expList);
154154
listExp.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
155155
scrollPane.setViewportView(listExp);
156156

PughPipeline/src/window_interface/BAM_Format_Converter/BAMtoscIDXWindow.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class BAMtoscIDXWindow extends JFrame implements ActionListener, Property
4545
private JPanel contentPane;
4646
protected JFileChooser fc = new JFileChooser(new File(System.getProperty("user.dir")));
4747

48-
final DefaultListModel expList;
48+
final DefaultListModel<String> expList;
4949
Vector<File> BAMFiles = new Vector<File>();
5050
private File OUTPUT = null;
5151
private int STRAND = 0;
@@ -147,8 +147,8 @@ public void actionPerformed(ActionEvent e) {
147147
});
148148
contentPane.add(btnLoad);
149149

150-
expList = new DefaultListModel();
151-
final JList listExp = new JList(expList);
150+
expList = new DefaultListModel<String>();
151+
final JList<String> listExp = new JList<String>(expList);
152152
listExp.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
153153
scrollPane.setViewportView(listExp);
154154

0 commit comments

Comments
 (0)