Skip to content

Commit

Permalink
Merge branch 'master' of github.com:materialsvirtuallab/nano281
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyue Ping Ong committed Oct 6, 2023
2 parents 277a1b2 + eb9b7de commit 40081a0
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions lectures/notebooks/Lecture 01 - Python for Data Science.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1374,9 +1374,21 @@
"# For Python newbies, any line starting with # is a comment line that is ignored by the interpreter.\n",
"# If you are using Google Colab, uncomment the next few lines (by removing the #) and run this cell.\n",
"# Important: Once the install completes, you will need to restart the runtime in Google Colab to use\n",
"# it!\n",
"# it! \n",
"\n",
"#!pip install pymatgen>=2023.10.4"
"# !pip install pymatgen>=2023.10.4\n",
"\n",
"## Here, we are mounting Google Drive so that we can load the Materials API key from a json file stored there. \n",
"## This avoids leaking API keys.\n",
"\n",
"# from google.colab import drive\n",
"\n",
"# drive.mount('/content/drive')\n",
"\n",
"# import json\n",
"\n",
"# with open(\"/content/drive/MyDrive/mapi.json\") as f:\n",
"# d = json.load(f)"
]
},
{
Expand Down Expand Up @@ -1794,9 +1806,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
"version": "3.11.5"
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}

0 comments on commit 40081a0

Please sign in to comment.