nsalomonis / altanalyze

AltAnalyze is a multi-functional and easy-to-use software package for automated single-cell and bulk gene and splicing analyses. Easy-to-use precompiled graphical user-interface versions available from our website.
http://www.altanalyze.org
Apache License 2.0
98 stars 30 forks source link

Windows serialization load error - misopy #40

Closed nsalomonis closed 4 years ago

nsalomonis commented 4 years ago

Issue: Failure to produce SashimiPlots on Windows 64. This was not an issue in Windows 32. The error presents as an EOFError in pickle_utils.py of misopy at the line loaded_obj = pickle.load(pickled_file).

nsalomonis commented 4 years ago

Solution: For windows, change the write and read functions to binary mode (wb, rb). This solves the problem and prevents the EOFError on Windows.