Convert legacy format to mwk2

Hey Chris,

I was wondering whether converting legacy .mwk files to .mwk2 files is possible. I saw a mwk2writer added to the nightly build but I do not see much documentation.

RT Raghavan
Movshon Lab

Hi RT,

The Python module does include an undocumented _MWK2Writer class. It’s there to help with automated testing of the module, but you could also use it to convert an MWK file to MWK2 format.

The attached script implements such a converter. To use it:

python3 data.mwk data.mwk2

Chris (511 Bytes)

1 Like