IanYeo commited on
Commit
30b8b41
·
1 Parent(s): 08c66a8

embed if statement further

Browse files
Files changed (1) hide show
  1. app.py +17 -17
app.py CHANGED
@@ -187,25 +187,25 @@ if tabs:
187
  columns,
188
  )
189
 
190
- if selected_column:
191
 
192
- # df['COBieGUID'] = df.apply(compress)
193
- df[selected_column] = df.apply(
194
- revit_id_to_guid,
195
- column=selected_column,
196
- axis=1
197
- )
198
 
199
- st.markdown(
200
- download_button(
201
- df,
202
- 'IFC_GUIDs.xlsx',
203
- 'Download IFC GUIDs sheet',
204
- pickle_it=False,
205
- ),
206
- unsafe_allow_html=True,
207
- )
208
- st.markdown(download_button(df, 'COBieIDs.xlsx', 'Download COBieIDs.xlsx'), unsafe_allow_html=True)
209
 
210
 
211
 
 
187
  columns,
188
  )
189
 
190
+ if selected_column:
191
 
192
+ # df['COBieGUID'] = df.apply(compress)
193
+ df[selected_column] = df.apply(
194
+ revit_id_to_guid,
195
+ column=selected_column,
196
+ axis=1
197
+ )
198
 
199
+ st.markdown(
200
+ download_button(
201
+ df,
202
+ 'IFC_GUIDs.xlsx',
203
+ 'Download IFC GUIDs sheet',
204
+ pickle_it=False,
205
+ ),
206
+ unsafe_allow_html=True,
207
+ )
208
+ st.markdown(download_button(df, 'COBieIDs.xlsx', 'Download COBieIDs.xlsx'), unsafe_allow_html=True)
209
 
210
 
211