Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify extract_business_result.py #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

None yet

1 participant