Skip to content

Commit

Permalink
Revert "sra_download -> sra-download -- match the docs"
Browse files Browse the repository at this point in the history
This reverts commit 415c9bd.
  • Loading branch information
meren committed Dec 10, 2023
1 parent ceb08b0 commit 59bff38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion anvio/workflows/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def get_workflow_module_dict():
'phylogenomics': PhylogenomicsWorkflow,
'trnaseq': TRNASeqWorkflow,
'ecophylo': EcoPhyloWorkflow,
'sra-download': SRADownloadWorkflow}
'sra_download': SRADownloadWorkflow}

return workflows_dict

Expand Down
4 changes: 2 additions & 2 deletions anvio/workflows/sra_download/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@

class SRADownloadWorkflow(WorkflowSuperClass):
def __init__(self, args=None, run=terminal.Run(), progress=terminal.Progress()):
self.init_workflow_super_class(args, workflow_name='sra-download')
self.init_workflow_super_class(args, workflow_name='sra_download')

# check that NCBI SRA Toolkit is installed
if not utils.is_program_exists("prefetch", dont_raise=True) or not utils.is_program_exists("fasterq-dump", dont_raise=True):
raise ConfigError("'prefetch' and 'fasterq-dump' from the NCBI SRA toolkit must be installed for the "
"sra-download workflow to work. Please check out the installation instructions here: "
"sra_download workflow to work. Please check out the installation instructions here: "
"https://github.com/ncbi/sra-tools/wiki/01.-Downloading-SRA-Toolkit")

# Snakemake rules
Expand Down

0 comments on commit 59bff38

Please sign in to comment.