add '#' to make the list of headers a comment
This commit is contained in:
@ -176,6 +176,7 @@ class log:
|
|||||||
|
|
||||||
# write col names from dict in the right order
|
# write col names from dict in the right order
|
||||||
if writenames:
|
if writenames:
|
||||||
|
print("# ", file=f, end="")
|
||||||
colnames = [k for j in colmap for k,v in self.ptr.items() if v == j]
|
colnames = [k for j in colmap for k,v in self.ptr.items() if v == j]
|
||||||
for j in range(len(colnames)):
|
for j in range(len(colnames)):
|
||||||
print(colnames[j], file=f, end=" ")
|
print(colnames[j], file=f, end=" ")
|
||||||
|
|||||||
Reference in New Issue
Block a user