diff --git a/src/core/detector/Detector.cpp b/src/core/detector/Detector.cpp
index df7593d61329ef459c7e1988b549a166feb1374d..fbf46f9ecc9ec2b573b37d4bd4da3ba02a187520 100644
--- a/src/core/detector/Detector.cpp
+++ b/src/core/detector/Detector.cpp
@@ -112,7 +112,9 @@ Detector::Detector(const Configuration& config) : m_role(DetectorRole::NONE) {
         LOG(TRACE) << "  Time resolution: " << Units::display(m_timeResolution, {"ms", "us"});
     }
 
-    m_calibrationfile = config.getPath("calibration_file");
+    if(config.has("calibration_file")) {
+        m_calibrationfile = config.getPath("calibration_file");
+    }
 
     if(!isAuxiliary()) {
         if(config.has("mask_file")) {