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

Improve logging for influence modules #567

Merged
merged 9 commits into from
May 7, 2024
Merged

Conversation

schroedk
Copy link
Collaborator

@schroedk schroedk commented Apr 21, 2024

Description

This PR closes #575 closes #576 closes #577

Changes

  • Fix bug in decorator log_duration, to log depending on the module's logger
  • Improve logging for iterative methods LissaInfluence and CgInfluence, add parameter warn_on_max_iteration to
    display a warning if desired toelrance is not achieved within maxiter
  • Add tqdm progress bars to the computation of LazyChunkSequence and NestedLazyChunkSequence (which are returned from calls to SequentialInfluenceCalculator)

Checklist

  • Wrote Unit tests (if necessary)
  • Updated Documentation (if necessary)
  • Updated Changelog
  • If notebooks were added/changed, added boilerplate cells are tagged with "tags": ["hide"] or "tags": ["hide-input"]

@schroedk schroedk changed the title Add initial vesion of tqdm progress bar for sequential calculation Improve logging for influence modules May 6, 2024
@schroedk schroedk marked this pull request as ready for review May 6, 2024 12:03
@schroedk schroedk added this to the v0.9.2 milestone May 6, 2024
@schroedk schroedk merged commit 7fa1ab2 into develop May 7, 2024
35 checks passed
@schroedk schroedk deleted the sequential-progress-bar branch May 7, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants