Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
abcda5cd
Unverified
Commit
abcda5cd
authored
Jan 08, 2025
by
Jakob Görgen
Browse files
symphony/runtime/simbricks/runtime/output: added failed method
parent
b4eb3796
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
symphony/runtime/simbricks/runtime/output.py
symphony/runtime/simbricks/runtime/output.py
+3
-0
No files found.
symphony/runtime/simbricks/runtime/output.py
View file @
abcda5cd
...
@@ -56,6 +56,9 @@ class SimulationOutput:
...
@@ -56,6 +56,9 @@ class SimulationOutput:
def
set_failed
(
self
)
->
None
:
def
set_failed
(
self
)
->
None
:
self
.
_success
=
False
self
.
_success
=
False
def
failed
(
self
)
->
bool
:
return
not
self
.
_success
def
set_interrupted
(
self
)
->
None
:
def
set_interrupted
(
self
)
->
None
:
self
.
_success
=
False
self
.
_success
=
False
self
.
_interrupted
=
True
self
.
_interrupted
=
True
...
...
Write
Preview
Markdown
is supported
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