diff --git a/dgm_workshop/01_intro_to_python.ipynb b/dgm_workshop/01_intro_to_python.ipynb index 8be6f9460fc5bc960ac53cbab3c4bab7b9c2eaa4..458509181f33276f2f321511fe943640e7ef8f2d 100644 --- a/dgm_workshop/01_intro_to_python.ipynb +++ b/dgm_workshop/01_intro_to_python.ipynb @@ -760,13 +760,13 @@ " \"\"\"\n", " Calculate area\n", " \"\"\"\n", - " self.area = np.pi * self.radius**2\n", + " self.area = 3.14 * self.radius**2\n", "\n", " def get_circumference(self):\n", " \"\"\"\n", " Calculate circumference\n", " \"\"\"\n", - " self.circumference = 2.0 * np.pi * self.radius" + " self.circumference = 2.0 * 3.14 * self.radius" ] }, { @@ -1018,7 +1018,7 @@ }, "outputs": [], "source": [ - "df = pd.read_csv(\"ti_alloy_data.csv\")" + "df = pd.read_csv(\"dax-ti-static.csv\")" ] }, { diff --git a/dgm_workshop/02_workflows_in_materials_science.ipynb b/dgm_workshop/02_workflows_in_materials_science.ipynb index 1eee96c3d14f33da34a91ef0a8534c55c068af84..b7dcc8b4e59b4354e4a241337a1cd43ff7867317 100644 --- a/dgm_workshop/02_workflows_in_materials_science.ipynb +++ b/dgm_workshop/02_workflows_in_materials_science.ipynb @@ -329,7 +329,7 @@ "metadata": {}, "outputs": [], "source": [ - "structure = pr.create.structure.bulk('Al', cubic=True)" + "structure = project.create.structure.bulk('Al', cubic=True)" ] }, { @@ -431,7 +431,7 @@ "metadata": {}, "outputs": [], "source": [ - "elastic_job = job.create_job(pr.job_type.ElasticMatrixJob, \"elastic_job\")" + "elastic_job = job.create_job(project.job_type.ElasticMatrixJob, \"elastic_job\")" ] }, {