Skip to content

Commit d26f758

Browse files
committed
fixed print formatting
1 parent 8015977 commit d26f758

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

RATapi/examples/orso_integration/orso_integration.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
"source": [
4747
"# create the RAT parameters and layers from this model\n",
4848
"sample = RATapi.utils.orso.orso_model_to_rat(\"air | Ni 100 | SiO2 0.5 | Si\")\n",
49-
"print(\"Bulk in:\\n\", sample.bulk_in, \"\\nBulk out:\\n\", sample.bulk_out)\n",
50-
"print(\"Parameters:\\n\", sample.parameters)\n",
51-
"print(\"Layers:\\n\", sample.layers)"
49+
"print(\"Bulk in:\\n\", sample.bulk_in, \"\\nBulk out:\\n\", sample.bulk_out, sep=\"\")\n",
50+
"print(\"Parameters:\\n\", sample.parameters, sep=\"\")\n",
51+
"print(\"Layers:\\n\", sample.layers, sep=\"\")"
5252
]
5353
},
5454
{
@@ -65,8 +65,8 @@
6565
"outputs": [],
6666
"source": [
6767
"sample = RATapi.utils.orso.orso_model_to_rat(\"vacuum | B4C 100 | SiO2 0.5 | Si\", absorption=True)\n",
68-
"print(\"Parameters:\\n\", sample.parameters)\n",
69-
"print(\"Layers:\\n\", sample.layers)"
68+
"print(\"Parameters:\\n\", sample.parameters, sep=\"\")\n",
69+
"print(\"Layers:\\n\", sample.layers, sep=\"\")"
7070
]
7171
},
7272
{
@@ -85,9 +85,9 @@
8585
"outputs": [],
8686
"source": [
8787
"sample = RATapi.utils.orso.orso_model_to_rat(\"air | 5 ( Si 7 | Fe 7 ) | Si\")\n",
88-
"print(\"Parameters:\\n\", sample.parameters)\n",
89-
"print(\"Layers:\\n\", sample.layers)\n",
90-
"print(\"Model:\\n\", sample.model)"
88+
"print(\"Parameters:\\n\", sample.parameters, sep=\"\")\n",
89+
"print(\"Layers:\\n\", sample.layers, sep=\"\")\n",
90+
"print(\"Model:\\n\", sample.model, sep=\"\")"
9191
]
9292
},
9393
{
@@ -108,7 +108,7 @@
108108
},
109109
{
110110
"cell_type": "code",
111-
"execution_count": 5,
111+
"execution_count": 7,
112112
"metadata": {},
113113
"outputs": [],
114114
"source": [

0 commit comments

Comments
 (0)