Skip to content

Conversation

@jameshadfield
Copy link
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>
@jameshadfield jameshadfield force-pushed the james/clade-inheritance branch from 4351d0e to 81684d2 Compare July 3, 2025 00:29
@victorlin victorlin linked an issue Oct 20, 2025 that may be closed by this pull request
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

2 participants