Skip to content

Commit 5a3ede6

Browse files
anna-grimanna-grim
andauthored
Feat s3 loading (#176)
* refactor: improved txt reader * remove print * feat: load swcs from s3 * feat: read json * bug: read local txt --------- Co-authored-by: anna-grim <anna.grim@alleninstitute.org>
1 parent 8fe60de commit 5a3ede6

File tree

1 file changed

+1
-1
lines changed
  • src/segmentation_skeleton_metrics/utils

1 file changed

+1
-1
lines changed

src/segmentation_skeleton_metrics/utils/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def read_txt(path):
170170
return read_txt_from_gcs(path)
171171
else:
172172
with open(path, "r") as f:
173-
return f.read().splitlines()
173+
return f.read()
174174

175175

176176
def read_zip(zip_file, path):

0 commit comments

Comments
 (0)