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
TurTLE
TurTLE
Commits
438f76dc
Commit
438f76dc
authored
Mar 03, 2019
by
Cristian Lalescu
Browse files
add more general checkpoint file name method
parent
2836c5b6
Pipeline
#44483
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bfps/DNS.py
View file @
438f76dc
...
...
@@ -781,6 +781,10 @@ class DNS(_code):
return
os
.
path
.
join
(
self
.
work_dir
,
self
.
simname
+
'_checkpoint_0.h5'
)
def
get_checkpoint_fname
(
self
,
checkpoint
=
0
):
return
os
.
path
.
join
(
self
.
work_dir
,
self
.
simname
+
'_checkpoint_{0}.h5'
.
format
(
checkpoint
))
def
generate_tracer_state
(
self
,
rseed
=
None
,
...
...
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