Skip to content

Commit

Permalink
Update augur/utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed Nov 10, 2024
1 parent 1280a95 commit 566150e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion augur/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def _flatten(feature):
feature_name = _lookup_feature_name_like_nextclade(feature)
if feature_name == 'nuc':
raise AugurError(f"Reference {reference!r} contains a gene with the name 'nuc'. This is not allowed.")
if feature_name in feature_names or feature_names is None:
if feature_names is None or feature_name in feature_names:
features[feature_name] = feature

if feature_names is not None:
Expand Down

0 comments on commit 566150e

Please sign in to comment.