Skip to content

Commit

Permalink
Delete objects quietly, unless explicitly requested via script (inclu…
Browse files Browse the repository at this point in the history
…ding VMD)
  • Loading branch information
giacomofiorin committed May 1, 2023
1 parent c0ca08c commit 846c8ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/colvarmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1247,8 +1247,6 @@ colvarmodule::~colvarmodule()

int colvarmodule::reset()
{
cvm::log("Resetting the Collective Variables module.\n");

parse->clear();

// Iterate backwards because we are deleting the elements as we go
Expand Down
1 change: 1 addition & 0 deletions src/colvarscript_commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ CVSCRIPT(cv_reset,
"Delete all internal configuration",
0, 0,
"",
cvm::log("Resetting the Collective Variables module.");
return script->module()->reset();
)

Expand Down

0 comments on commit 846c8ff

Please sign in to comment.