Commit ee60f013 authored by Håkan Wennlöf's avatar Håkan Wennlöf Committed by Simon Spannagel
Browse files

Use weakly_canonical for files yet to be created

(cherry picked from commit 328b5127)
parent 7cacc07b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -417,7 +417,7 @@ namespace allpix {
                       const FileType& file_type,
                       const std::string& units = std::string()) {

            auto path = std::filesystem::canonical(file_name);
            auto path = std::filesystem::weakly_canonical(file_name);

            auto dimensions = field_data.getDimensions();
            if(field_data.getData()->size() != N_ * dimensions[0] * dimensions[1] * dimensions[2]) {