Skip to content

Commit

Permalink
Correct mistake in galaxy-web entry point where env is not actually set
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Oct 24, 2024
1 parent 6b14e9d commit bbc8dd6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/galaxy/webapps/galaxy/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ def main() -> None:
"--client-path", "-n", default="node_modules/@galaxyproject/galaxy-client", help="Path to Galaxy client"
)
args = parser.parse_args()
env = os.environ.copy()
if args.config:
env["GALAXY_CONFIG_FILE"] = args.config
os.environ["GALAXY_CONFIG_FILE"] = args.config
if args.single_user:
env["GALAXY_CONFIG_SINGLE_USER"] = args.single_user
env["GALAXY_CONFIG_ADMIN_USERS"] = args.single_user
os.environ["GALAXY_CONFIG_SINGLE_USER"] = args.single_user
os.environ["GALAXY_CONFIG_ADMIN_USERS"] = args.single_user
os.environ["GALAXY_CONFIG_STATIC_DIR"] = args.client_path
uvicorn.run(
"galaxy.webapps.galaxy.fast_factory:factory",
factory=True,
Expand Down

0 comments on commit bbc8dd6

Please sign in to comment.