Skip to content

Commit e52f4bf

Browse files
feat: add complete log
1 parent 329f2b7 commit e52f4bf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

graphgen/generate.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,9 @@ def main():
109109
else:
110110
raise ValueError(f"Unsupported output data type: {output_data_type}")
111111

112-
path = os.path.join(
113-
working_dir, "data", "graphgen", str(unique_id), f"config-{unique_id}.yaml"
114-
)
115-
save_config(path, config)
112+
output_path = os.path.join(working_dir, "data", "graphgen", str(unique_id))
113+
save_config(os.path.join(output_path, f"config-{unique_id}.yaml"), config)
114+
logger.info("GraphGen completed successfully. Data saved to %s", output_path)
116115

117116

118117
if __name__ == "__main__":

0 commit comments

Comments
 (0)