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

Misc improvements #390

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Misc improvements #390

wants to merge 4 commits into from

Conversation

mschwoer
Copy link
Collaborator

some minor changes (consider them as suggestions)

see commit messages for details

Copy link
Collaborator

@GeorgWa GeorgWa left a comment

Choose a reason for hiding this comment

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

Looks sensible

logger.progress(f"{'alphatims':<15} : {alphatims.__version__:}")
logger.progress(f"{'alpharaw':<15} : {alpharaw.__version__}")
logger.progress(f"{'alphabase':<15} : {alphabase.__version__}")
logger.progress(f"{'alphapeptdeep':<15} : {peptdeep.__version__}")
logger.progress(f"{'directlfq':<15} : {directlfq.__version__}")
logger.progress("===================================================")

logger.progress("================= Pip Environment =================")
pip_env = [
f"{dist.metadata['Name']}=={dist.version}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought about using debug Level logging. Bit I guess it doesnt hurt to have this by default.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

you will never need this until you need it, so I would leave it on by default

what about the progress level anyway? could this not be INFO?

Copy link
Collaborator

Choose a reason for hiding this comment

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

The idea is that progress has the important stuff and is colored green so you can find it faster when checking output

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.

2 participants