From c18cdcffd8afea072446919d1e44cc3097f0d16d Mon Sep 17 00:00:00 2001 From: johnnyliu27 Date: Mon, 2 Oct 2017 12:09:59 -0400 Subject: [PATCH] More fixes of changing parentheses into square brackets --- examples/jupyter/mgxs-part-ii.ipynb | 2 +- examples/jupyter/mgxs-part-iii.ipynb | 2 +- examples/jupyter/pandas-dataframes.ipynb | 2 +- examples/jupyter/search.ipynb | 2 +- examples/jupyter/tally-arithmetic.ipynb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/jupyter/mgxs-part-ii.ipynb b/examples/jupyter/mgxs-part-ii.ipynb index b12cc4143..b03838477 100644 --- a/examples/jupyter/mgxs-part-ii.ipynb +++ b/examples/jupyter/mgxs-part-ii.ipynb @@ -131,7 +131,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()" diff --git a/examples/jupyter/mgxs-part-iii.ipynb b/examples/jupyter/mgxs-part-iii.ipynb index 65d8a069f..addca822f 100644 --- a/examples/jupyter/mgxs-part-iii.ipynb +++ b/examples/jupyter/mgxs-part-iii.ipynb @@ -134,7 +134,7 @@ "outputs": [], "source": [ "# Instantiate a Materials object\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()" diff --git a/examples/jupyter/pandas-dataframes.ipynb b/examples/jupyter/pandas-dataframes.ipynb index 8c409822e..72d5d7313 100644 --- a/examples/jupyter/pandas-dataframes.ipynb +++ b/examples/jupyter/pandas-dataframes.ipynb @@ -79,7 +79,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()" diff --git a/examples/jupyter/search.ipynb b/examples/jupyter/search.ipynb index b84411e20..5c754049a 100644 --- a/examples/jupyter/search.ipynb +++ b/examples/jupyter/search.ipynb @@ -71,7 +71,7 @@ " water.add_element('B', ppm_Boron * 1E-6)\n", " \n", " # Instantiate a Materials object\n", - " materials = openmc.Materials((fuel, zircaloy, water))\n", + " materials = openmc.Materials([fuel, zircaloy, water])\n", " \n", " # Create cylinders for the fuel and clad\n", " fuel_outer_radius = openmc.ZCylinder(R=0.39218)\n", diff --git a/examples/jupyter/tally-arithmetic.ipynb b/examples/jupyter/tally-arithmetic.ipynb index 1b189769d..70cabc7ef 100644 --- a/examples/jupyter/tally-arithmetic.ipynb +++ b/examples/jupyter/tally-arithmetic.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()"