Repository navigation
FIX: Save project after recovering archive - #6553
Merged
Merged
Conversation
added 2 commits
August 19, 2025 14:28
- When an archive file is recovered, save the project with the same name. Use a suffix "_n" with "n" being an integer so existing files are not overwritten. - Update unit test test_01_Design.py so individual tests are independent from each other.
Change the return type from str to Path
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6553 +/- ##
==========================================
+ Coverage 74.24% 81.93% +7.69%
==========================================
Files 242 242
Lines 75950 75959 +9
==========================================
+ Hits 56386 62235 +5849
+ Misses 19564 13724 -5840 🚀 New features to boost your workflow:
|
Devin-Crawford
enabled auto-merge (squash)
August 20, 2025 06:10
gmalinve
reviewed
Aug 20, 2025
Samuelopez-ansys
requested changes
Aug 20, 2025
Contributor
Author
|
@Samuelopez-ansys , @gmalinve : I added one more line in the unit test to hopefully improve codecov, but the lines being flagged by the codecov check and causing the failure for the PR are in fact tested. You can step through the unit test code with the debugger to verify this. Is there any way we can bypass the codecov/patch errors and merge this PR? |
Contributor
Author
|
@gmalinve , @Samuelopez-ansys , @maxcapodi78 : Could you please approve? I fixed the unit test. |
SMoraisAnsys
approved these changes
Aug 26, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Save project with the same name as the archive. Increment the file name suffix if the file already exists.
Issue linked
#6400
Checklist