Skip to content

Commit

Permalink
remove get_first_env_var for yacman update
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed Oct 14, 2023
1 parent 9864730 commit 9ebd38d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions bedhost/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ubiquerg import VersionInHelpParser
from yacman import get_first_env_var
from yacman import select_config


def build_parser():
Expand All @@ -8,11 +8,7 @@ def build_parser():
:return argparse.ArgumentParser
"""
env_var_val = (
get_first_env_var(CFG_ENV_VARS)[1]
if get_first_env_var(CFG_ENV_VARS) is not None
else "not set"
)
env_var_val = select_config(config_env_vars=CFG_ENV_VARS)
banner = "%(prog)s - REST API for the bedstat pipeline produced statistics"
additional_description = (
"For subcommand-specific options, type: '%(prog)s <subcommand> -h'"
Expand Down

0 comments on commit 9ebd38d

Please sign in to comment.