delehef / fusta

A FUSE filesystem to browse & edit FASTA files
Other
17 stars 2 forks source link

Windows line endings not working #4

Open lczech opened 2 years ago

lczech commented 2 years ago

Hi again,

when opening a file with windows line endings \r\n, and renaming a sequence, the file after unmounting is broken.

Starting with

>a
GCAC-GTG-T
>b
C-T--AACCC
>c
AT-AACGTAG

and renaming one of the sequences gives me

>a

GCAC-GTG-T>x.seq
b
C-T--AAC>c

>c
AT-AAC

which does not seem right.

Best Lucas