On 05.09.20 02:52, Yaroslav Halchenko wrote:
> On Fri, 04 Sep 2020, Steffen Möller wrote:
>
>>  File "./mCaller.py", line 59, in distribute_threads
>>    
>> extract_features(tsvname,refname,read2qual,nvariables,skip_thresh,qual_thresh,modelfile,classifier,0,endline=bytesize,train=train,pos_label=training_pos_dict,base=base,motif=motif,positions_list=positions_list)
>>  File
>> "/home/moeller/git/med-team/mcaller/mcaller-0.0/extract_contexts.py",
>> line 123, in extract_features
>>    model = pickle.load(modfi)
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xb9 in position 1:
>> ordinal not in range(128)
> I guess pickle produced with python2 ... have a look around e.g.
> https://rebeccabilbro.github.io/convert-py2-pickles-to-py3/

That fixes it. Many thanks!

Steffen

Reply via email to