Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
98ffd5fe
"wrappers/python/vscode:/vscode.git/clone" did not exist on "46b334cecd7c20c7cdf70b1d8e12e193ab8cfcba"
Commit
98ffd5fe
authored
Dec 30, 2013
by
Robert McGibbon
Browse files
Just remove the whole nonsense
parent
d5115033
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
19 deletions
+1
-19
wrappers/python/simtk/openmm/__init__.py
wrappers/python/simtk/openmm/__init__.py
+1
-19
No files found.
wrappers/python/simtk/openmm/__init__.py
View file @
98ffd5fe
#
#
#
"""
Package simtk.openmm
...
...
@@ -13,17 +9,7 @@ It also tries to load any plugin modules it can find.
__author__
=
"Randall J. Radmer"
import
os
,
sys
,
glob
,
os
.
path
if
sys
.
platform
not
in
[
'win32'
,
'darwin'
]:
# The following is an evil incantation that is needed to permit
# the POSIX "dlopen" function to work. I do not understand
# it. If a better solution is known, please forward to the
# PyOpenMM code maintainers.
import
ctypes
flags
=
sys
.
getdlopenflags
()
sys
.
setdlopenflags
(
flags
|
ctypes
.
RTLD_GLOBAL
)
import
os
,
os
.
path
from
simtk.openmm.openmm
import
*
from
simtk.openmm.vec3
import
Vec3
from
simtk.openmm
import
version
...
...
@@ -32,7 +18,3 @@ if os.getenv('OPENMM_PLUGIN_DIR') is None and os.path.isdir(version.openmm_libra
else
:
pluginLoadedLibNames
=
Platform
.
loadPluginsFromDirectory
(
Platform
.
getDefaultPluginsDirectory
())
__version__
=
Platform
.
getOpenMMVersion
()
if
sys
.
platform
not
in
[
'win32'
,
'darwin'
]:
# rset the dlopen flags on linux
sys
.
setdlopenflags
(
flags
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment