Skip to content

Commit aea3e3b

Browse files
committed
More strings for functional feedback.
1 parent a67f76b commit aea3e3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gitnet/multigraph.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ def write_graphml(self, fname):
7575
" been converted to semicolon-delimited strings. To prevent this, remove vector attributes or"
7676
" convert them to atomic attributes prior to calling .write_graphml"
7777
.format(warning_set))
78-
7978
nx.write_graphml(graph, fname)
79+
print("Success. Wrote GraphML file {} to {}".format(fname, os.getcwd()))
8080

8181
def write_tnet(self, fname, mode_string="type", weighted=False, time_string="date", node_index_string="tnet_id",
8282
weight_string='weight'):
@@ -173,6 +173,7 @@ def write_tnet(self, fname, mode_string="type", weighted=False, time_string="dat
173173
f.write(" {}\n".format(weight))
174174
else:
175175
f.write("\n")
176+
print("Success. Wrote Tnet file {} to {}".format(fname, os.getcwd()))
176177

177178
def node_attributes(self, name, helper):
178179
"""

0 commit comments

Comments
 (0)