Skip to content

Commit

Permalink
Update QualityControlChecker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ryma2fhir authored Apr 25, 2024
1 parent cb9fe74 commit 5f77b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QualityControlChecker/QualityControlChecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ def checkExamples(exampleWarnings, example):
elif example.endswith("json"):
elementsexampleWarnngs = openJSONFile("examples",example, exampleWarnings)
if elements != {}:
print("id:",elements['id'])
print("filename:",fileName)
try:
print(fileName)
print(elements['id'])
if not elements['id'] == fileName:
exampleWarnings.append("\t\tid - The belement is incorrect, it should be "+fileName)
except:
Expand Down

0 comments on commit 5f77b5d

Please sign in to comment.