Skip to content

download subcommand does not respect -o parameter #175

@jfy133

Description

@jfy133

When running

amdirt download -t ancientmetagenome-hostassociated -y libraries --output data/amdirt/

with amdirt, version 1.6.5

While I get the message amdirt [INFO]: Downloading ancientmetagenome-hostassociated libraries table from v25.03.0 release, saving to data/amdirt//ancientmetagenome-hostassociated_libraries_v25.03.0.tsv

The data is not actually saved there, but just in . (i.e., where I ran the command in).

I have a feeling that this is because possibly . is hardcoded in the function on this line:

def download(table: str, table_type: str, release: str, output: str = ".") -> str:
? bt I'm not 100% sure

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