mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
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:
parent
94537e8570
commit
2b7fa8fdd2
1 changed files with 1 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue