RTIInternational / SMART

Smarter Manual Annotation for Resource-constrained collection of Training data
MIT License
220 stars 31 forks source link

add a whole bunch of category fixes #362

Closed AstridKery closed 1 month ago

AstridKery commented 2 months ago

This MR pulls together a whole bunch of little updates, mostly related to the recent category update:

AstridKery commented 1 month ago

This looks good to me. The only thing I did that kind of broke it was

  1. Create a project with matching data and label metadata (category column = State)
  2. Go to the update label descriptions page
  3. Re-upload the label file but the category column name is changed to sTatE Results in screenshot below. But I feel like it might be safe to assume that no one would do this? Screenshot 2024-09-05 at 12 02 35 PM

Thanks! I had been toying with adding case-insensitive checks to the file reads. This confirms that it would be a good idea. I didn't even think of someone just changing a field name, but that's possible. I've added that in now.