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
797076dc
Commit
797076dc
authored
2 months ago
by
Cristian Lalescu
Browse files
Options
Downloads
Plain Diff
Merge branch 'doc/src_file_error_message' into 'master'
adds error message See merge request
!144
parents
3fabdf72
ec519090
Branches
Branches containing commit
No related tags found
1 merge request
!144
adds error message
Pipeline
#259431
passed
2 months ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
TurTLE/DNS.py
+6
-0
6 additions, 0 deletions
TurTLE/DNS.py
with
6 additions
and
0 deletions
TurTLE/DNS.py
+
6
−
0
View file @
797076dc
...
@@ -1007,6 +1007,12 @@ class DNS(_code):
...
@@ -1007,6 +1007,12 @@ class DNS(_code):
f0
.
close
()
f0
.
close
()
src_file
=
check_file
src_file
=
check_file
break
break
if
type
(
src_file
)
==
type
(
None
):
print
(
'
could not find checkpoint file
'
)
print
(
'
source_checkpoints =
'
,
source_checkpoints
)
print
(
'
checkpoint_field =
'
,
checkpoint_field
)
print
(
'
iteration =
'
,
opt
.
src_iteration
)
exit
(
0
)
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