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

Updated combined_files.py #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Anshullakhera
Copy link

fix #7
Changes Summary
Regular Expression Update: Modified the regex to .([0-9]{1,2}.[0-9]{4})..csv$ to match the M.YYYY date format.
Conditional Check Update: Added if match: to prevent calling .group(1) if there’s no match, preventing AttributeError.
Warning Message: Added a print statement to display a warning if no date is found in the filename.

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.

Fix combine_files.py
1 participant