several bug fixes to twsi_evaluation.py script (see comments near changes)#2
several bug fixes to twsi_evaluation.py script (see comments near changes)#2mpelevina wants to merge 1 commit intouhh-lt:masterfrom mpelevina:master
Conversation
There was a problem hiding this comment.
why python engine?
|
The original command triggers the following error: |
|
the proper fix would be rather to but we must be sure the INVENTORY_FILE has no multiple tabs (which would be actually the bug as well) can you update and check if it works and make another pull request? |
|
This (using '\t') is indeed what I've tried at first, but using it would require rewriting parts of this script. The same applies to all three calls of read_csv (substitutions, inventory, predictions). It did seem strange to me, but I've decided not to change it without knowing why it had been implemented like this. I think it might be brought up as an "issue". |
this is really strange way to do it indeed. it would be great if you can fix it changing the corresponding code. take your time to do so. we will need this evaluation code a lot so better to have it right, rather than monkeypatching it. if you need to modify the format of input files go ahead to fix the problem |
|
Ok, I've put it on my todo list. |
|
ok. thank you |
please, review my suggestions for bug fixes in the evaluation script.