mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fixed opencg import int openmc.opencg_compatible
This commit is contained in:
parent
e18907ced6
commit
66124d95ba
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ import copy
|
|||
import numpy as np
|
||||
|
||||
try:
|
||||
from openmc.opencg_compatible import get_opencg_geometry
|
||||
import opencg
|
||||
except ImportError:
|
||||
msg = 'Unable to import opencg which is needed by openmc.opencg_compatible'
|
||||
raise ImportError(msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue