-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
we could make a streamlit app like this, it could allow multiple materials to be plotted
import streamlit as st
import pandas as pd
import numpy as np
import openmc
area = st.text_area('material')
loc={}
exec(area, globals(), loc)#, {'openmc':openmc})#, {'openmc': openmc, 'openmc.Material': openmc.Material})#, globalsParameter)#, localsParameter)
print(loc)
materials=[]
for key, value in loc.items():
if isinstance(value,openmc.Material):
materials.append(value)
print('all materials', materials)Metadata
Metadata
Assignees
Labels
No labels