Skip to content

Commit

Permalink
RNA -> Calculate RNA
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed Feb 8, 2024
1 parent f852d04 commit 4aca961
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qp_woltka/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@
}
dflt_param_set = {}
calculate_rna_copy_counts_cmd = QiitaCommand(
'RNA Copy Counts', "Calculate RNA copy counts per-gene",
'Calculate RNA Copy Counts', "Calculate RNA copy counts per-gene",
calculate_rna_copy_counts, req_params, opt_params, outputs, dflt_param_set)
plugin.register_command(calculate_rna_copy_counts_cmd)
4 changes: 2 additions & 2 deletions scripts/start_woltka
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ def execute(url, job_id, out_dir):
# available commands for this plugin
valid_commands = [
'Woltka v0.1.4', 'SynDNA Woltka', 'Calculate Cell Counts',
'RNA Copy Counts']
'Calculate RNA Copy Counts']

# this if/elif is the current solution for
# https://github.com/qiita-spots/qiita/issues/3340
if command not in valid_commands:
raise ValueError(f'Not a valid command: "{command}"')
elif command in {'Calculate Cell Counts', 'RNA Copy Counts'}:
elif command in {'Calculate Cell Counts', 'Calculate RNA Copy Counts'}:
plugin(url, job_id, out_dir)
exit(0)

Expand Down

0 comments on commit 4aca961

Please sign in to comment.