Skip to content

Import function - Biopython module deprecated #27

@marchoeppner

Description

@marchoeppner

Hi,

so I was just going to test out your tool - sounds very useful.

That said, installing the latest version on OSX via Conda yields:

/Users/myuser/miniforge3/envs/pymlst/lib/python3.11/site-packages/Bio/Application/__init__.py:40: BiopythonDeprecationWarning: The Bio.Application modules and modules relying on it have been deprecated.

Due to the on going maintenance burden of keeping command line application
wrappers up to date, we have decided to deprecate and eventually remove these
modules.

We instead now recommend building your command line and invoking it directly
with the subprocess module.
  warnings.warn(
Usage: wgMLST import [OPTIONS] DATABASE [SPECIES]...

  Creates a wgMLST DATABASE from an online resource.

  The research can be filtered by adding a SPECIES name.

Options:
  -f, --force             Overwrite alrealdy existing DATABASE
  --prompt / --no-prompt  Do not prompt if multiple choices are found, fail
                          instead.
  -h, --help              Show this message and exit.

I suspect this means that something has to be updated in your code perhaps?

/M

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions