Skip to content

Fix folder rename logic and add error handling#50

Merged
LucaDeSiena merged 1 commit into
MuRAT4from
corrected/Murat_checks_foldermanaging
Apr 18, 2026
Merged

Fix folder rename logic and add error handling#50
LucaDeSiena merged 1 commit into
MuRAT4from
corrected/Murat_checks_foldermanaging

Conversation

@martinaavella
Copy link
Copy Markdown
Collaborator

The script previously failed to actually rename existing folders to *_old and incorrectly reported success. Added a try/catch block to catch movefile failures, fixed string concatenation, and corrected the success message to only print when the operation completes.

The script previously failed to actually rename existing folders to *_old and incorrectly reported success. Added a try/catch block to catch movefile failures, fixed string concatenation, and corrected the success message to only print when the operation completes.
@LucaDeSiena LucaDeSiena merged commit 9c4c4a1 into MuRAT4 Apr 18, 2026
1 check passed
@LucaDeSiena LucaDeSiena deleted the corrected/Murat_checks_foldermanaging branch April 18, 2026 15:43
@LucaDeSiena LucaDeSiena linked an issue Apr 18, 2026 that may be closed by this pull request
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.

Problem in spike calculations

2 participants