sillsdev / cog

Cog is a tool for comparing languages using lexicostatistics and comparative linguistics techniques.
http://sillsdev.github.io/cog/
MIT License
23 stars 10 forks source link

Crash when opening project after removing a variety/meaning with cognacy decisions #76

Closed ddaspit closed 4 years ago

ddaspit commented 4 years ago

Steps to reproduce:

  1. Pin a word pair as cognate/non-cognate.
  2. Remove a variety/meaning associated with the pinned word pair.
  3. Save the project.
  4. Open the project.
  5. Cog crashes with KeyNotFoundException.

This occurs because cognacy decisions are not properly cleaned up when a variety/meaning is removed.