Skip to content

Commit e187f5e

Browse files
committed
another fix
1 parent 7c92f0a commit e187f5e

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

jobflow_to_pyiron_base_qe.ipynb

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,21 @@
145145
{
146146
"id": "53e979ac-21db-4aa5-ae58-7cfc08dfa87b",
147147
"cell_type": "code",
148-
"source": "job_strain_lst = []\nfor i in range(number_of_strains):\n calc_strain = calculate_qe(\n working_directory=\"strain_\" + str(i),\n input_dict={\n \"structure\": getattr(structure_lst.output, str(i)),\n \"pseudopotentials\": pseudopotentials,\n \"kpts\": (3, 3, 3),\n \"calculation\": \"scf\",\n \"smearing\": 0.02,\n },\n )\n job_strain_lst.append(calc_strain)",
148+
"source": [
149+
"job_strain_lst = []\n",
150+
"for i in range(number_of_strains):\n",
151+
" calc_strain = calculate_qe(\n",
152+
" working_directory=\"strain_\" + str(i),\n",
153+
" input_dict={\n",
154+
" \"structure\": getattr(structure_lst.output, f\"s_{i}\"),\n",
155+
" \"pseudopotentials\": pseudopotentials,\n",
156+
" \"kpts\": (3, 3, 3),\n",
157+
" \"calculation\": \"scf\",\n",
158+
" \"smearing\": 0.02,\n",
159+
" },\n",
160+
" )\n",
161+
" job_strain_lst.append(calc_strain)"
162+
],
149163
"metadata": {
150164
"trusted": true
151165
},

0 commit comments

Comments
 (0)