ersilia-os / ersilia

The Ersilia Model Hub, a repository of AI/ML models for infectious and neglected disease research.
https://ersilia.io
GNU General Public License v3.0
224 stars 147 forks source link

Logging at realtime from the async subprocess while pulling #1392

Open Abellegese opened 2 days ago

Abellegese commented 2 days ago

Thank you for taking your time to contribute to Ersilia, just a few checks before we proceed

Description

This PR enhances the async_pull method by adding real-time logging for Docker subprocess commands. The changes improve debugging and provide better insight into the progress of docker pull operations.

miquelduranfrigola commented 1 day ago

Copilot generated summary below

This pull request includes changes to improve the logging and error handling in the async_pull method in ersilia/hub/pull/pull.py. The most important changes include removing the temporary log file, adding asynchronous log streaming, and simplifying the error handling process.

Improvements to logging and error handling: