We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 43df30f + 3eaa206 commit d10535aCopy full SHA for d10535a
1 file changed
rocrate_validator/models.py
@@ -2592,6 +2592,14 @@ def detect_rocrate_profiles(self) -> list[Profile]:
2592
if inherited_profile in candidate_profiles:
2593
candidate_profiles.remove(inherited_profile)
2594
logger.debug("%d Candidate Profiles found: %s", len(candidate_profiles), candidate_profiles)
2595
+ # unmatched candidate profiles
2596
+ unmatched_profiles = candidate_profiles_uris.difference(set(p.uri for p in profiles))
2597
+ logger.debug("Unmatched Candidate Profiles URIs: %s", unmatched_profiles)
2598
+ if len(unmatched_profiles) > 0:
2599
+ logger.warning(
2600
+ "The conformance to the following profiles could not be verified: %s",
2601
+ unmatched_profiles,
2602
+ )
2603
return candidate_profiles
2604
2605
except Exception as e:
0 commit comments