Commit 3ad72d39 authored by Josef Brandt's avatar Josef Brandt

Merge remote-tracking branch 'origin/RefactoringAnalysisModules' into RefactoringAnalysisModules

parents a8794a3c 530dc6cb
......@@ -159,7 +159,12 @@ class ParticleContainer(object):
def getParticleOfIndex(self, index):
particle = self.particles[index]
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment