Skip to content

Commit

Permalink
swap and to or in message
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Oct 6, 2023
1 parent f43069b commit b44cde1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nwbinspector/checks/nwbfile_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def check_subject_age(subject: Subject):
"""Check if the Subject age is in ISO 8601 or our extension of it for ranges."""
if subject.age is None:
if subject.date_of_birth is None:
return InspectorMessage(message="Subject is missing age and date_of_birth.")
return InspectorMessage(message="Subject is missing age or date_of_birth.")
else:
return
if re.fullmatch(pattern=duration_regex, string=subject.age):
Expand Down

0 comments on commit b44cde1

Please sign in to comment.