Skip to content

Commit bebca13

Browse files
authored
Merge pull request #52 from Becksteinlab/examples
chore: added client.py files and cleaned uo output data from examples
2 parents aa5d950 + f7441a0 commit bebca13

File tree

11 files changed

+26
-349
lines changed

11 files changed

+26
-349
lines changed

examples/gromacs/repo_files/client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from imdclient.IMD import IMDReader
22
import MDAnalysis as mda
33
import logging
4-
from imdclient.tests.datafiles import NAMD_TOPOL
4+
from imdclient.tests.datafiles import GROMACS_TOP
55

66
logger = logging.getLogger("imdclient.IMDClient")
77
file_handler = logging.FileHandler("imdreader.log")
@@ -13,7 +13,7 @@
1313
logger.setLevel(logging.INFO)
1414

1515
i = 0
16-
u = mda.Universe(NAMD_TOPOL, "imd://localhost:8888")
16+
u = mda.Universe(GROMACS_TOP, "imd://localhost:8888")
1717
for ts in u.trajectory:
1818
i += 1
1919

examples/gromacs/slurm/client.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from imdclient.IMD import IMDReader
33
import MDAnalysis as mda
44
import logging
5+
from imdclient.tests.datafiles import GROMACS_TOP
56

67
logger = logging.getLogger("imdclient.IMDClient")
78
file_handler = logging.FileHandler("imdreader.log")
@@ -13,7 +14,7 @@
1314
logger.setLevel(logging.INFO)
1415

1516
i = 0
16-
u = mda.Universe("md.tpr", "imd://localhost:8888")
17+
u = mda.Universe(GROMACS_TOP, "imd://localhost:8888")
1718
for ts in u.trajectory:
1819
i += 1
1920

examples/gromacs/slurm/md.cpt

-3.35 MB
Binary file not shown.

examples/gromacs/slurm/md.edr

-68.8 KB
Binary file not shown.

examples/gromacs/slurm/md.tpr

-6.89 MB
Binary file not shown.

examples/gromacs/slurm/md.trr

-3.35 MB
Binary file not shown.

examples/gromacs/slurm/md.xvg

-23
This file was deleted.

examples/gromacs/slurm/mdout.mdp

-321
This file was deleted.

0 commit comments

Comments
 (0)