hi Gijs,
recently, I implemented a breaking-change in the BJData spec and changed the default numeric byte-order from Big-Endian to Little-Endian, see
https://github.com/NeuroJSON/bjdata/commit/19f4b5c852a2deb3f450cc32f68258545fada788
as a result of this spec change, both bjdata (0.3) and jsonlab (2.9.8) have been updated to correctly parse the new bjdata spec (Draft-2) data files.
for now, please use bjdata 0.2.8 to continue reading the .bnii
files created by mcx v2020-nightly, I will need to update the C
library in mcx and output bjd draft-2 compliant files. will ship
those in the next release.
Qianqian
--
You received this message because you are subscribed to the Google Groups "mcx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mcx-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/e5aed7de-5ad0-4f3c-8fa6-8c472cec372en%40googlegroups.com.
hi Gijs, it will be first implemented in the nightly build, and
included in the next release
I forgot to mention, you can still load older bjdata files using
bjdata 0.3, by simply adding a parameter "islittle=false" in
either jdata.load() or bjdata.load() call.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/2ed60bc1-8622-4e15-8d5e-3bff37638932n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/eb7e7b81-3302-86a2-5ce4-3a62a894471a%40neu.edu.
Hi Qianqian,
Thanks for the updates. I still have one question.
Using ‘’islittle=False’’ works to load the old files. But for new files created with the nightly build I downloaded today (2022 03 29) ‘’islittle=False’’ is also necessary to load properly.
Should this not be the case for the new files?
Gijs
--
You received this message because you are subscribed to a topic in the Google Groups "mcx-users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/mcx-users/c9mPMjd0RQw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
mcx-users+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mcx-users/4b1f399b-735b-c118-e192-91f84ce95640%40neu.edu.
Hi Qianqian,
I found an error in my code and after fixing it I have no problems with the bjdata and “islittle=False” option.
Sorry for the confusion.
Gijs
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/aac2ec19a1bd4411abdc562fc9eebe7a%40vu.nl.
Hi Qianqian,
I found an error in my code and after fixing it I have no problems with the bjdata and “islittle=False” option.
Sorry for the confusion.
glad to hear the issue is resolved.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/8fd787d9d23c49908a1245e03d6514e8%40vu.nl.