Issue with label_convert, keeps throwing: [ERROR] Inconsistent number of columns in LUT file

Hi,

I read the other thread regarding this potential error and I’ve created a file accordingly. I’m not sure why I keep getting this error and it has been really frustrating to troubleshoot as I’m not sure what I did wrong.

I would like to upload my text file containing the LUT but unfortunately the forum doesn’t quite allow this. I am attaching a screenshot of my LUT file in that case. I’ve ensured that it follows the format allowed and so I’m really unsure how to troubleshoot going forward.

Are there suggested steps as to how to create this file?

Would really appreciate help as I am at my wits end. Thank you.

Hi @Michiko,

There’s a few things you could try:

  1. Open the file in a text editor that permits displaying formatting characters, and see if you can spot any hidden gotchas lying around.

  2. Use some advanced debugging techniques to catch exactly where parsing of the file is failing, and have a bit more of a dig around by querying the data stored in different variables. This will require at least some familiarity with gdb / C++ code though.

  3. E-mail the file to me directly.

Cheers
Rob

Thanks @rsmith for the suggestions I figured out what was the issue was!