Skip to content

Commit

Permalink
Update src/datadoc/backend/model_validation.py
Browse files Browse the repository at this point in the history
Co-authored-by: Miles Mason Winther <42948872+mmwinther@users.noreply.github.com>
  • Loading branch information
tilen1976 and mmwinther authored Jul 30, 2024
1 parent 49eb725 commit ee22749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datadoc/backend/model_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def check_obligatory_variables_metadata(self) -> Self:
num_obligatory_variable_fields_completed(
v,
)
!= OBLIGATORY_VARIABLES_METADATA_IDENTIFIERS
!= len(OBLIGATORY_VARIABLES_METADATA_IDENTIFIERS)
):
warnings.warn(
f"{OBLIGATORY_METADATA_WARNING} {get_missing_obligatory_variables_fields(self.variables)}",
Expand Down

0 comments on commit ee22749

Please sign in to comment.