gem / oq-platform

DEPRECATED. Please refer to https://github.com/gem/oq-platform2
8 stars 3 forks source link

irv: disable changing weights in all projects using custom operators #619

Closed ptormene closed 8 years ago

ptormene commented 8 years ago

For simplicity, I prefer to disable changing weights whenever any of the nodes in the current project uses a custom operator. Before, I was allowing to change weights in the single case in which the IRI node was using a custom operator, but not the others. I found a little bug in that solution, and anyway I prefer to keep things a little simpler. There was also a case in which the map was not displayed, so I fixed it too.