Skip to content
Snippets Groups Projects
Commit 2b658a4b authored by langella's avatar langella
Browse files

cleaning unused imports

git-svn-id: https://subversion.renater.fr/xtandempipeline/trunk@279 b8ef2a07-7df7-436f-90b9-41648038564b
parent e361ef60
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,6 @@ package fr.inra.pappso.xtandempipeline.thread;
import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.HashSet;
......@@ -21,7 +20,6 @@ import fr.inra.pappso.xtandempipeline.filter_print.print_pepnovo;
import fr.inra.pappso.xtandempipeline.sax_parse.MassChroQmlOutput;
import fr.inra.pappso.xtandempipeline.sax_parse.msms_output;
import fr.inra.pappso.xtandempipeline.sax_parse.proticdbml;
import fr.inra.pappso.xtandempipeline.sax_parse.MassChroQML;
public class printing_base extends process {
......@@ -54,11 +52,11 @@ public class printing_base extends process {
if (conf.get_export_ods()) {
this.set_view("Printing Open Document Spreadsheet file results");
OdsDocWriter doc = this.ods_specific_printing(this.getfileout()
.getAbsolutePath() + ".ods");
doc.close();
}
if (conf.get_export_proticdbml()) {
......@@ -113,16 +111,14 @@ public class printing_base extends process {
output.open(this.getfileout().getAbsolutePath()
+ "_fdr_peptide.txt");
calculation_peptide_fdr_distribution calc = new calculation_peptide_fdr_distribution();
calc.execute(this.identifications.get(0)
.get_protein_liste());
calc.execute(this.identifications.get(0).get_protein_liste());
calc.print_peptide_fdr_distribution(output);
output.close();
output.open(this.getfileout().getAbsolutePath()
+ "_fdr_protein.txt");
calculation_protein_fdr_distribution calc2 = new calculation_protein_fdr_distribution();
calc2.execute(this.identifications.get(0)
.get_protein_liste());
calc2.execute(this.identifications.get(0).get_protein_liste());
calc2.print_protein_fdr_distribution(output);
output.close();
......@@ -132,16 +128,17 @@ public class printing_base extends process {
throw new StopException("");
this.add_current_progress();
if ((conf.get_export_masschroq())
& (this.identifications.size() == 1)) {
if ((conf.get_export_masschroq()) & (this.identifications.size() == 1)) {
this.set_view("Printing MassChroQ xml file results");
Identification ident = this.identifications.get(0);
// modification isotopic
ident.filtered_match(new filter_isotopic_modifs(this.isotopic_mods));
MassChroQmlOutput massChroQmlOutput = new MassChroQmlOutput(this.isotopic_mods, ident);
FileOutputStream outputStream = new FileOutputStream(new File(this.getfileout()
.getAbsolutePath() + ".masschroqML"));;
MassChroQmlOutput massChroQmlOutput = new MassChroQmlOutput(
this.isotopic_mods, ident);
FileOutputStream outputStream = new FileOutputStream(new File(this
.getfileout().getAbsolutePath() + ".masschroqML"));
;
massChroQmlOutput.write(outputStream);
}
......@@ -151,7 +148,8 @@ public class printing_base extends process {
}
protected OdsDocWriter ods_specific_printing(String filename) throws Exception {
protected OdsDocWriter ods_specific_printing(String filename)
throws Exception {
return null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment