chrisfilo/NeuroVault — pull request #4 by tyarkoni (2013-05-22 12:14:22+00:00)
Title: Fixed json conversion bug

Fixed the issue with images not being converted to JSON when a statmap file is first uploaded. I'm overriding the save method, so the JSON conversion code was being called before the uploaded file had been saved to disk. I now save the file first, then convert to JSON, then call super to finish saving the rest of the object.