Skip to content

Clade definition inheritance#1836

Draft
jameshadfield wants to merge 3 commits into
masterfrom
james/clade-inheritance
Draft

Clade definition inheritance#1836
jameshadfield wants to merge 3 commits into
masterfrom
james/clade-inheritance

Conversation

@jameshadfield
Copy link
Copy Markdown
Member

@jameshadfield jameshadfield commented Jun 27, 2025

See #1837

If the argument isn't provided we would get a traceback (see below), so
make it required

```
Traceback (most recent call last):
  File "/Users/naboo/github/nextstrain/augur/augur/__init__.py", line 70, in run
    return args.__command__.run(args)
  File "/Users/naboo/github/nextstrain/augur/augur/clades.py", line 385, in run
    out_name = get_json_name(args)
  File "/Users/naboo/github/nextstrain/augur/augur/utils.py", line 43, in get_json_name
    raise ValueError("Please specify a name for the JSON file containing the results.")
ValueError: Please specify a name for the JSON file containing the results.
````
See notes in added `inheritance-clades.tsv`
Example implementation to continue discussion in <#1837>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

augur clades inheritance doesn't enforce inheritance

1 participant