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

#810 Add the possibility to zip the inputs and outputs for N simulation #820

Open
wants to merge 30 commits into
base: master
Choose a base branch
from

Conversation

barondim
Copy link
Collaborator

Checklist before requesting a review

use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes

  • unit tests and non regression tests were added (update of inputs, outputs, SA, algos)
  • main documentation was updated (update of input/output file)
  • the corresponding milestone was added in the ticket and in this PR

@barondim barondim added this to the v1.7.0 milestone Dec 20, 2024
@barondim barondim marked this pull request as ready for review December 20, 2024 19:02
@barondim barondim force-pushed the 810_SA_add_the_possibility_zip_the_inputs_and_outputs branch from cc022b3 to abe282a Compare December 20, 2024 19:06
@barondim barondim linked an issue Jan 6, 2025 that may be closed by this pull request
@barondim barondim force-pushed the 810_SA_add_the_possibility_zip_the_inputs_and_outputs branch from abe282a to 1826950 Compare January 6, 2025 15:26
Copy link
Contributor

@rosiereflo rosiereflo left a comment

Choose a reason for hiding this comment

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

It seems that the N output will not be zipped. Also, the documentation and tests needs to be updated.

scripts/envDFL.sh Show resolved Hide resolved
Signed-off-by: Dimitri Baron <[email protected]>
@barondim barondim requested a review from rosiereflo January 9, 2025 10:48


std::string formatZipErrorMessage(const zip::ZipException& e) {
std::stringstream zipErrorStream;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why overriding the messages sent by libzip? The general exception catch should be enough ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The error message given by libzip is not always clear. When the zip::Error::LIBARCHIVE_INTERNAL_ERROR error code is thrown, the message is clear : ''Unrecognized archive format". But when the zip::Error::FILE_NOT_FOUND error code is thrown, only the name of the missing file is given. So the error message is not clear in that case.

@barondim barondim force-pushed the 810_SA_add_the_possibility_zip_the_inputs_and_outputs branch from c1922bc to 852124a Compare January 14, 2025 18:36
@barondim barondim force-pushed the 810_SA_add_the_possibility_zip_the_inputs_and_outputs branch 2 times, most recently from f84dc5c to 34332f4 Compare January 15, 2025 11:45
sources/Context.cpp Outdated Show resolved Hide resolved
@barondim barondim force-pushed the 810_SA_add_the_possibility_zip_the_inputs_and_outputs branch from 64a3d70 to c54c1dd Compare January 17, 2025 10:06
@barondim
Copy link
Collaborator Author

Signed-off-by: Dimitri Baron <[email protected]>
Signed-off-by: Dimitri Baron <[email protected]>
sources/Context.cpp Outdated Show resolved Hide resolved
sources/main.cpp Outdated Show resolved Hide resolved
@barondim barondim force-pushed the 810_SA_add_the_possibility_zip_the_inputs_and_outputs branch from 4c87ee3 to 00a6950 Compare January 20, 2025 15:46
@barondim barondim requested a review from rosiereflo January 20, 2025 18:23
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.

[SA] add the possibility zip the inputs and outputs
2 participants