mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-21 01:28:11 +08:00
When generating a config file, you can do this: > cellxgene launch --dump-default-config > myconfig.yaml And then modify the myconfig.yaml. However, if an upgrade is available then you would get extra lines in the yaml file, which are not yaml code: There's a new version of cellxgene available (0.16.4)! To upgrade, run the following: pip install --upgrade cellxgene To solve this problem, the upgrade messages are sent to stderr instead, so they will appear on the screen and not in the config file. Alternatives: One workaround is "cellxgene --no-upgrade-check launch --dump-default-config > myconfig.yaml" But that's a bit verbose and not user friendly. The way we've setup the upgrade check to be separate and before the launch sub command, makes other code changes more involved. #1826