Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
30
Issue boards
Milestones
Wiki
Code
Merge requests
31
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
ebrains-spack-builds
Commits
71530f9c
Commit
71530f9c
authored
1 year ago
by
Eleni Mathioulaki
Browse files
Options
Downloads
Patches
Plain Diff
improve exception handling
parent
d3523dfa
No related branches found
Branches containing commit
No related tags found
1 merge request
!457
create new experimental release
Pipeline
#26064
waiting for manual action with stage
Stage:
in 1 hour, 5 minutes, and 13 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/wf-brainscales2-demos/package.py
+1
-1
1 addition, 1 deletion
packages/wf-brainscales2-demos/package.py
packages/wf-multi-area-model/package.py
+1
-1
1 addition, 1 deletion
packages/wf-multi-area-model/package.py
with
2 additions
and
2 deletions
packages/wf-brainscales2-demos/package.py
+
1
−
1
View file @
71530f9c
...
...
@@ -54,7 +54,7 @@ class WfBrainscales2Demos(Package):
try
:
# execute notebook and save
jupyter
(
*
args
)
except
Exception
as
e
:
except
ProcessError
as
e
:
# if the above fails, re-run notebook to produce output with error
jupyter
(
*
(
args
+
[
"
--allow-errors
"
]))
raise
...
...
This diff is collapsed.
Click to expand it.
packages/wf-multi-area-model/package.py
+
1
−
1
View file @
71530f9c
...
...
@@ -47,7 +47,7 @@ class WfMultiAreaModel(Package):
try
:
# execute notebook and save
jupyter
(
*
args
)
except
Exception
as
e
:
except
ProcessError
as
e
:
# if the above fails, re-run notebook to produce output with error
jupyter
(
*
(
args
+
[
"
--allow-errors
"
]))
raise
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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