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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solves #272 and #286 by creating Processed folder if not present already #287

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

Hemanth-Thaluru
Copy link
Contributor

Pull Request Title

Solves #272 by creating creates Processed folder if not present already

Related Issue

Description

This pull request ensures that the Processed folder is created if it does not already exist while running run_first.py.

Previously, the absence of the Processed folder was causing errors, particularly when attempting to delete files within the folder. This PR adds a check to create the Processed folder if it hasn't been created before attempting to delete files inside it.

Type

  • Bug Fix
  • Feature Enhancement
  • Documentation Update
  • Code Refactoring
  • Other (please specify):

Proposed Changes

  • Added logic in run_first.py to check if the Processed folder exists.
  • Automatically creates the Processed folder if it's missing before attempting any operations on its contents.

Checklist

  • The code compiles successfully without any errors or warnings
  • The changes have been tested and verified
  • The documentation has been updated (if applicable)
  • The changes follow the project's coding guidelines and best practices
  • The commit messages are descriptive and follow the project's guidelines
  • All tests (if applicable) pass successfully
  • This pull request has been linked to the related issue (if applicable)

@Hemanth-Thaluru Hemanth-Thaluru changed the title Solves #272 by creating Processed folder if not present already Solves #272 and #282 by creating Processed folder if not present already Sep 20, 2024
@Hemanth-Thaluru Hemanth-Thaluru changed the title Solves #272 and #282 by creating Processed folder if not present already Solves #272 and #286 by creating Processed folder if not present already Sep 20, 2024
@srbhr srbhr merged commit 2e42634 into srbhr:main Oct 22, 2024
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.

2 participants