Skip to content

Commit a0b0d70

Browse files
committed
improved automotated testing
1 parent 66b63d1 commit a0b0d70

6 files changed

Lines changed: 8 additions & 6 deletions

File tree

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ python-codes/*.data
1010

1111
benchmark/*/*.data
1212

13-
./tests/*.data
14-
./tests/variable.lammps
13+
tests/*.data
14+
tests/variable.lammps
15+
16+
automated-testing/generated-codes/*

automated-testing/build-code.sh

100644100755
File mode changed.

automated-testing/build-documentation.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
"path_to_docs = git_path + \"/mdcourse.github.io/docs/source/chapters/\"\n",
2929
"\n",
3030
"class_list = []\n",
31-
"for chapter_id in [2, 3]:\n",
31+
"for chapter_id in [1, 2, 3]:\n",
3232
"\n",
3333
" folder = \"generated-codes/chapter\"+str(chapter_id)+\"/\"\n",
3434
" if os.path.exists(folder) is False:\n",
3535
" os.mkdir(folder)\n",
36-
" if chapter_id > 2:\n",
36+
" if chapter_id > 1:\n",
3737
" for my_id, class_name in class_list:\n",
3838
" if \"test_\" not in class_name:\n",
3939
" print(\"generated-codes/chapter\"+str(my_id)+\"/\"+class_name+\".py\")\n",

mdcourse.github.io

python-codes/Functions.py

Whitespace-only changes.

python-codes/MolecularDynamics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from InitializeSimulation import InitializeSimulation
77
from Measurements import Measurements
88

9-
class MolecularDynamics(InitializeSimulation, Measurements):
9+
class MolecularDynamics(InitializeSimulation, Measurements): #to fix should be Outputs
1010
def __init__(self,
1111
maximum_steps,
1212
tau_temp = None,

0 commit comments

Comments
 (0)