Skip to content

Commit

Permalink
Added a couple of print statements about I/O operations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Romanello committed Mar 21, 2024
1 parent c13af2d commit 83bf96f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ajmc/text_processing/via.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ def save(self, output_path: Path):
"""
output_path.write_text(json.dumps(self.project_dict, ensure_ascii=False, indent=2))
print(f'Saved via file to {output_path}')


if __name__ == '__main__':
Expand All @@ -330,6 +331,7 @@ def save(self, output_path: Path):

for comm_id in args.comm_ids:
via_path = vs.get_comm_via_path(comm_id)
print(f'Using via file {via_path}')

print(f'Processing {comm_id}...')
via_project = ViaProject.from_json(via_path)
Expand Down

0 comments on commit 83bf96f

Please sign in to comment.