Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanniBussi committed May 16, 2024
2 parents 591901e + c1f405c commit 28ff8e0
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 2 deletions.
3 changes: 3 additions & 0 deletions regtest/basic/rt-parse-only/values.json.reference
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"phi" : {
"phi" : { "type": "scalar", "desciption": "" }
},
"shortcut_phi" : {
"phi" : { "type": "scalar", "desciption": "" }
},
"r1" : {
"r1.X" : { "type": "scalar", "description": "values from the column labelled p2.X in the file named input_colvar" }
},
Expand Down
41 changes: 41 additions & 0 deletions regtest/contour/rt-parse-only/values.json.reference
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,30 @@
"fcc_mat.y" : { "type": "matrix", "desciption": "" }
"fcc_mat.z" : { "type": "matrix", "desciption": "" }
},
"shortcut_fcc_mat" : {
"fcc_mat.w" : { "type": "matrix", "desciption": "" }
"fcc_mat.x" : { "type": "matrix", "desciption": "" }
"fcc_mat.y" : { "type": "matrix", "desciption": "" }
"fcc_mat.z" : { "type": "matrix", "desciption": "" }
},
"fcc_vfunc" : {
"fcc_vfunc" : { "type": "matrix", "desciption": "" }
},
"shortcut_fcc_vfunc" : {
"fcc_vfunc" : { "type": "matrix", "desciption": "" }
},
"fcc_wvfunc" : {
"fcc_wvfunc" : { "type": "matrix", "desciption": "" }
},
"shortcut_fcc_wvfunc" : {
"fcc_wvfunc" : { "type": "matrix", "desciption": "" }
},
"fcc_ones" : {
"fcc_ones" : { "type": "vector", "desciption": "" }
},
"shortcut_fcc_ones" : {
"fcc_ones" : { "type": "vector", "desciption": "" }
},
"fcc" : {
"fcc" : { "type": "vector", "desciption": "" }
},
Expand All @@ -47,41 +62,67 @@
"fcc_n" : {
"fcc_n" : { "type": "vector", "desciption": "" }
},
"shortcut_fcc_n" : {
"fcc_n" : { "type": "vector", "desciption": "" }
},
"dens_dist" : {
"dens_dist.x" : { "type": "vector", "desciption": "" }
"dens_dist.y" : { "type": "vector", "desciption": "" }
"dens_dist.z" : { "type": "vector", "desciption": "" }
},
"shortcut_dens_dist" : {
"dens_dist.x" : { "type": "vector", "desciption": "" }
"dens_dist.y" : { "type": "vector", "desciption": "" }
"dens_dist.z" : { "type": "vector", "desciption": "" }
},
"dens_numer_sigma" : {
"dens_numer_sigma" : { "type": "vector", "desciption": "" }
},
"dens_numer_cov" : {
"dens_numer_cov" : { "type": "vector", "desciption": "" }
},
"shortcut_dens_numer_cov" : {
"dens_numer_cov" : { "type": "vector", "desciption": "" }
},
"dens_numer_icov" : {
"dens_numer_icov" : { "type": "vector", "desciption": "" }
},
"shortcut_dens_numer_icov" : {
"dens_numer_icov" : { "type": "vector", "desciption": "" }
},
"dens_numer" : {
"dens_numer" : { "type": "grid", "desciption": "" }
},
"ones" : {
"ones" : { "type": "vector", "desciption": "" }
},
"shortcut_ones" : {
"ones" : { "type": "vector", "desciption": "" }
},
"dens_denom_sigma" : {
"dens_denom_sigma" : { "type": "vector", "desciption": "" }
},
"dens_denom_cov" : {
"dens_denom_cov" : { "type": "vector", "desciption": "" }
},
"shortcut_dens_denom_cov" : {
"dens_denom_cov" : { "type": "vector", "desciption": "" }
},
"dens_denom_icov" : {
"dens_denom_icov" : { "type": "vector", "desciption": "" }
},
"shortcut_dens_denom_icov" : {
"dens_denom_icov" : { "type": "vector", "desciption": "" }
},
"dens_denom" : {
"dens_denom" : { "type": "grid", "desciption": "" }
},
"dens" : {
"dens" : { "type": "grid", "desciption": "" }
},
"shortcut_dens" : {
"dens" : { "type": "grid", "desciption": "" }
},
"cont" : {
"cont.dens_dist.x" : { "type": "vector", "description": "a vector of coordinates for the contour along the dens_dist.x direction" },
"cont.dens_dist.y" : { "type": "vector", "description": "a vector of coordinates for the contour along the dens_dist.y direction" },
Expand Down
29 changes: 29 additions & 0 deletions regtest/multicolvar/rt-parse-only/values.json.reference
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,59 @@
"d1" : {
"d1" : { "type": "scalar", "desciption": "DISTANCE" }
},
"shortcut_d1" : {
"d1" : { "type": "scalar", "desciption": "DISTANCE" }
},
"d2" : {
"d2" : { "type": "scalar", "desciption": "DISTANCE" }
},
"shortcut_d2" : {
"d2" : { "type": "scalar", "desciption": "DISTANCE" }
},
"d3" : {
"d3" : { "type": "scalar", "desciption": "DISTANCE" }
},
"shortcut_d3" : {
"d3" : { "type": "scalar", "desciption": "DISTANCE" }
},
"ss" : {
"ss.1" : { "type": "scalar", "desciption": "1th" }
"ss.2" : { "type": "scalar", "desciption": "2th" }
"ss.3" : { "type": "scalar", "desciption": "3th" }
},
"shortcut_ss" : {
"ss.1" : { "type": "scalar", "desciption": "1th" }
"ss.2" : { "type": "scalar", "desciption": "2th" }
"ss.3" : { "type": "scalar", "desciption": "3th" }
},
"dall" : {
"dall" : { "type": "vector", "desciption": "" }
},
"shortcut_dall" : {
"dall" : { "type": "vector", "desciption": "" }
},
"ssall" : {
"ssall.1" : { "type": "scalar", "desciption": "1th" }
"ssall.2" : { "type": "scalar", "desciption": "2th" }
"ssall.3" : { "type": "scalar", "desciption": "3th" }
},
"shortcut_ssall" : {
"ssall.1" : { "type": "scalar", "desciption": "1th" }
"ssall.2" : { "type": "scalar", "desciption": "2th" }
"ssall.3" : { "type": "scalar", "desciption": "3th" }
},
"dallt" : {
"dallt" : { "type": "vector", "desciption": "" }
},
"shortcut_dallt" : {
"dallt" : { "type": "vector", "desciption": "" }
},
"sfinal" : {
"sfinal.1" : { "type": "scalar", "desciption": "1th" }
"sfinal.2" : { "type": "scalar", "desciption": "2th" }
},
"shortcut_sfinal" : {
"sfinal.1" : { "type": "scalar", "desciption": "1th" }
"sfinal.2" : { "type": "scalar", "desciption": "2th" }
}
}
18 changes: 18 additions & 0 deletions regtest/symfunc/rt-parse-only/values.json.reference
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
"q1_mat.y" : { "type": "matrix", "desciption": "" }
"q1_mat.z" : { "type": "matrix", "desciption": "" }
},
"shortcut_q1_mat" : {
"q1_mat.w" : { "type": "matrix", "desciption": "" }
"q1_mat.x" : { "type": "matrix", "desciption": "" }
"q1_mat.y" : { "type": "matrix", "desciption": "" }
"q1_mat.z" : { "type": "matrix", "desciption": "" }
},
"q1_sh" : {
"q1_sh.rm-n1" : { "type": "matrix", "desciption": "" }
"q1_sh.rm-0" : { "type": "matrix", "desciption": "" }
Expand All @@ -40,6 +46,9 @@
"q1_denom_ones" : {
"q1_denom_ones" : { "type": "vector", "desciption": "" }
},
"shortcut_q1_denom_ones" : {
"q1_denom_ones" : { "type": "vector", "desciption": "" }
},
"q1_denom" : {
"q1_denom" : { "type": "vector", "desciption": "" }
},
Expand All @@ -54,12 +63,21 @@
"q1_norm2" : {
"q1_norm2" : { "type": "vector", "desciption": "" }
},
"shortcut_q1_norm2" : {
"q1_norm2" : { "type": "vector", "desciption": "" }
},
"q1_norm" : {
"q1_norm" : { "type": "vector", "desciption": "" }
},
"shortcut_q1_norm" : {
"q1_norm" : { "type": "vector", "desciption": "" }
},
"q1" : {
"q1" : { "type": "vector", "desciption": "" }
},
"shortcut_q1" : {
"q1" : { "type": "vector", "desciption": "" }
},
"gg" : {
"gg.g6" : { "type": "vector", "description": "the function defined by the FUNCTION1 keyword" },
"gg.g7" : { "type": "vector", "description": "the function defined by the FUNCTION2 keyword" }
Expand Down
6 changes: 6 additions & 0 deletions regtest/wham/rt-parse-only/values.json.reference
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"phi" : {
"phi" : { "type": "scalar", "desciption": "" }
},
"shortcut_phi" : {
"phi" : { "type": "scalar", "desciption": "" }
},
"rp" : {
"rp.bias" : { "type": "scalar", "desciption": "" }
"rp.force2" : { "type": "scalar", "desciption": "" }
Expand All @@ -44,5 +47,8 @@
},
"hh" : {
"hh" : { "type": "grid", "desciption": "" }
},
"shortcut_hh" : {
"hh" : { "type": "grid", "desciption": "" }
}
}
2 changes: 1 addition & 1 deletion src/cltools/Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ int Driver<real>::main(FILE* in,FILE*out,Communicator& pc) {
if( as ) {
unsigned ncomponents = 0; std::vector<ActionWithValue*> val_actions;
Keywords keys; actionRegister().getKeywords( as->getName(), keys );
std::vector<std::string> cnames( keys.getOutputComponents().size() );
std::vector<std::string> cnames( keys.getOutputComponents() );
for(unsigned i=0; i<cnames.size(); ++i) {
std::string valname;
if( cnames[i]==".#!value" ) valname = as->getShortcutLabel();
Expand Down
2 changes: 1 addition & 1 deletion src/generic/Ones.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ PLUMED_REGISTER_ACTION(Ones,"ONES")
void Ones::registerKeywords(Keywords& keys) {
ActionShortcut::registerKeywords( keys );
keys.add("compulsory","SIZE","the number of ones that you would like to create");
keys.setValueDescription("a vector of ones the required number of elements");
keys.setValueDescription("a vector of ones with the required number of elements");
keys.needsAction("CONSTANT");
}

Expand Down

1 comment on commit 28ff8e0

@PlumedBot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found broken examples in automatic/ANGLES.tmp
Found broken examples in automatic/ANN.tmp
Found broken examples in automatic/CAVITY.tmp
Found broken examples in automatic/CLASSICAL_MDS.tmp
Found broken examples in automatic/CLUSTER_DIAMETER.tmp
Found broken examples in automatic/CLUSTER_DISTRIBUTION.tmp
Found broken examples in automatic/CLUSTER_PROPERTIES.tmp
Found broken examples in automatic/CONSTANT.tmp
Found broken examples in automatic/CONTACT_MATRIX.tmp
Found broken examples in automatic/CONTACT_MATRIX_PROPER.tmp
Found broken examples in automatic/COORDINATIONNUMBER.tmp
Found broken examples in automatic/DFSCLUSTERING.tmp
Found broken examples in automatic/DISTANCE_FROM_CONTOUR.tmp
Found broken examples in automatic/EDS.tmp
Found broken examples in automatic/EMMI.tmp
Found broken examples in automatic/ENVIRONMENTSIMILARITY.tmp
Found broken examples in automatic/FIND_CONTOUR.tmp
Found broken examples in automatic/FIND_CONTOUR_SURFACE.tmp
Found broken examples in automatic/FIND_SPHERICAL_CONTOUR.tmp
Found broken examples in automatic/FOURIER_TRANSFORM.tmp
Found broken examples in automatic/FUNCPATHGENERAL.tmp
Found broken examples in automatic/FUNCPATHMSD.tmp
Found broken examples in automatic/FUNNEL.tmp
Found broken examples in automatic/FUNNEL_PS.tmp
Found broken examples in automatic/GHBFIX.tmp
Found broken examples in automatic/GPROPERTYMAP.tmp
Found broken examples in automatic/HBOND_MATRIX.tmp
Found broken examples in automatic/INCLUDE.tmp
Found broken examples in automatic/INCYLINDER.tmp
Found broken examples in automatic/INENVELOPE.tmp
Found broken examples in automatic/INTERPOLATE_GRID.tmp
Found broken examples in automatic/LOCAL_AVERAGE.tmp
Found broken examples in automatic/MAZE_OPTIMIZER_BIAS.tmp
Found broken examples in automatic/MAZE_RANDOM_ACCELERATION_MD.tmp
Found broken examples in automatic/MAZE_SIMULATED_ANNEALING.tmp
Found broken examples in automatic/MAZE_STEERED_MD.tmp
Found broken examples in automatic/MULTICOLVARDENS.tmp
Found broken examples in automatic/OUTPUT_CLUSTER.tmp
Found broken examples in automatic/PAMM.tmp
Found broken examples in automatic/PCA.tmp
Found broken examples in automatic/PCAVARS.tmp
Found broken examples in automatic/PIV.tmp
Found broken examples in automatic/PLUMED.tmp
Found broken examples in automatic/PYCVINTERFACE.tmp
Found broken examples in automatic/PYTHONFUNCTION.tmp
Found broken examples in automatic/Q3.tmp
Found broken examples in automatic/Q4.tmp
Found broken examples in automatic/Q6.tmp
Found broken examples in automatic/QUATERNION.tmp
Found broken examples in automatic/SIZESHAPE_POSITION_LINEAR_PROJ.tmp
Found broken examples in automatic/SIZESHAPE_POSITION_MAHA_DIST.tmp
Found broken examples in automatic/SPRINT.tmp
Found broken examples in automatic/TETRAHEDRALPORE.tmp
Found broken examples in automatic/TORSIONS.tmp
Found broken examples in automatic/WHAM_WEIGHTS.tmp
Found broken examples in AnalysisPP.md
Found broken examples in CollectiveVariablesPP.md
Found broken examples in MiscelaneousPP.md

Please sign in to comment.