We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4e99a1 commit ec82215Copy full SHA for ec82215
augur/utils.py
@@ -362,7 +362,7 @@ def _flatten(feature):
362
feature_name = _lookup_feature_name_like_nextclade(feature)
363
if feature_name == 'nuc':
364
raise AugurError(f"Reference {reference!r} contains a gene with the name 'nuc'. This is not allowed.")
365
- if feature_name in feature_names or feature_names is None:
+ if feature_names is None or feature_name in feature_names:
366
features[feature_name] = feature
367
368
if feature_names is not None:
0 commit comments