Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KM3BUU
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
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
simulation
KM3BUU
Merge requests
!90
Fix energy min/max fields
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix energy min/max fields
fix_min_max_energy_field
into
master
Overview
0
Commits
10
Pipelines
9
Changes
2
Merged
Johannes Schumann
requested to merge
fix_min_max_energy_field
into
master
8 months ago
Overview
0
Commits
10
Pipelines
9
Changes
1
Expand
what the title says
0
0
Merge request reports
Compare
version 4
version 8
7634d58c
8 months ago
version 7
c1bc9a2b
8 months ago
version 6
565e9a4c
8 months ago
version 5
1f09965c
8 months ago
version 4
c5c42852
8 months ago
version 3
e5ed5285
8 months ago
version 2
106bbf7b
8 months ago
version 1
d9ed8512
8 months ago
master (base)
and
version 5
latest version
832fe942
10 commits,
8 months ago
version 8
7634d58c
9 commits,
8 months ago
version 7
c1bc9a2b
8 commits,
8 months ago
version 6
565e9a4c
7 commits,
8 months ago
version 5
1f09965c
5 commits,
8 months ago
version 4
c5c42852
4 commits,
8 months ago
version 3
e5ed5285
3 commits,
8 months ago
version 2
106bbf7b
2 commits,
8 months ago
version 1
d9ed8512
1 commit,
8 months ago
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
km3buu/tests/test_output.py
+
1
−
1
Options
@@ -120,7 +120,7 @@ class TestGiBUUOutput(unittest.TestCase):
def
test_min_max_energy
(
self
):
assert
not
np
.
isnan
(
self
.
output
.
energy_min
)
assert
not
np
.
isnan
(
self
.
output
.
energy_max
)
np
.
testing
.
assert_array_almost_equal
(
self
.
output
.
energy_min
,
1.0
)
np
.
testing
.
assert_array_almost_equal
(
self
.
output
.
energy_min
,
0.11
)
np
.
testing
.
assert_array_almost_equal
(
self
.
output
.
energy_max
,
100.0
)
Loading