Skip to content

Commit 52c5812

Browse files
committed
Add demo project
0 parents  commit 52c5812

26 files changed

+101895
-0
lines changed

.gitignore

+300
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,300 @@
1+
models_variational_gp/
2+
3+
# Created by https://www.toptal.com/developers/gitignore/api/macos,python,pycharm+all
4+
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,python,pycharm+all
5+
6+
### macOS ###
7+
# General
8+
.DS_Store
9+
.AppleDouble
10+
.LSOverride
11+
12+
# Icon must end with two \r
13+
Icon
14+
15+
16+
# Thumbnails
17+
._*
18+
19+
# Files that might appear in the root of a volume
20+
.DocumentRevisions-V100
21+
.fseventsd
22+
.Spotlight-V100
23+
.TemporaryItems
24+
.Trashes
25+
.VolumeIcon.icns
26+
.com.apple.timemachine.donotpresent
27+
28+
# Directories potentially created on remote AFP share
29+
.AppleDB
30+
.AppleDesktop
31+
Network Trash Folder
32+
Temporary Items
33+
.apdisk
34+
35+
### macOS Patch ###
36+
# iCloud generated files
37+
*.icloud
38+
39+
### PyCharm+all ###
40+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
41+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
42+
43+
# User-specific stuff
44+
.idea/**/workspace.xml
45+
.idea/**/tasks.xml
46+
.idea/**/usage.statistics.xml
47+
.idea/**/dictionaries
48+
.idea/**/shelf
49+
50+
# AWS User-specific
51+
.idea/**/aws.xml
52+
53+
# Generated files
54+
.idea/**/contentModel.xml
55+
56+
# Sensitive or high-churn files
57+
.idea/**/dataSources/
58+
.idea/**/dataSources.ids
59+
.idea/**/dataSources.local.xml
60+
.idea/**/sqlDataSources.xml
61+
.idea/**/dynamic.xml
62+
.idea/**/uiDesigner.xml
63+
.idea/**/dbnavigator.xml
64+
65+
# Gradle
66+
.idea/**/gradle.xml
67+
.idea/**/libraries
68+
69+
# Gradle and Maven with auto-import
70+
# When using Gradle or Maven with auto-import, you should exclude module files,
71+
# since they will be recreated, and may cause churn. Uncomment if using
72+
# auto-import.
73+
# .idea/artifacts
74+
# .idea/compiler.xml
75+
# .idea/jarRepositories.xml
76+
# .idea/modules.xml
77+
# .idea/*.iml
78+
# .idea/modules
79+
# *.iml
80+
# *.ipr
81+
82+
# CMake
83+
cmake-build-*/
84+
85+
# Mongo Explorer plugin
86+
.idea/**/mongoSettings.xml
87+
88+
# File-based project format
89+
*.iws
90+
91+
# IntelliJ
92+
out/
93+
94+
# mpeltonen/sbt-idea plugin
95+
.idea_modules/
96+
97+
# JIRA plugin
98+
atlassian-ide-plugin.xml
99+
100+
# Cursive Clojure plugin
101+
.idea/replstate.xml
102+
103+
# SonarLint plugin
104+
.idea/sonarlint/
105+
106+
# Crashlytics plugin (for Android Studio and IntelliJ)
107+
com_crashlytics_export_strings.xml
108+
crashlytics.properties
109+
crashlytics-build.properties
110+
fabric.properties
111+
112+
# Editor-based Rest Client
113+
.idea/httpRequests
114+
115+
# Android studio 3.1+ serialized cache file
116+
.idea/caches/build_file_checksums.ser
117+
118+
### PyCharm+all Patch ###
119+
# Ignore everything but code style settings and run configurations
120+
# that are supposed to be shared within teams.
121+
122+
.idea/*
123+
124+
!.idea/codeStyles
125+
!.idea/runConfigurations
126+
127+
### Python ###
128+
# Byte-compiled / optimized / DLL files
129+
__pycache__/
130+
*.py[cod]
131+
*$py.class
132+
133+
# C extensions
134+
*.so
135+
136+
# Distribution / packaging
137+
.Python
138+
build/
139+
develop-eggs/
140+
dist/
141+
downloads/
142+
eggs/
143+
.eggs/
144+
lib/
145+
lib64/
146+
parts/
147+
sdist/
148+
var/
149+
wheels/
150+
share/python-wheels/
151+
*.egg-info/
152+
.installed.cfg
153+
*.egg
154+
MANIFEST
155+
156+
# PyInstaller
157+
# Usually these files are written by a python script from a template
158+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
159+
*.manifest
160+
*.spec
161+
162+
# Installer logs
163+
pip-log.txt
164+
pip-delete-this-directory.txt
165+
166+
# Unit test / coverage reports
167+
htmlcov/
168+
.tox/
169+
.nox/
170+
.coverage
171+
.coverage.*
172+
.cache
173+
nosetests.xml
174+
coverage.xml
175+
*.cover
176+
*.py,cover
177+
.hypothesis/
178+
.pytest_cache/
179+
cover/
180+
181+
# Translations
182+
*.mo
183+
*.pot
184+
185+
# Django stuff:
186+
*.log
187+
local_settings.py
188+
db.sqlite3
189+
db.sqlite3-journal
190+
191+
# Flask stuff:
192+
instance/
193+
.webassets-cache
194+
195+
# Scrapy stuff:
196+
.scrapy
197+
198+
# Sphinx documentation
199+
docs/_build/
200+
201+
# PyBuilder
202+
.pybuilder/
203+
target/
204+
205+
# Jupyter Notebook
206+
.ipynb_checkpoints
207+
208+
# IPython
209+
profile_default/
210+
ipython_config.py
211+
212+
# pyenv
213+
# For a library or package, you might want to ignore these files since the code is
214+
# intended to run in multiple environments; otherwise, check them in:
215+
# .python-version
216+
217+
# pipenv
218+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
219+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
220+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
221+
# install all needed dependencies.
222+
#Pipfile.lock
223+
224+
# poetry
225+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
226+
# This is especially recommended for binary packages to ensure reproducibility, and is more
227+
# commonly ignored for libraries.
228+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
229+
#poetry.lock
230+
231+
# pdm
232+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
233+
#pdm.lock
234+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
235+
# in version control.
236+
# https://pdm.fming.dev/#use-with-ide
237+
.pdm.toml
238+
239+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
240+
__pypackages__/
241+
242+
# Celery stuff
243+
celerybeat-schedule
244+
celerybeat.pid
245+
246+
# SageMath parsed files
247+
*.sage.py
248+
249+
# Environments
250+
.env
251+
.venv
252+
env/
253+
venv/
254+
ENV/
255+
env.bak/
256+
venv.bak/
257+
258+
# Spyder project settings
259+
.spyderproject
260+
.spyproject
261+
262+
# Rope project settings
263+
.ropeproject
264+
265+
# mkdocs documentation
266+
/site
267+
268+
# mypy
269+
.mypy_cache/
270+
.dmypy.json
271+
dmypy.json
272+
273+
# Pyre type checker
274+
.pyre/
275+
276+
# pytype static type analyzer
277+
.pytype/
278+
279+
# Cython debug symbols
280+
cython_debug/
281+
282+
# PyCharm
283+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
284+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
285+
# and can be added to the global gitignore or merged into this file. For a more nuclear
286+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
287+
#.idea/
288+
289+
### Python Patch ###
290+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
291+
poetry.toml
292+
293+
# ruff
294+
.ruff_cache/
295+
296+
# LSP config files
297+
pyrightconfig.json
298+
299+
# End of https://www.toptal.com/developers/gitignore/api/macos,python,pycharm+all
300+

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Packages
2+
3+
You can use the `environment.yml` file, BUT it is only for CPU.
4+
5+
openmm, dmff, mdtraj
6+
7+
openmm needs to be installed by conda following the instruction
8+
9+
mdtraj is easy to install
10+
11+
dmff needs to be installed from source code https://github.com/deepmodeling/DMFF/blob/master/docs/user_guide/2.installation.md
12+
you can install it with
13+
14+
```
15+
pip install dmff @ git+https://github.com/deepmodeling/[email protected]
16+
```
17+
18+
# Run the code
19+
```
20+
python main_md.py
21+
```

0 commit comments

Comments
 (0)