Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MPI-BugBench
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
High Performance Computing - Public
MPI-BugBench
Merge requests
!12
More improvements to Infrastructure
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Closed
More improvements to Infrastructure
devel-TJ
into
main
Overview
1
Commits
7
Pipelines
0
Changes
1
Closed
More improvements to Infrastructure
Jammer, Tim
requested to merge
devel-TJ
into
main
Feb 6, 2024
Overview
1
Commits
7
Pipelines
0
Changes
1
Renamed MPI_Call to MPICall
in Python it is a good practice to use CamelCase for class names
fix instruction block generating if for empty branch
InstructionBlock returns empty list instead of exception when qurey for empty branch
TemplateManager can now insert blocks before or after given one
Edited
Feb 6, 2024
by
Jammer, Tim
0
0
Merge request reports
Viewing commit
c7aedcce
Prev
Next
Show latest version
1 file
+
0
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
c7aedcce
remove debug printing
· c7aedcce
Jammer, Tim
authored
Feb 6, 2024
scripts/Infrastructure/InstructionBlock.py
+
0
−
1
View file @ c7aedcce
Edit in single-file editor
Open in Web IDE
Show full file
@@ -159,7 +159,6 @@ class InstructionBlock:
@@ -159,7 +159,6 @@ class InstructionBlock:
self
.
operations
[
kind
]
=
op
self
.
operations
[
kind
]
=
op
else
:
else
:
as_int
=
int
(
index
)
# will Raise ValueError if not integer
as_int
=
int
(
index
)
# will Raise ValueError if not integer
print
(
op
)
if
not
isinstance
(
op
,
Instruction
):
if
not
isinstance
(
op
,
Instruction
):
raise
ValueError
(
'
Provide Instruction
'
)
raise
ValueError
(
'
Provide Instruction
'
)
if
len
(
self
.
operations
[
kind
])
<
as_int
:
if
len
(
self
.
operations
[
kind
])
<
as_int
:
Loading