Skip to content

Commit 3ef50a5

Browse files
committed
remove write_csv
1 parent 8f35c6d commit 3ef50a5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

element_interface/utils.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -167,18 +167,6 @@ def value_to_bool(value) -> bool:
167167
return str(value).lower() in ("y", "yes", "t", "true", "on", "1")
168168

169169

170-
def write_csv(content: list, path: pathlib.PosixPath):
171-
"""General function for writing strings to lines in CSV
172-
173-
Args
174-
content (list): list of strings, each as a row of the CSV
175-
path (pathlib.PosixPath): where to write new CSV
176-
"""
177-
with open(path, "w") as f:
178-
for line in content:
179-
f.write(line + "\n")
180-
181-
182170
class QuietStdOut:
183171
"""Context for quieting standard output, and setting datajoint loglevel to warning
184172

0 commit comments

Comments
 (0)