Skip to content

Commit

Permalink
Fix None vs not error.
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Jul 9, 2024
1 parent 70f9e76 commit cd1c9d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def add_input_metadata(
nextclade_prefix = "nextclade."
if input_path.startswith(nextclade_prefix):
segment = spec.args.get("segment", "main")
if unprocessed.nextcladeMetadata is None:
if not unprocessed.nextcladeMetadata:
errors.append(
ProcessingAnnotation(
source=[
Expand Down

0 comments on commit cd1c9d8

Please sign in to comment.