Skip to content

Updated combined_files.py#12

Open
Anshullakhera wants to merge 1 commit intoacrosman:masterfrom
Anshullakhera:master
Open

Updated combined_files.py#12
Anshullakhera wants to merge 1 commit intoacrosman:masterfrom
Anshullakhera:master

Conversation

@Anshullakhera
Copy link
Copy Markdown

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