Commit 2a79de4b authored by Daniel Lehmberg's avatar Daniel Lehmberg
Browse files

WIP: add writer again (was shown as not used to me)

parent 20ecfc51
Pipeline #84972 passed with stages
in 101 minutes and 11 seconds
......@@ -55,6 +55,7 @@ public abstract class OutputFile<K extends DataKey<K>> {
private String separator;
private final String nameConflictAdd = "-Proc?"; // the # is replaced with the processor id
private VadereWriterFactory writerFactory;
public VadereWriter writer;
protected OutputFile(final String... dataIndices) {
this.dataIndices = dataIndices;
......@@ -94,7 +95,7 @@ public abstract class OutputFile<K extends DataKey<K>> {
public void write() {
if (!isEmpty()) {
try (VadereWriter out = writerFactory.create(absoluteFileName)) {
writer = out;
printHeader(out);
this.dataProcessors.stream().flatMap(p -> p.getKeys().stream())
......
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