Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tbgl
tools
mrdna
Commits
12a7248f
Commit
12a7248f
authored
Dec 20, 2017
by
cmaffeo2
Browse files
Removed assertion that numSteps must be of type 'int'
parent
c16fbbed
Changes
3
Hide whitespace changes
Inline
Side-by-side
atomicModel.py
View file @
12a7248f
...
...
@@ -1438,7 +1438,7 @@ if {$nLast == 0} {
for
gpu
in
gpus
:
assert
(
type
(
gpu
)
is
int
)
assert
(
type
(
numSteps
)
is
int
)
#
assert(type(numSteps) is int)
assert
(
type
(
numprocs
)
is
int
)
if
outputDirectory
==
''
:
outputDirectory
=
'.'
...
...
beadModel.py
View file @
12a7248f
...
...
@@ -287,7 +287,7 @@ class beadModel():
def
simulate
(
self
,
outputPrefix
,
outputDirectory
=
'output'
,
numSteps
=
100000000
,
timestep
=
100e-6
,
gpu
=
0
,
arbd
=
None
):
assert
(
type
(
gpu
)
is
int
)
assert
(
type
(
numSteps
)
is
int
)
#
assert(type(numSteps) is int)
if
outputDirectory
==
''
:
outputDirectory
=
'.'
if
arbd
is
None
:
...
...
beadModelTwist.py
View file @
12a7248f
...
...
@@ -356,7 +356,7 @@ class beadModelTwist():
assert
(
type
(
gpu
)
is
int
)
assert
(
type
(
numSteps
)
is
int
)
#
assert(type(numSteps) is int)
if
outputDirectory
==
''
:
outputDirectory
=
'.'
if
arbd
is
None
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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