From 186375de60648a0780b8b0d9872c2a8ad80ce568 Mon Sep 17 00:00:00 2001 From: Mike Henry <11765982+mikemhenry@users.noreply.github.com> Date: Wed, 12 Jul 2023 09:11:19 -0700 Subject: [PATCH] print perses version on startup (#1176) --- perses/app/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/perses/app/cli.py b/perses/app/cli.py index a94cebf9c..be003cc66 100644 --- a/perses/app/cli.py +++ b/perses/app/cli.py @@ -88,12 +88,14 @@ def _test_platform(platform_name): def cli(yaml, platform_name, override): """Run perses relative free energy calculation.""" from perses.app.setup_relative_calculation import run + from perses import __version__ as perses_version logging.basicConfig( format="%(asctime)s %(levelname)-8s %(message)s", level=LOGLEVEL, datefmt="%Y-%m-%d %H:%M:%S", ) click.echo(click.style(percy, fg="bright_magenta")) + click.echo(f"Running perses version: {perses_version}") if override: click.echo("✍️ \t Overrides used") click.echo("🕵️\t Checking OpenEye license")