More fixes of changing parentheses into square brackets

This commit is contained in:
johnnyliu27 2017-10-02 12:09:59 -04:00
parent 7f58aa933b
commit c18cdcffd8
5 changed files with 5 additions and 5 deletions

View file

@ -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()"

View file

@ -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()"

View file

@ -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()"

View file

@ -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",

View file

@ -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()"