Skip to content

Creation of the zip folder of the Insights produced (and get_timesoap)#124

Merged
SimoneMartino98 merged 31 commits into
GMPavanLab:mainfrom
SimoneMartino98:zip_arch
Nov 13, 2025
Merged

Creation of the zip folder of the Insights produced (and get_timesoap)#124
SimoneMartino98 merged 31 commits into
GMPavanLab:mainfrom
SimoneMartino98:zip_arch

Conversation

@SimoneMartino98

Copy link
Copy Markdown
Collaborator

Hi everyone;
As in the title, here to add a logger functionality to create a zip archive at the end of a dynsight pipeline.

Also adding the get_timesoap method.
Absolutely conscious about the possible risks of such a method, that's why I'm putting this as a draft to collect suggestions.

@SimoneMartino98 SimoneMartino98 added the enhancement New feature or request label Oct 10, 2025

@andrewtarzia andrewtarzia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Big fan. Minor changes. Nice work!

Key is to write a test that will make a zip file, load it back in and ensure everything is the same as the data put in or as expected.

Comment thread src/dynsight/_internal/trajectory/trajectory.py Outdated
Comment thread src/dynsight/_internal/trajectory/trajectory.py
Comment thread src/dynsight/_internal/trajectory/trajectory.py Outdated
Comment thread src/dynsight/_internal/trajectory/trajectory.py
@matteobecchi

Copy link
Copy Markdown
Collaborator

Everything else looks good to me :)

@andrewtarzia andrewtarzia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There were open comments from my last review still. Plus a few other considerations,

Comment thread src/dynsight/_internal/trajectory/trajectory.py Outdated
Comment thread src/dynsight/_internal/trajectory/trajectory.py
Comment thread tests/logger/test_logger.py
Comment thread docs/source/logs.rst Outdated
Comment thread src/dynsight/_internal/logs.py Outdated
@SimoneMartino98
SimoneMartino98 marked this pull request as ready for review November 10, 2025 14:07
Comment thread docs/source/index.rst Outdated
Comment thread src/dynsight/_internal/logs.py
Comment thread src/dynsight/_internal/logs.py
Comment thread src/dynsight/_internal/logs.py
Comment thread src/dynsight/_internal/logs.py
@andrewtarzia

Copy link
Copy Markdown
Collaborator

Having both logger and Logger may be confusing. Should we point the user a specific way?

@SimoneMartino98

Copy link
Copy Markdown
Collaborator Author

I explained this in the documentation. It was the only way to have an autosummary

But I think there is a better way to proceed. Maybe in the future version of the logger.

@SimoneMartino98
SimoneMartino98 merged commit cc62022 into GMPavanLab:main Nov 13, 2025
11 checks passed
@SimoneMartino98
SimoneMartino98 deleted the zip_arch branch November 13, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants