JohnTigue / swdb_hilux

The Allen Institute's SWDB_2019 repo packaged as a Jupyter Book hosted on GitHub Pages, set to run notebooks on Colab.
0 stars 0 forks source link

Update *.ipynb metadata from python2 to python3 #8

Open JohnTigue opened 4 years ago

JohnTigue commented 4 years ago

This is a Python 2 vs 3 thing. Notebooks call for python2 so Colab gets confused, or warns that Python 2 is deprecated. And it's 2020, RIP python2.

AllenSDK docs:

The Allen SDK was developed and tested with Python 2.7.13 and Python 3.6.4,

A example of python2 is in BrainObservatory.ipynb:

 "metadata": {
  "kernelspec": {
     "display_name": "Python 2",
     "language": "python",
     "name": "python2"
    },
  "language_info": {
     "codemirror_mode": {
      "name": "ipython",
      "version": 2
     },
   "file_extension": ".py",
     "mimetype": "text/x-python",
     "name": "python",
     "nbconvert_exporter": "python",
     "pygments_lexer": "ipython2",
     "version": "2.7.15"
    }
JohnTigue commented 4 years ago

Was calling for python2