Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LightSimtastic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UHHDetLab
SiPM
LightSimtastic
Commits
3cb047fa
Commit
3cb047fa
authored
1 year ago
by
Annika Vauth
Browse files
Options
Downloads
Patches
Plain Diff
Suppress warning about ndarray from ragged nested sequences
parent
9fef6c29
No related branches found
No related tags found
1 merge request
!1
Suppress warning about ndarray from ragged nested sequences
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
LightSimtastic.py
+4
-1
4 additions, 1 deletion
LightSimtastic.py
with
4 additions
and
1 deletion
LightSimtastic.py
+
4
−
1
View file @
3cb047fa
...
...
@@ -21,6 +21,9 @@ from copy import deepcopy
np
.
set_printoptions
(
suppress
=
True
)
# evil but works: just suppress the numpy nested ragged array warning
import
warnings
warnings
.
filterwarnings
(
"
ignore
"
,
category
=
np
.
VisibleDeprecationWarning
)
class
SiPMSimulation
:
...
...
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