Skip to content

Commit

Permalink
fix: add more instructive error
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorley0395 committed Feb 15, 2024
1 parent 1b83f4c commit 47c80f4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion plan_belt/synchro_summarizer/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,14 @@ def __create_df(self, index):
elif "expects" in df.iloc[2, 0].strip():
self.anomolies[unique_name] = df
else:
print("what else could go wrong?")
print(f"!!!!!!something wrong with {intersection_name}")
print(f"!!!!!!something wrong with {intersection_name}")
print(f"!!!!!!something wrong with {intersection_name}")
print(f"!!!!!!something wrong with {intersection_name}")
print(f"!!!!!!something wrong with {intersection_name}")
print(f"!!!!!!something wrong with {intersection_name}")
print(f"!!!!!!something wrong with {intersection_name}")
print(f"!!!!!!something wrong with {intersection_name}")
self.count += 1
return df, unique_name

Expand Down Expand Up @@ -484,3 +491,7 @@ def create_csv(self):
def return_queues_for_intersection(self):
dfs = self.qb_report()
return dfs


if __name__ == "__main__":
SynchroTxt("/mnt/g/My Drive/test/Existing_AM_HCM 6th_report.txt")

0 comments on commit 47c80f4

Please sign in to comment.