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
8b4a921e
Commit
8b4a921e
authored
Nov 05, 2015
by
Robert McGibbon
Browse files
Fix some return values
parent
f07ac7bd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
wrappers/python/filterPythonFiles.py
wrappers/python/filterPythonFiles.py
+1
-1
wrappers/python/simtk/openmm/app/charmmpsffile.py
wrappers/python/simtk/openmm/app/charmmpsffile.py
+1
-1
wrappers/python/simtk/openmm/app/modeller.py
wrappers/python/simtk/openmm/app/modeller.py
+1
-1
No files found.
wrappers/python/filterPythonFiles.py
View file @
8b4a921e
...
@@ -71,7 +71,7 @@ while True:
...
@@ -71,7 +71,7 @@ while True:
for
name
,
type
,
descr
in
docstring
[
'Returns'
]:
for
name
,
type
,
descr
in
docstring
[
'Returns'
]:
if
type
==
''
:
if
type
==
''
:
type
=
name
type
=
name
print
(
'{prefix}## @return ({type}) {descr}'
.
format
(
prefix
=
prefix
,
type
=
type
,
name
=
name
,
descr
=
''
.
join
(
descr
)))
print
(
'{prefix}## @return ({type}) {descr}'
.
format
(
prefix
=
prefix
,
type
=
type
,
name
=
name
,
descr
=
'
'
.
join
(
descr
)))
print
(
declaration
,
end
=
''
)
print
(
declaration
,
end
=
''
)
if
len
(
docstringlines
)
==
0
:
if
len
(
docstringlines
)
==
0
:
...
...
wrappers/python/simtk/openmm/app/charmmpsffile.py
View file @
8b4a921e
...
@@ -423,7 +423,7 @@ class CharmmPsfFile(object):
...
@@ -423,7 +423,7 @@ class CharmmPsfFile(object):
If one pointer is set, pointers is simply the integer that is
If one pointer is set, pointers is simply the integer that is
value of that pointer. Otherwise it is a tuple with every pointer
value of that pointer. Otherwise it is a tuple with every pointer
value defined in the first line
value defined in the first line
data :
list
list
A list of all data in the parsed section converted to `dtype'
A list of all data in the parsed section converted to `dtype'
"""
"""
conv
=
CharmmPsfFile
.
_convert
conv
=
CharmmPsfFile
.
_convert
...
...
wrappers/python/simtk/openmm/app/modeller.py
View file @
8b4a921e
...
@@ -655,7 +655,7 @@ class Modeller(object):
...
@@ -655,7 +655,7 @@ class Modeller(object):
-------
-------
list
list
a list of what variant was actually selected for each residue,
a list of what variant was actually selected for each residue,
in the same format as the variants param
in the same format as the variants param
eter
"""
"""
# Check the list of variants.
# Check the list of variants.
...
...
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