Skip to content

Commit a03bc1a

Browse files
committed
add .hipo suffix for clara decoder
1 parent 2908e27 commit a03bc1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common-tools/clara-io/src/main/java/org/jlab/io/clara/DecoderWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected HipoWriterSorted createWriter(Path file, JSONObject opts) throws Event
6666
init(opts);
6767
HipoWriterSorted w = new HipoWriterSorted();
6868
super.configure(w, opts);
69-
w.open(file.toString());
69+
w.open(file.toString().endsWith(".hipo") ? file.toString() : file.toString()+".hipo");
7070
return w;
7171
} catch (Exception e) {
7272
throw new EventWriterException(e);

0 commit comments

Comments
 (0)