mirror of https://github.com/tdwg/dwc.git
Remove faulty print statements
This commit is contained in:
parent
716a1ec2cb
commit
88805acd02
|
@ -216,7 +216,6 @@ class DwcDigester(object):
|
|||
for term in self.versions(): # sequence of the terms file used as order
|
||||
term_data = self.get_term_definition(term['term_iri'])
|
||||
test = term['term_iri']
|
||||
print(f'{test=}')
|
||||
if term_data["rdf_type"] == "http://www.w3.org/2000/01/rdf-schema#Class":
|
||||
# new class encountered
|
||||
# store previous section in template_data
|
||||
|
@ -229,7 +228,6 @@ class DwcDigester(object):
|
|||
# Vulnerable to ordering terms in term_versions.csv, but...
|
||||
# This is the first row of dwciri terms
|
||||
# store previous section in template_data
|
||||
print(f'{term=}\n{term_data=}')
|
||||
template_data.append(class_group)
|
||||
#start a class group for UseWithIRI
|
||||
class_group = {"label":"UseWithIRI"}
|
||||
|
@ -237,7 +235,6 @@ class DwcDigester(object):
|
|||
in_class = "UseWithIRI" # check on the class working in
|
||||
addedUseWithIRI = True
|
||||
class_group['terms'].append(term_data)
|
||||
print(f'{class_group=}')
|
||||
else:
|
||||
class_group['terms'].append(term_data)
|
||||
# save the last class to template_data
|
||||
|
|
Loading…
Reference in New Issue