Skip to content

Commit 9bb9b86

Browse files
committed
chore(params): warn if ipath is provided but
not used
1 parent 11e71d4 commit 9bb9b86

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

client/Parameters.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,6 +1200,14 @@ int Parameters::load(FILE *file) {
12001200
error = 1;
12011201
}
12021202

1203+
// Check if an initial path exists without a specific non-linear initializer
1204+
if (!nebIpath.empty() && neb_initializer == NEBInit::LINEAR) {
1205+
SPDLOG_WARN("[Nudged Elastic Band] 'initial_path_in' is provided, but "
1206+
"'initializer' defaults to linear. "
1207+
"Ensure this is intentional, as the loaded path will not be "
1208+
"used without initializer set to file.");
1209+
}
1210+
12031211
if (saddleDynamicsRecordIntervalInput >
12041212
saddleDynamicsStateCheckIntervalInput) {
12051213
SPDLOG_ERROR("[Saddle Search] dynamics_record_interval must be <= "

0 commit comments

Comments
 (0)