Currently the first line of a saved unweighted flag reads '# dim 0' whereas flagser strictly expects 'dim 0'.
What does this implement/fix? Explain your changes.
Adding the comments='' paramenter to np.save fixes this. This is done analogously to save_weighted_flag
Any other comments?
We did not observe this error before as load_unweighted_flag ignores the first line and does not strictly check if it is dim 0.
One could "fix" that as well?
Currently the first line of a saved unweighted flag reads '# dim 0' whereas
flagser
strictly expects 'dim 0'.What does this implement/fix? Explain your changes.
Adding the
comments=''
paramenter to np.save fixes this. This is done analogously tosave_weighted_flag
Any other comments?
We did not observe this error before as
load_unweighted_flag
ignores the first line and does not strictly check if it isdim 0
. One could "fix" that as well?