Skip to content

Commit

Permalink
Revert "Test for plumed#726"
Browse files Browse the repository at this point in the history
This reverts commit 922f11d.

See plumed#727
  • Loading branch information
GiovanniBussi committed Aug 15, 2021
1 parent 657fef9 commit b9ca241
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 22 deletions.
6 changes: 3 additions & 3 deletions regtest/basic/rt-make-exceptions/COLVAR.reference
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! FIELDS time d d1 m1.bias
0.000000 0.00000 0.00000 0.69807
0.000000 5.19615 5.19615 1.58275
0.000000 10.39230 10.39230 2.16550
0.000000 0.00000 0.00000 0.00000
0.000000 5.19615 5.19615 0.00000
0.000000 10.39230 10.39230 0.58275
5 changes: 0 additions & 5 deletions regtest/basic/rt-make-exceptions/H1

This file was deleted.

5 changes: 0 additions & 5 deletions regtest/basic/rt-make-exceptions/H1.reference
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,3 @@
#! SET kerneltype gaussian
0.00000 5.19615 5.00000 1.00000 -1.00000
0.00000 10.39230 5.00000 1.00000 -1.00000
#! FIELDS time d sigma_d height biasf
#! SET multivariate false
#! SET kerneltype gaussian
0.00000 5.19615 5.00000 1.00000 -1.00000
0.00000 10.39230 5.00000 1.00000 -1.00000
5 changes: 0 additions & 5 deletions regtest/basic/rt-make-exceptions/config
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
type=make
plumed_needs="dlopen cregex"

function plumed_regtest_before(){
awk 'BEGIN{N='$(wc -l H1 |awk '{print $1}')'}{printf($0);if(NR<N)print""}' H1 > H1_nonewline
}

3 changes: 1 addition & 2 deletions regtest/basic/rt-make-exceptions/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,14 @@ int main(){
test_line(ofs,plumed,"METAD ARG=d,d1 ADAPTIVE=DIFF PACE=1.5 SIGMA=1 HEIGHT=5");
test_line(ofs,plumed,"METAD ARG=d,d1 ADAPTIVE=GEOM PACE=1 SIGMA=1 HEIGHT=5 SIGMA_MIN=3");
test_line(ofs,plumed,"METAD ARG=d,d1 ADAPTIVE=GEOM PACE=1 SIGMA=1 HEIGHT=5 SIGMA_MAX=4");
test_line(ofs,plumed,"METAD ARG=d PACE=1 SIGMA=5 HEIGHT=1 FILE=H1_nonewline RESTART=YES FMT=%9.5f");
test_line(ofs,plumed,"PIECEWISE ARG=t POINT0=1.2,10 POINT1=1.3,0 POINT2=1.4,5");
test_line(ofs,plumed,"SORT ARG=t,d");
test_line(ofs,plumed,"COMBINE ARG=d,d1 COEFFICIENTS=3");
test_line(ofs,plumed,"COMBINE ARG=d,d1 COEFFICIENTS=3,3 PARAMETERS=1");
test_line(ofs,plumed,"COMBINE ARG=d,d1 COEFFICIENTS=3,3 PARAMETERS=1,2 POWERS=4");

// these should not fail
plumed.cmd("readInputLine","m1: METAD ARG=d PACE=1 SIGMA=5 HEIGHT=1 FILE=H1 RESTART=YES FMT=%9.5f");
plumed.cmd("readInputLine","m1: METAD ARG=d PACE=1 SIGMA=5 HEIGHT=1 FILE=H1 FMT=%9.5f");
plumed.cmd("readInputLine","m2: METAD ARG=d PACE=2 SIGMA=5 HEIGHT=1 FILE=H2 FMT=%9.5f");
plumed.cmd("readInputLine","PRINT ARG=d,d1,m1.bias FILE=COLVAR FMT=%9.5f");

Expand Down
2 changes: 0 additions & 2 deletions regtest/basic/rt-make-exceptions/output.reference
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ readInputLine METAD ARG=d,d1 ADAPTIVE=GEOM PACE=1 SIGMA=1 HEIGHT=5 SIGMA_MIN=3
+++ catched
readInputLine METAD ARG=d,d1 ADAPTIVE=GEOM PACE=1 SIGMA=1 HEIGHT=5 SIGMA_MAX=4
+++ catched
readInputLine METAD ARG=d PACE=1 SIGMA=5 HEIGHT=1 FILE=H1_nonewline RESTART=YES FMT=%9.5f
+++ catched
readInputLine PIECEWISE ARG=t POINT0=1.2,10 POINT1=1.3,0 POINT2=1.4,5
+++ catched
readInputLine SORT ARG=t,d
Expand Down

0 comments on commit b9ca241

Please sign in to comment.