From 85cc8d9f2753ed7a704ae9a0bb174e50562f782a Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Tue, 16 Apr 2024 12:38:25 +0200 Subject: [PATCH] Remove config validation outside validation.jl --- core/src/model.jl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/src/model.jl b/core/src/model.jl index 23d1ba2d0..caef95075 100644 --- a/core/src/model.jl +++ b/core/src/model.jl @@ -47,11 +47,6 @@ function Model(config::Config)::Model TimerOutputs.enable_debug_timings(Ribasim) # causes recompilation (!) end - t_end = seconds_since(config.endtime, config.starttime) - if t_end <= 0 - error("Model starttime is not before endtime.") - end - # All data from the database that we need during runtime is copied into memory, # so we can directly close it again. db = SQLite.DB(db_path)