Skip to content

Commit 2fe8c70

Browse files
committed
folder path for output files and folders
1 parent 7421159 commit 2fe8c70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/geouned/GEOUNED/write/additional_files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ def comments_write(name_path, MetaList):
55
"""Function to write in an independent file the comment strings"""
66

77
Path(name_path).parent.mkdir(parents=True, exist_ok=True)
8-
name = name_path.parent.absolute() / (name_path.name + "_summary.txt")
8+
name = name_path.parent.absolute() / (name_path.name + "_comments.txt")
99

10-
with open(file=name + "_comments.txt", mode="w", encoding="utf-8") as outfile:
10+
with open(file=name, mode="w", encoding="utf-8") as outfile:
1111
for m in MetaList:
1212
outfile.write(m.Comments + "\n")
1313

0 commit comments

Comments
 (0)