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
I believe the only functional solution would be something like:
In context.py, at "import armi" time, ARMI should determine if this system is Window. Linux, or Mac, and sets a global variable: armi.context.PLATFORM.
If it's not Windows or Linux, we fail immediately? This seems good, but is debatable.
Use the variable armi.context.PLATFORM throughout the codebase.
The goal here is to remove a ton of existing (and future) duplicate catches all around ARMI:
I believe the only functional solution would be something like:
context.py
, at "import armi" time, ARMI should determine if this system is Window. Linux, or Mac, and sets a global variable:armi.context.PLATFORM
.armi.context.PLATFORM
throughout the codebase.The goal here is to remove a ton of existing (and future) duplicate catches all around ARMI:
Instead we can do:
The text was updated successfully, but these errors were encountered: