Marthee commited on
Commit
bf386d6
·
verified ·
1 Parent(s): a9183e6

Update Doors_Schedule.py

Browse files
Files changed (1) hide show
  1. Doors_Schedule.py +2 -2
Doors_Schedule.py CHANGED
@@ -222,9 +222,9 @@ def get_selected_columns(dfs, user_patterns):
222
 
223
  clmn_name = map_user_input_to_standard_labels(user_patterns)
224
  if len(clmn_name) < len(user_patterns):
225
- if len(clmn_name) == 4:
226
  clmn_name = ["door_id", "door_type", "width", "height"]
227
- if len(clmn_name) == 3:
228
  clmn_name = ["door_id", "door_type", "structural opening"]
229
  if len(cell_matches) == 0 and len(col_matches) == 0:
230
  print(f"this is df {i}, SEARCH IN ANOTHER DF")
 
222
 
223
  clmn_name = map_user_input_to_standard_labels(user_patterns)
224
  if len(clmn_name) < len(user_patterns):
225
+ if len(user_patterns) == 4:
226
  clmn_name = ["door_id", "door_type", "width", "height"]
227
+ if len(user_patterns) == 3:
228
  clmn_name = ["door_id", "door_type", "structural opening"]
229
  if len(cell_matches) == 0 and len(col_matches) == 0:
230
  print(f"this is df {i}, SEARCH IN ANOTHER DF")