You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Jonathan, I've been playing around with your handy OpenMC tools, specifically the plotters. I've encountered this error with both the standalone source plotter and the OpenMC plot utility. Both were installed with pip. Should I be using a different version of OpenMC? I'm currently running version 0.13.3 (I dumped the version info at the end of the email. Thanks, Bor
AttributeError: module 'openmc' has no attribute 'SourceBase'
Traceback:
File "/home/bor/anaconda3/envs/openmc-env/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "/home/bor/anaconda3/envs/openmc-env/lib/python3.11/site-packages/openmc_plot/pages/3_✴️_Source_plot.py", line 4, in
import openmc_source_plotter
File "/home/bor/anaconda3/envs/openmc-env/lib/python3.11/site-packages/openmc_source_plotter/init.py", line 16, in
from .core import *
File "/home/bor/anaconda3/envs/openmc-env/lib/python3.11/site-packages/openmc_source_plotter/core.py", line 220, in
openmc.SourceBase.sample_initial_particles = sample_initial_particles
^^^^^^^^^^^^^^^^^
OpenMC version 0.13.3
Git SHA1: 50e39a4e20dc9e0f3d7ccf07333f6a5e6c797c8c
Copyright (c) 2011-2023 MIT, UChicago Argonne LLC, and contributors
MIT/X license at https://docs.openmc.org/en/latest/license.html
Build type: Release
Compiler ID: GNU 11.3.0
MPI enabled: no
Parallel HDF5 enabled: no
PNG support: yes
DAGMC support: yes
libMesh support: no
MCPL support: no
NCrystal support: no
Coverage testing: no
Profiling flags: no
The text was updated successfully, but these errors were encountered:
Hey Jonathan, I've been playing around with your handy OpenMC tools, specifically the plotters. I've encountered this error with both the standalone source plotter and the OpenMC plot utility. Both were installed with pip. Should I be using a different version of OpenMC? I'm currently running version 0.13.3 (I dumped the version info at the end of the email. Thanks, Bor
AttributeError: module 'openmc' has no attribute 'SourceBase'
Traceback:
File "/home/bor/anaconda3/envs/openmc-env/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "/home/bor/anaconda3/envs/openmc-env/lib/python3.11/site-packages/openmc_plot/pages/3_✴️_Source_plot.py", line 4, in
import openmc_source_plotter
File "/home/bor/anaconda3/envs/openmc-env/lib/python3.11/site-packages/openmc_source_plotter/init.py", line 16, in
from .core import *
File "/home/bor/anaconda3/envs/openmc-env/lib/python3.11/site-packages/openmc_source_plotter/core.py", line 220, in
openmc.SourceBase.sample_initial_particles = sample_initial_particles
^^^^^^^^^^^^^^^^^
OpenMC version 0.13.3
Git SHA1: 50e39a4e20dc9e0f3d7ccf07333f6a5e6c797c8c
Copyright (c) 2011-2023 MIT, UChicago Argonne LLC, and contributors
MIT/X license at https://docs.openmc.org/en/latest/license.html
Build type: Release
Compiler ID: GNU 11.3.0
MPI enabled: no
Parallel HDF5 enabled: no
PNG support: yes
DAGMC support: yes
libMesh support: no
MCPL support: no
NCrystal support: no
Coverage testing: no
Profiling flags: no
The text was updated successfully, but these errors were encountered: