Skip to content
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

Fix commodity listings not being split correctly #31

Open
EtienneLamoureux opened this issue Dec 4, 2023 · 0 comments
Open

Fix commodity listings not being split correctly #31

EtienneLamoureux opened this issue Dec 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@EtienneLamoureux
Copy link
Owner

EtienneLamoureux commented Dec 4, 2023

Situation

Sometimes, the OCR does not correctly split the different commodity listings:

"cules starlifter","SELLS","agricultural supplies max inventory  aluninur nax inventory  d astatine very high inventory  beryl wax inventory add hydrogen wax inventory  waste","100.0","10000","max inventory","2023-12-04 11:40:24"
"crusader c2 hercules starlifter","SELLS","wax ass  astatine","252.0","4000","very high inventory","2023-12-04 11:40:20"
"crusader c2 hercules starlifter","SELLS","waste","3.0","75","max inventory","2023-12-04 11:40:20"
"cules starlifter","SELLS","wax frp  astatine very high inventory y beryl max inventory  hydrogen max inventory rr waste","252.0","4000","max inventory","2023-12-04 11:40:24"

This is caused by this method not calculating the correct value for the paragraph gap.

Tasks

  1. Implement the fix documented in this comment

Results

  1. Paragraph gap is always calculated correctly
@EtienneLamoureux EtienneLamoureux added the bug Something isn't working label Dec 4, 2023
@EtienneLamoureux EtienneLamoureux changed the title Fix commodity listings not being correctly split Fix commodity listings not being split correctly Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant