Closed Hoeze closed 2 years ago
@haimasree should we just merge this? I guess it will change the testing predictions as well.
By all means! I did not intervene since Alex was assigned. The tests are passing so completely fine by me. I just merged the master branch. Lets see if the tests are still passing.
Tests are passing it seems. Do you think this is wrong?
Hm, this is super strange: Depending on whether I run the tests in pycharm or in the terminal I get different results.
Running the test in pycharm fails:
Running it in the terminal works:
How is that possible?
@haimasree can we somehow obtain the testing predictions?
Adding -o /tmp/APARENT.veff.predictions.hdf5
skips the prediction comparison:
Okay this is indeed strange.
To answer @haimasree can we somehow obtain the testing predictions?
Do you mean how you can test /tmp/APARENT.veff.predictions.hdf5
with kipoi test cli? If yes simply do the following
Modify the test snippet to this
test:
expect: /tmp/APARENT.veff.predictions.hdf5
precision_decimal: 4 (or whatever)
and kipoi test <model-name> --source=dir
@Hoeze in your pycharm version - precision_decimal is 7 which is the default value. So, somehow precision_decimal:4
is not getting honored but in your terminal version it is.
So:
Terminal: INFO [kipoi.cli.main] Desired precision (number of matching decimal places): 4 Pycharm: Arrays are not almost equal to 7 decimals
Now I dont why its like that. Any thoughts?
@Hoeze Any update on this? Shall I just merge?
I'll merge now, but this definitely needs more debugging. I dont get why the predictions seem to be the same.
Still, I'm limited on time and I dont know when I can come back to this issue...
Same upto 4 decimal places but not 7 ;)
Ensure that the ref-sequence is reverse-complemented