TVB-2792: Solve some problems regarding PSE Viewers
Created by: VinczeRobert
I explained why I did what I did more detailed here: https://req.thevirtualbrain.org/browse/TVB-2792
Shortly:
- I don't think it makes sence to launch a PSE with only one operation. Neither Visualizer will work on it. To solve this, I chose to not launch a PSE simulation and display a message from JS.
- There are some JS errors in the Isocline Viewer when one of the two range params have only one value. I chose to add an extra param in the database which will tell us wether we display the Isocline Viewer or not.
If the solution gets accepted, I will extend the migration code with this extra db param as well.