From 9665612bc02c1a2eca3389977f413e18690a74df Mon Sep 17 00:00:00 2001 From: jfy133 Date: Mon, 18 May 2020 09:29:43 +0200 Subject: [PATCH] Fix user display specie -> species --- src/main/java/GUI/Dialogues/ConfigurationDialogue.java | 2 +- src/main/java/IO/OutputGenerator.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/GUI/Dialogues/ConfigurationDialogue.java b/src/main/java/GUI/Dialogues/ConfigurationDialogue.java index ce8dfe6..80227c0 100755 --- a/src/main/java/GUI/Dialogues/ConfigurationDialogue.java +++ b/src/main/java/GUI/Dialogues/ConfigurationDialogue.java @@ -57,7 +57,7 @@ private void addComponents() { Label label_threshold = new Label("Number of bases (x-axis)"); Label label_yaxis = new Label("Height y-axis"); Label label_length = new Label("Set number of bases (calculations)"); - Label label_specie = new Label("Filter for specie"); + Label label_specie = new Label("Filter for species"); Label label_title = new Label("Set title"); Label label_plot = new Label("Plot"); diff --git a/src/main/java/IO/OutputGenerator.java b/src/main/java/IO/OutputGenerator.java index a04d3d5..3954298 100755 --- a/src/main/java/IO/OutputGenerator.java +++ b/src/main/java/IO/OutputGenerator.java @@ -995,7 +995,7 @@ public void createPdf(String filename, JFreeChart[] charts, String file) throws (double)(Math.round(ratio_used_reads*10000))/100 + "% of all input reads)"; } else{ read_per = Chunk.NEWLINE + "Number of used reads: " + df.format(damageProfiler.getNumberOfUsedReads()) + " (" + - (double)(Math.round(ratio_used_reads*10000))/100 + "% of all input reads) | Specie: " + this.specie; + (double)(Math.round(ratio_used_reads*10000))/100 + "% of all input reads) | Species: " + this.specie; } } else { @@ -1004,7 +1004,7 @@ public void createPdf(String filename, JFreeChart[] charts, String file) throws (double) (Math.round(ratio_used_reads * 10000)) / 100 + "% of all input reads) | ssLib protocol"; } else { read_per = Chunk.NEWLINE + "Number of used reads: " + df.format(damageProfiler.getNumberOfUsedReads()) + " (" + - (double) (Math.round(ratio_used_reads * 10000)) / 100 + "% of all input reads) | Specie: " + this.specie + " | ssLib protocol"; + (double) (Math.round(ratio_used_reads * 10000)) / 100 + "% of all input reads) | Species: " + this.specie + " | ssLib protocol"; } }