KeplerLSID should implement hashCode
KeplerLSID overrides equals, and so it should therefore override hashCode as well.
I suspect this is why doing a map.containsKey(lsid) does not work (the lsid key is not found, even if it's in there). There was a bug due to this issue in KARFile. I implemented a little workflow-around and will add a note in the code referring to this bug. If implementing hashCode() does fix the containsKey issue, we should revert to the commented out code, as it's cleaner.