Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/reach_study.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,11 @@ void runReachStudy(const YAML::Node& config, const std::string& config_name, con

const boost::filesystem::path db_file = results_dir / config_name / "reach.db.xml";

if (boost::filesystem::exists(db_file))
YAML::Emitter emitter;
emitter << opt_config;
logger->print(emitter.c_str());
Comment thread
InigoMoreno marked this conversation as resolved.
Outdated
bool skip_load = opt_config["skip_load"] && opt_config["skip_load"].as<bool>();
if (boost::filesystem::exists(db_file) && !skip_load)
{
// Attempt to load the database first, if it exists
rs.load(db_file.string());
Expand Down