Skip to content

models download when we want to use inhouse model #151

@Hphilippon

Description

@Hphilippon

Hi,

Will it be possible to modify the check of --model parameter so that it will first check that the input model path exists and then, if not, try look at models please ?
https://github.com/Teichlab/celltypist/blob/8fb0a80ec2e0648c5ce7f99c811d2a99a62d553a/celltypist/command_line.py#L72C1-L73C1

In fact, in environment without access to Internet, it's not possible to use an inhouse model as the software first looks at the existing models (function models.get_all_models()) and if there is no .pkl file in $CELLTYPIST_FOLDER/data/models, then it tries to download models.

Thank you,

Best,

Heloise

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