Skip to content

Commit

Permalink
Add lineterminator to _write_fam and _write_bim
Browse files Browse the repository at this point in the history
  • Loading branch information
horta committed Jun 18, 2024
1 parent b07b230 commit 4c5cc9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandas_plink/_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def _write_fam(filepath: Path, G: DataArray):
sep="\t",
header=False,
encoding="ascii",
lineterminator="\n",
)


Expand All @@ -290,4 +291,5 @@ def _write_bim(filepath: Path, G: DataArray):
sep="\t",
header=False,
encoding="ascii",
lineterminator="\n",
)

0 comments on commit 4c5cc9d

Please sign in to comment.