UI 2 Error Handling and Data Dictionary
This commit is contained in:
@@ -191,7 +191,7 @@ if client:
|
||||
# elif field_group == 'Timeline':
|
||||
# fields = fields[fields['PRIORITY'] == 'E']
|
||||
|
||||
button_cols = st.columns([1,1,8])
|
||||
button_cols = st.columns([1,2,6])
|
||||
with button_cols[0]:
|
||||
if st.button("Show PDF"):
|
||||
if file_name == None or file_name == "All":
|
||||
@@ -221,7 +221,10 @@ if client:
|
||||
query = f'select * from "DOCZY_PIPELINE_RAW_OUTPUT_B" where batch_id = \'{batch_id}\''
|
||||
cur.execute(query)
|
||||
df2 = pd.DataFrame.from_records(iter(cur), columns=[x[0] for x in cur.description])
|
||||
else: st.error('Please select a Field Group')
|
||||
else:
|
||||
st.error('Please select a Field Group')
|
||||
df2 = pd.DataFrame(columns=['Contract Name','Field Name', 'SF_DB_COL_NAME', 'Snippet','Page Number'
|
||||
, 'Field Extracted Value', 'Actual Value','Imputed Value'])
|
||||
except:
|
||||
df2 = pd.DataFrame(columns=['Contract Name','Field Name', 'SF_DB_COL_NAME', 'Snippet','Page Number'
|
||||
, 'Field Extracted Value', 'Actual Value','Imputed Value'])
|
||||
|
||||
Reference in New Issue
Block a user