Closed davidljung closed 10 years ago
This bug was introduced in commit https://github.com/ioam/topographica/commit/f399c0c8f4ab57a6795fa8238acb07cbacf6d794
For some reason the proj.name is capitalized with proj.name.capitalize() - that changes the string "LGNOnAfferent" to "Lgnonafferent" which is not a key in gcal.ty, and therefore a KeyError is raised. The same might happen with the sheet.name as well!
@jlstevens : is there any reason for the capitalize?
Well spotted Tobias!
The first letter must be capitalized to work with AttrTree and I didn't realize that the capitalize method affects anything other than the first letter.
I'm currently testing a fix which will be committed as soon as I can confirm that it resolves this issue.
Seems fixed now; thanks for raising the issue, and thanks Jean-Luc for fixing it!
Indeed - works for me also - thanks!
After installing Topographica from GitHub (on an Ubuntu 14.04 LTS EC2 instance) and executing:
it runs for about 15mins and then crashes with the following: