From 4f12496ac160af5be3787032be3f44c41028d4ac Mon Sep 17 00:00:00 2001 From: Bharat Medasani Date: Sun, 31 May 2020 11:45:16 -0400 Subject: [PATCH] Defects notebook updated --- examples/DefectExampleNotebook.ipynb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/DefectExampleNotebook.ipynb b/examples/DefectExampleNotebook.ipynb index 5505634..5ef6f46 100644 --- a/examples/DefectExampleNotebook.ipynb +++ b/examples/DefectExampleNotebook.ipynb @@ -279,7 +279,11 @@ "import matplotlib.pyplot as plt\n", "%matplotlib inline\n", "\n", - "cps = cp_dict['Al-AlN']\n", + "try:\n", + " cps = cp_dict['Al-AlN']\n", + "except:\n", + " cps = cp_dict[\"AlN-Al\"]\n", + " \n", "TempRange = np.arange(300, 1001, 100)\n", "ConcenRange = []\n", "for T in TempRange:\n", @@ -905,7 +909,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.6" + "version": "3.8.3" } }, "nbformat": 4,