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

Implement ensembl-py logging #214

Merged
merged 30 commits into from
Nov 21, 2023
Merged

Conversation

ens-LCampbell
Copy link
Member

@ens-LCampbell ens-LCampbell commented Nov 15, 2023

Implement use of ens-py logging for ensembl.io. modules:

genomio.assembly.download
genomio.events.dump
genomio.events.load
genomio.genome_stats.compare
genomio.manifest.check_integrity
genomio.metadata.dump

  • Module updated to use ensembl-py.utilis.logging
  • Nextflow modules set to use --verbose as default

ens-LCampbell and others added 3 commits November 15, 2023 17:46
Co-authored-by: J. Alvarez-Jarreta <jalvarez@ebi.ac.uk>
Co-authored-by: J. Alvarez-Jarreta <jalvarez@ebi.ac.uk>
ens-LCampbell and others added 4 commits November 16, 2023 10:27
@ens-LCampbell ens-LCampbell changed the title genome_stats.compare implement ensembl-py logging Implement ensembl-py logging Nov 16, 2023
Copy link
Contributor

@MatBarba MatBarba left a comment

Choose a reason for hiding this comment

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

Nice overall, though there should be no need to catch exceptions just to log them

src/python/ensembl/brc4/runnable/core_server.py Outdated Show resolved Hide resolved
Copy link
Contributor

@JAlvarezJarreta JAlvarezJarreta left a comment

Choose a reason for hiding this comment

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

Looks good to me. It has also helped raise a couple of questions regarding how we want to set the default system + Exception handling that should be discussed in the next software development meeting.

docs/gen_ref_pages.py Outdated Show resolved Hide resolved
src/python/ensembl/brc4/runnable/core_server.py Outdated Show resolved Hide resolved
src/python/ensembl/brc4/runnable/core_server.py Outdated Show resolved Hide resolved
ens-LCampbell and others added 2 commits November 21, 2023 15:08
Co-authored-by: J. Alvarez-Jarreta <jalvarez@ebi.ac.uk>
@JAlvarezJarreta JAlvarezJarreta merged commit 6985344 into main Nov 21, 2023
@ens-LCampbell ens-LCampbell deleted the lcampbell/genome_stats_compare branch November 21, 2023 17:01
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.

3 participants