Revert "enable mcpl from the python layer"

This reverts commit e3f1bdaca1.
There is now a check in the cpp-layer if the file is named .mcpl
This commit is contained in:
erkn 2022-12-20 23:58:22 +01:00
parent 94537e8570
commit 2b7fa8fdd2

View file

@ -223,10 +223,7 @@ class Source:
if self.particle != 'neutron':
element.set("particle", self.particle)
if self.file is not None:
if (self.file.endswith('.mcpl')):
element.set("mcpl", self.file)
else:
element.set("file", self.file)
element.set("file", self.file)
if self.library is not None:
element.set("library", self.library)
if self.parameters is not None: