Skip to content
GitLab
Menu
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
135db759
Commit
135db759
authored
Sep 05, 2018
by
cmaffeo2
Browse files
Updated dnarbd script to allow specification of the output period
parent
6316e8af
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/dnarbd
View file @
135db759
...
...
@@ -15,6 +15,8 @@ parser.add_argument('-d','--directory', type=str, default=None,
help
=
'Directory for simulation; does not need to exist yet'
)
parser
.
add_argument
(
'-g'
,
'--gpu'
,
type
=
int
,
default
=
0
,
help
=
'GPU for simulation; check nvidia-smi for availability'
)
parser
.
add_argument
(
'--output-period'
,
type
=
float
,
default
=
1e4
,
help
=
'Simulation steps between DCD frames'
)
parser
.
add_argument
(
'--coarse-steps'
,
type
=
float
,
default
=
1e7
,
help
=
'Simulation steps for coarse model (200 fs/step)'
)
parser
.
add_argument
(
'--fine-steps'
,
type
=
float
,
default
=
1e7
,
...
...
@@ -59,6 +61,8 @@ if __name__ == '__main__':
job_id
=
"job-"
+
prefix
,
directory
=
args
.
directory
,
gpu
=
args
.
gpu
,
coarse_output_period
=
int
(
args
.
output_period
),
fine_output_period
=
int
(
args
.
output_period
),
coarse_steps
=
int
(
args
.
coarse_steps
),
fine_steps
=
int
(
args
.
fine_steps
),
backbone_scale
=
args
.
backbone_scale
...
...
Write
Preview
Supports
Markdown
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