Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when turning on OCP guidlines #50

Open
FrancescaWatson opened this issue Jun 12, 2024 · 0 comments
Open

Exception when turning on OCP guidlines #50

FrancescaWatson opened this issue Jun 12, 2024 · 0 comments
Assignees

Comments

@FrancescaWatson
Copy link
Contributor

For User defined Active material, If I switch on OCP guidelines in "Fill in 'Active Material' parameters" I get the following exception. It is the same for both negative and positive electrodes.

`StreamlitAPIException: get() is not a valid Streamlit command.
Traceback:

File "/app/pages/1_Simulation.py", line 125, in
run_page()
File "/app/pages/1_Simulation.py", line 92, in run_page
gui_parameters = app.set_tabs(model_id).user_input
^^^^^^^^^^^^^^^^^^^^^^
File "/app/app_scripts/app_controller.py", line 29, in set_tabs
return view.SetTabs(self.images, model_id, self.context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/app_scripts/app_view.py", line 685, in init
self.set_tabs()
File "/app/app_scripts/app_view.py", line 808, in set_tabs
category_parameters, emmo_relation, mass_loadings = self.fill_category(
^^^^^^^^^^^^^^^^^^^
File "/app/app_scripts/app_view.py", line 1088, in fill_category
category_parameters = self.fill_user_defined_expander(parameters,category_parameters,component_parameters,component_parameters_,density,tab,category_id,component_name,material_comp_display_name,material_component_id,material_comp_context_type,selected_value_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/app_scripts/app_view.py", line 1229, in fill_user_defined_expander
parameter = parameters.get(parameter_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants