Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TurTLE
TurTLE
Commits
a7ca8e9f
Commit
a7ca8e9f
authored
1 year ago
by
Cristian Lalescu
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix/initial_condition_search' into 'master'
fixes initial condition search procedure See merge request
!109
parents
ae2d011f
a4ba9f0a
Branches
Branches containing commit
Tags
5.4.5
Tags containing commit
1 merge request
!109
fixes initial condition search procedure
Pipeline
#205168
failed
1 year ago
Stage: build
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
TurTLE/DNS.py
+7
-6
7 additions, 6 deletions
TurTLE/DNS.py
with
7 additions
and
6 deletions
TurTLE/DNS.py
+
7
−
6
View file @
a7ca8e9f
...
@@ -881,12 +881,13 @@ class DNS(_code):
...
@@ -881,12 +881,13 @@ class DNS(_code):
for
cp
in
range
(
source_current_checkpoint
+
1
)]
for
cp
in
range
(
source_current_checkpoint
+
1
)]
src_file
=
None
src_file
=
None
for
check_file
in
source_checkpoints
:
for
check_file
in
source_checkpoints
:
f0
=
h5py
.
File
(
check_file
,
'
r
'
)
if
os
.
path
.
exists
(
check_file
):
if
(
'
{0}
'
.
format
(
opt
.
src_iteration
)
f0
=
h5py
.
File
(
check_file
,
'
r
'
)
in
f0
[
checkpoint_field
+
'
/complex
'
].
keys
()):
if
(
'
{0}
'
.
format
(
opt
.
src_iteration
)
f0
.
close
()
in
f0
[
checkpoint_field
+
'
/complex
'
].
keys
()):
src_file
=
check_file
f0
.
close
()
break
src_file
=
check_file
break
self
.
copy_complex_field
(
self
.
copy_complex_field
(
src_file
,
src_file
,
checkpoint_field
+
'
/complex/{0}
'
.
format
(
opt
.
src_iteration
),
checkpoint_field
+
'
/complex/{0}
'
.
format
(
opt
.
src_iteration
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment