fusion-energy / openmc-plasma-source

Creates a plasma source as an openmc.source object from input parameters that describe the plasma
MIT License
25 stars 11 forks source link

openmc.Source now renamed to openmc.IndependentSource #80

Closed shimwell closed 3 months ago

shimwell commented 1 year ago

Now that PR https://github.com/openmc-dev/openmc/pull/2524 has been merged in the class Source has been renamed

This package might need updating in a few places

grep -r 'Source(' .
shimwell commented 1 year ago

I don't think a simple find replace works

TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases