Skip to content

TypeError: main() got an unexpected keyword argument 'use_gpu' #154

@bbimber

Description

@bbimber

Hello,

Our automated docker build runs:

python3 -m celltypist.command_line --update-models --quiet

and after the latest release, we get:

#8 808.0 TypeError: main() got an unexpected keyword argument 'use_gpu'
#8 ERROR: process "/bin/sh -c if [ \"${GH_PAT}\" != 'NOT_SET' ];then echo 'Setting GITHUB_PAT to: '${GH_PAT}; export GITHUB_PAT=\"${GH_PAT}\";fi \t&& Rscript -e \"BiocManager::install(ask = F, upgrade = 'always');\"     && cd /RIRA     && Rscript -e \"devtools::install_deps(pkg = '.', dependencies = TRUE, upgrade = 'always');\"     && R CMD build .     && R CMD INSTALL --build *.tar.gz     && rm -Rf /tmp/downloaded_packages/ /tmp/*.rds \t&& python3 -m celltypist.command_line --update-models --quiet" did not complete successfully: exit code: 1
------
 > [3/3] RUN if [ "***" != 'NOT_SET' ];then echo 'Setting GITHUB_PAT to: '***; export GITHUB_PAT="***";fi 	&& Rscript -e "BiocManager::install(ask = F, upgrade = 'always');"     && cd /RIRA     && Rscript -e "devtools::install_deps(pkg = '.', dependencies = TRUE, upgrade = 'always');"     && R CMD build .     && R CMD INSTALL --build *.tar.gz     && rm -Rf /tmp/downloaded_packages/ /tmp/*.rds 	&& python3 -m celltypist.command_line --update-models --quiet:
808.0   File "/usr/local/lib/python3.12/dist-packages/click/core.py", line 1363, in main
808.0     rv = self.invoke(ctx)
808.0          ^^^^^^^^^^^^^^^^
808.0   File "/usr/local/lib/python3.12/dist-packages/click/core.py", line 1226, in invoke
808.0     return ctx.invoke(self.callback, **ctx.params)
808.0            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
808.0   File "/usr/local/lib/python3.12/dist-packages/click/core.py", line 794, in invoke
808.0     return callback(*args, **kwargs)
808.0            ^^^^^^^^^^^^^^^^^^^^^^^^^
808.0 TypeError: main() got an unexpected keyword argument 'use_gpu'

should that command work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions