James McCool
commited on
Commit
·
e2fd337
1
Parent(s):
17f571b
Update projections loading condition in Data Load tab
Browse filesModified the condition for checking if projections are loaded by replacing the reference to 'projections_file' with 'projections_loaded' in the session state. This change ensures that the analysis section only displays when both the portfolio and projections are successfully loaded, enhancing the reliability of the data display.
app.py
CHANGED
|
@@ -727,7 +727,7 @@ if selected_tab == 'Data Load':
|
|
| 727 |
|
| 728 |
st.dataframe(projections.head(10))
|
| 729 |
|
| 730 |
-
if st.session_state['portfolio_loaded'] and
|
| 731 |
if st.session_state['portfolio'] is not None and projections is not None:
|
| 732 |
|
| 733 |
st.subheader("Name Matching Analysis")
|
|
|
|
| 727 |
|
| 728 |
st.dataframe(projections.head(10))
|
| 729 |
|
| 730 |
+
if st.session_state['portfolio_loaded'] and st.session_state['projections_loaded']:
|
| 731 |
if st.session_state['portfolio'] is not None and projections is not None:
|
| 732 |
|
| 733 |
st.subheader("Name Matching Analysis")
|