BUG: write gpmin restart json in w mode
There appears to be a bug in the dump
method for writing out the gpmin restart file.
I believe that in switching from writing the gpmin restart file with pickle
to json
, the file now needs to be written out using w
mode instead of wb
. Otherwise I encounter TypeError: a bytes-like object is required, not 'str'
on the first iteration
Hope I'm not missing something obvious