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

33 cleanup after building errors #50

Merged
merged 18 commits into from
Jul 23, 2024

Conversation

StephanieKemna
Copy link
Collaborator

Resolves #33 , see comments on that issue.

There are more changes than just the fix. The fix is mainly the chdir.
In addition, I added more error handling, logging, comments/docstrings, and some shorthands for commandline arguments.
Also changed how temporary dir was created, only create it once, and use the path str further. Also removed delete_build_folders, because they will automatically be deleted anyway (temp dir goes out of scope), and it seemed the argument was not really used in the code.

@StephanieKemna StephanieKemna added the bug Something isn't working label Jul 22, 2024
@StephanieKemna StephanieKemna self-assigned this Jul 22, 2024
@StephanieKemna StephanieKemna linked an issue Jul 22, 2024 that may be closed by this pull request
src/mlfmu/cli/mlfmu.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Jorgelmh Jorgelmh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work! The implementation of temp folders looks good, and the improvements to the error handling and documentation are very much needed :)

@StephanieKemna StephanieKemna merged commit c96be9b into main Jul 23, 2024
11 checks passed
@StephanieKemna StephanieKemna deleted the 33-cleanup-after-building-errors branch November 8, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cleanup after building errors
2 participants