11.08., 9:00 - 11:00: Due to updates GitLab will be unavailable for some minutes between 09:00 and 11:00.

Commit ec80f092 authored by Daniel Lehmberg's avatar Daniel Lehmberg

bugfix for processors of larger value than 10 and change to PID

parent b06951da
Pipeline #115164 failed with stages
in 3 minutes and 27 seconds
...@@ -54,7 +54,7 @@ public abstract class OutputFile<K extends DataKey<K>> { ...@@ -54,7 +54,7 @@ public abstract class OutputFile<K extends DataKey<K>> {
private boolean isWriteMetaData; private boolean isWriteMetaData;
private String separator; private String separator;
private final static String nameConflictAdd = "-Proc?"; // the # is replaced with the processor id public final static String nameConflictAdd = "-PID?"; // the # is replaced with the processor id
private VadereWriterFactory writerFactory; private VadereWriterFactory writerFactory;
private VadereWriter writer; private VadereWriter writer;
...@@ -199,7 +199,7 @@ public abstract class OutputFile<K extends DataKey<K>> { ...@@ -199,7 +199,7 @@ public abstract class OutputFile<K extends DataKey<K>> {
for (String h: list) { for (String h: list) {
// ... but now add the processor id // ... but now add the processor id
headers.addLast(h + headers.addLast(h +
nameConflictAdd.replace('?', (char) (l.getId()+'0'))); nameConflictAdd.replace("?", "" + l.getId()+'0'));
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment