Commit Graph

10 Commits (master)

Author SHA1 Message Date
J. Fernando Sánchez 50bca88362 Fix pre-release version of v1.0.0rc1 1 year ago
J. Fernando Sánchez 78833a9e08 Formatted with black 2 years ago
J. Fernando Sánchez f811ee18c5 WIP 2 years ago
J. Fernando Sánchez c8b8149a17 Updated to 0.14.6
Fix compatibility issues with newer networkx and pandas versions
4 years ago
J. Fernando Sánchez 9bc036d185 WIP: exporters 5 years ago
J. Fernando Sánchez a3ea434f23 0.13.8 5 years ago
J. Fernando Sánchez 04b4380c61 Fix wrong import soil.web 5 years ago
J. Fernando Sánchez ff1df62eec All tests pass 6 years ago
J. Fernando Sánchez 9165979b49 merge visualization branch
The web server is included as a submodule.
The dependencies for the web (tornado) are not installed by default, but they
can be installed as an extra:

```
pip install soil[web]
```

Once installed, the soil web can be used like this:

```
soil-web

OR

python -m soil.web
```

There are other minor changes:

* History re-connects to the sqlite database if it is used from a different
thread.
* Environment accepts additional parameters (so it can run simulations with
`visualization_params` or any other in the future).
* The simulator class is no longer necessary
* Logging is done in the same thread, and the simulation is run in a separate
one. This had to be done because it was creating some problems with tornado not
being able to find the current thread during logs, which caused hundreds of
repeated lines in the web "console".
* The player is slightly modified in this version. I noticed that when the
  visualization was playing, if you clicked somewhere it would change for a
  second, and then go back to the previous place. The code for the playback
  seemed too complex, especially speed control, so I rewrote some parts. I
  might've introduced new bugs.
6 years ago
J. Fernando Sánchez 078f8ace9e Merge commit '8fec544772c13efb1dc8a0589240551b9bad27cb' as 'soil/web' 6 years ago