Skip to content

Commit 594a94c

Browse files
author
erasdna
committed
fix to_txt bug
1 parent 9b0d033 commit 594a94c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mritk/segmentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def write_lut(filename: Path, table: pd.DataFrame):
630630
elif filename.suffix == ".json":
631631
newtable.to_json(filename, index=True, header=False)
632632
else:
633-
newtable.to_txt(filename, sep="\t", index=True, header=False)
633+
newtable.to_csv(filename, sep="\t", index=True, header=False)
634634

635635

636636
def procedural_freesurfer_lut(labels: list, descriptions: list, cmap: str | None = None) -> pd.DataFrame:

0 commit comments

Comments
 (0)