ual / ual_model_workspace

Repo for building a clean UrbanSim model for the Bay Area
BSD 3-Clause "New" or "Revised" License
2 stars 4 forks source link

Updates for Jupyterhub #9

Closed smmaurer closed 6 years ago

smmaurer commented 6 years ago

This PR includes a couple of updates to the shared scripts, so we can run them in Jupyterhub:

  1. Adds __init__.py for the scripts directory (this wasn't causing a problem on my machine, but in Jupyterhub on the Rome server I wasn't able to import the contents otherwise).

  2. Adds flexible specification of the data directory, through changes to datasources.py and to the Explore-data notebook. (Haven't tested this on Rome because I started having trouble launching the Jupyerhub process, but it works as intended locally.)