fcs icon indicating copy to clipboard operation
fcs copied to clipboard

cannot handle $BYTEORD= 1,2

Open Zander1983 opened this issue 9 years ago • 4 comments

For some FCS files I get the above error. I see it in the code here:

    if ('4,3,2,1' === this.text.$BYTEORD)
       isBE = true;
    else if ('1,2,3,4' === this.text.$BYTEORD)
        isBE = false;
    else
       throw 'cannot handle $BYTEORD= ' + this.text.$BYTEORD;

Any plans to fix this? Ill try myself

Zander1983 avatar Apr 11 '17 07:04 Zander1983

Feel free to try fixing this, if not, I'll look at it in a few weeks. What instrument generated the FCS files? If they are fairly small, could you post a couple for future tests?

MorganConrad avatar Apr 12 '17 21:04 MorganConrad

Actually I just removed the thrown error and the file was read fine

Zander1983 avatar Apr 14 '17 10:04 Zander1983

Could you send me the file? What was the byte order? Thanks

On Fri, Apr 14, 2017 at 3:17 AM, Zander1983 [email protected] wrote:

Actually I just removed the thrown error and the file was read fine

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MorganConrad/fcs/issues/3#issuecomment-294131218, or mute the thread https://github.com/notifications/unsubscribe-auth/ABENjWbawwDR-TgqISsjvaabVxILzamgks5rv0fDgaJpZM4M5s0e .

MorganConrad avatar Apr 14 '17 15:04 MorganConrad

@Zander1983, I think this is fixed in v0.1.1

MorganConrad avatar Nov 18 '18 01:11 MorganConrad