Skip to content

Commit

Permalink
Add QBox-specific JSON member names for check list
Browse files Browse the repository at this point in the history
Fix #423
  • Loading branch information
mquevill committed Jul 31, 2018
1 parent 1e10d76 commit 62aad47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ResourceHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ namespace SSAGES
throw BuildException(validator.GetErrors());

// Check to make sure all inputs are valid members
std::vector<std::string> validmembers = {"input","args","walkers","CVs","methods","logger"};
std::vector<std::string> validmembers =
{
"input","args","walkers","CVs","methods","logger",
"md_iterations","qm_iterations","wf_iterations"
};
std::vector<std::string> members = json.getMemberNames();
for(auto& m : members)
if(std::find(validmembers.begin(), validmembers.end(), m) == validmembers.end())
Expand Down

0 comments on commit 62aad47

Please sign in to comment.