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>> {
private boolean isWriteMetaData;
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 VadereWriter writer;
......@@ -199,7 +199,7 @@ public abstract class OutputFile<K extends DataKey<K>> {
for (String h: list) {
// ... but now add the processor id
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