diff --git a/pom.xml b/pom.xml index 94956613..d09a31fd 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.pamguard Pamguard - 2.02.11d + 2.02.11e Pamguard Pamguard using Maven to control dependencies www.pamguard.org diff --git a/src/Acquisition/FileInputSystem.java b/src/Acquisition/FileInputSystem.java index 33779534..b4678913 100644 --- a/src/Acquisition/FileInputSystem.java +++ b/src/Acquisition/FileInputSystem.java @@ -15,6 +15,7 @@ import java.io.FileNotFoundException; import java.io.IOException; import java.io.Serializable; import java.text.DateFormat; +import java.util.Arrays; import java.util.Calendar; import java.util.List; @@ -1017,9 +1018,11 @@ public class FileInputSystem extends DaqSystem implements ActionListener, PamSe newDataUnit = new RawDataUnit(ms, 1 << ichan, totalSamples, newSamples); newDataUnit.setRawData(doubleData[ichan]); - if (1000*(readFileSamples/sampleRate)>=fileInputParameters.skipStartFileTime) { - newDataUnits.addNewData(newDataUnit); + if (1000*(readFileSamples/sampleRate)