Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timurbazhirov committed Feb 2, 2024
1 parent 650c81c commit 88eeb09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .lycheeignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
https://pubs.acs.org/doi/abs/10.1021/acs.nanolett.8b00670
https://advances.sciencemag.org/content/5/9/eaax5101.abstract
https://www.vasp.at/wiki/index.php/Input
https://www.vasp.at/wiki/index.php/Input
8 changes: 3 additions & 5 deletions examples/job/run-simulations-and-extract-properties.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -523,12 +523,10 @@
"results = []\n",
"for material in materials:\n",
" job = next((job for job in jobs if job[\"_material\"][\"_id\"] == material[\"_id\"]))\n",
" final_structure = get_property_by_subworkflow_and_unit_indicies(\n",
" property_endpoints, \"final_structure\", job, 0, 0\n",
" )[\"data\"]\n",
" pressure = get_property_by_subworkflow_and_unit_indicies(property_endpoints, \"pressure\", job, 0, 0)[\"data\"][\n",
" \"value\"\n",
" final_structure = get_property_by_subworkflow_and_unit_indicies(property_endpoints, \"final_structure\", job, 0, 0)[\n",
" \"data\"\n",
" ]\n",
" pressure = get_property_by_subworkflow_and_unit_indicies(property_endpoints, \"pressure\", job, 0, 0)[\"data\"][\"value\"]\n",
" unit_flowchart_id = job[\"workflow\"][\"subworkflows\"][1][\"units\"][1][\"flowchartId\"]\n",
" band_gap_direct = property_endpoints.get_direct_band_gap(job[\"_id\"], unit_flowchart_id)\n",
" band_gap_indirect = property_endpoints.get_indirect_band_gap(job[\"_id\"], unit_flowchart_id)\n",
Expand Down

0 comments on commit 88eeb09

Please sign in to comment.