Skip to content

Conversation

seal-git
Copy link

When data/interim does not exsit, extract_busness_result.py returns following error.

  0%|                                                                  | 0/2602 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/mnt/c/Users/seal0/Desktop/PycharmProjects/chABSA-dataset/annotation/data_processor/extract_business_result.py", line 175, in <module>
    main()
  File "/mnt/c/Users/seal0/Desktop/PycharmProjects/chABSA-dataset/annotation/data_processor/extract_business_result.py", line 169, in main
    with open(os.path.join(EXTRACTED_DATA_DIR, file_name), "w", encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/c/Users/seal0/Desktop/PycharmProjects/chABSA-dataset/annotation/data_processor/../../data/interim/e00008.jsonl'

This PR modifies this error.
I'm new to send PR, so I'm not sure if it is proper modification😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant