MISO
MISO copied to clipboard
Issue with psi values in miso files
When using the function summarize_miso I am receiving the following error:
File "/data/ccgd/opt/bin/summarize_miso", line 9, in
When I dug into it more, it appears that the corresponding miso file that was being summarized contains two comma-delimited values for a majority of the rows, but a single row contains three values (see below). This results in the dimension of the array being less than two in the samples_utils.py and triggers the warning message seen in the error statement. The error is due to an undefined variable for the warning message, but the reason it prints this message seems to also be an issue.
0.9721,0.0279 -215.10 0.9699,0.0301 -215.14 0.8255,0.1745 -223.78 0.9575,0.4,0.0206 -214.96 0.8791,0.1209 -226.03 0.9301,0.0699 -221.67 0.9523,0.0477 -215.49 0.9744,0.0256 -215.06
I have run into the same issue with samples_filename being undefined in version 0.5.3 and have circumvented the issue by using a defined variable in its place. However this bug should be addressed.
I believe this is already fixed in the github version but will be incorporated into next release.