From 7f58aa933b2fbf5d5de1d402941149dabeb6010b Mon Sep 17 00:00:00 2001 From: johnnyliu27 Date: Mon, 2 Oct 2017 11:51:54 -0400 Subject: [PATCH] Changing parentheses into square brackets for creating materials_file --- examples/jupyter/post-processing.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/jupyter/post-processing.ipynb b/examples/jupyter/post-processing.ipynb index 72fb73758a..b0e9552983 100644 --- a/examples/jupyter/post-processing.ipynb +++ b/examples/jupyter/post-processing.ipynb @@ -105,7 +105,7 @@ "outputs": [], "source": [ "# Instantiate a Materials collection\n", - "materials_file = openmc.Materials((fuel, water, zircaloy))\n", + "materials_file = openmc.Materials([fuel, water, zircaloy])\n", "\n", "# Export to \"materials.xml\"\n", "materials_file.export_to_xml()"