Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
GEPARD
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
GEPARD
GEPARD
Commits
3ad72d39
Commit
3ad72d39
authored
Jul 22, 2019
by
Josef Brandt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/RefactoringAnalysisModules' into RefactoringAnalysisModules
parents
a8794a3c
530dc6cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
analysis/particleContainer.py
analysis/particleContainer.py
+6
-1
No files found.
analysis/particleContainer.py
View file @
3ad72d39
...
...
@@ -159,7 +159,12 @@ class ParticleContainer(object):
particle
.
setAllSpectraToNewAssignment
(
newAssignment
)
def
getParticleOfIndex
(
self
,
index
):
particle
=
self
.
particles
[
index
]
try
:
particle
=
self
.
particles
[
index
]
except
:
print
(
'failed getting particle'
)
print
(
'requested Index:'
,
index
)
print
(
'len particles'
,
len
(
self
.
particles
))
assert
particle
.
index
==
index
,
f
'particle.index (
{
particle
.
index
}
) does match requested index in particleList (
{
index
}
)'
return
particle
...
...
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