From 8bd69306e324d41c3435ec4d0ca9d069fbaa83c6 Mon Sep 17 00:00:00 2001 From: Babicaa Date: Wed, 14 Nov 2018 18:17:01 +0100 Subject: [PATCH] Fixing file format for cSAXS --- csaxs/CsaxsFormat.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/csaxs/CsaxsFormat.cpp b/csaxs/CsaxsFormat.cpp index d9d06a3..5cb66e8 100644 --- a/csaxs/CsaxsFormat.cpp +++ b/csaxs/CsaxsFormat.cpp @@ -1,5 +1,6 @@ #include #include +#include #include "config.hpp" #include "H5Format.hpp" @@ -19,14 +20,15 @@ class CsaxsFormat : public H5Format CsaxsFormat(const string& dataset_name) { - + input_value_type.reset(new unordered_map()); + default_values.reset(new unordered_map()); + // After format has been writen, where to move the raw datasets. dataset_move_mapping.reset(new std::unordered_map( { {config::raw_image_dataset_name, "data/" + dataset_name + "/data"}, })); - input_value_type.reset(new unordered_map()); // Definition of the file format. file_format.reset(