diff --git a/tetras_extraction/macao_12/script/src/export.py b/tetras_extraction/macao_12/script/src/export.py index e12d0f36db09f778ea7750f4146249de419f4fda..326ed4f8bc0f8d5d57c67a7a19bfeed7d6589f0a 100644 --- a/tetras_extraction/macao_12/script/src/export.py +++ b/tetras_extraction/macao_12/script/src/export.py @@ -16,7 +16,7 @@ def create_file(root: Path, path: Path, body: str): # Create parent dir if needed path.parent.mkdir(parents=True, exist_ok=True) # Create and write file - print(f"{path} ->\n{body}") + log.debug(f"File {path} ->\n{body}") with open(path, "w") as f: f.write(body) diff --git a/tetras_extraction/macao_12/script/src/export_corese.py b/tetras_extraction/macao_12/script/src/export_corese.py index 45b3758e856ee944b8c5486a90624ffd5e751093..b5302baa1a800953144af46f42abefe18dfc0f99 100644 --- a/tetras_extraction/macao_12/script/src/export_corese.py +++ b/tetras_extraction/macao_12/script/src/export_corese.py @@ -49,5 +49,5 @@ def apply_templates() -> str: # ==> Run STTL transformation tr = Transformer.create(graph, MODULE_DIR + "/../templates/") result = tr.transform() - print(result) + log.debug("Raw STTL output follows: \n" + result) return result