-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mkprof not working on empty sentences with --delimiter="@" #335
Comments
note also that verbose level is not increasing. |
For logging verbosity: the For the error you're seeing: I'm not able to reproduce it. Can you tell me what version you're running? $ delphin mkprof -i all.txt --delimiter "@" --relations ~/grammars/erg-trunk/tsdb/skeletons/Relations --skeleton all
9746 bytes relations
1614 bytes item
$ delphin --version
delphin 1.5.1 |
I am running the last version. The problem is an empty |
Ok thanks, I see the error when an
For logging, use the For the error, rather than just try-excepting the offending line, I'd rather figure out why it's getting to that state and try to avoid that. Try-excepts tend to hide errors that I'd rather be aware of. In this case, when you use |
I have released v1.6.0 already, so I've removed this issue from the milestone. I'm happy to put it in a 1.6.1 patch release. |
As a hint, the problem is here: Lines 423 to 424 in 77fc995
Line 424 assumes that |
This is the file all.txt, I am trying to have the first column of the file mapped to the
i-origin
and the second column to thei-comment
:The text was updated successfully, but these errors were encountered: