Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
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