Repository navigation
Conversation
…from api-client tools, with their tests set_execution_unit_input, set_assignment_value, patch_workflow_qe_input, apply_scf_kgrid, apply_planewave_cutoffs, kgrid_from_density, get_kgrid_query, get_kgrid_of_job and get_fermi_energy_flowchart_id read or edit workflow, unit or job-workflow structure and call no API, so they leave mat3ra/api-client#53 unchanged. get_fermi_energy_flowchart_id needs mat3ra-prode for the property name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| return str(value) | ||
|
|
||
|
|
||
| def patch_workflow_qe_input( |
There was a problem hiding this comment.
Should this go to wode.tools under espresso similar https://github.com/mat3ra/made/tree/main/src/py/mat3ra/made/tools
There was a problem hiding this comment.
Done in 977ecf5 — patch_workflow_qe_input and the other functions are in mat3ra/wode/tools/ (espresso with helpers.py, workflow, unit), laid out like made's tools; workflows/workflow.py and units/execution.py are back to main. prode is a tools extra.
| "units": "crystal", | ||
| }, | ||
| } | ||
| ) |
There was a problem hiding this comment.
Should be taken from standata
| raise NotImplementedError | ||
|
|
||
|
|
||
| def kgrid_from_density(material: Material, density: float, periodic_dims: tuple = (0, 1, 2)) -> List[int]: |
There was a problem hiding this comment.
can be in calculate_dimensions_from_density
There was a problem hiding this comment.
Done in 977ecf5 — PointsGridDataProvider.calculate_dimensions_from_density replaces the module function; notebooks_utils kgrid_from_density calls it.
… here from api-client tools, with its test to_object_storage_input builds an object_storage input item of a workflow IO unit and calls no API, so it sits beside the IO unit as io.py, named like the other unit modules after the JS units/IOUnit.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ools packages with their tests, mat3ra-prode in the tools extra, k-grid from density as PointsGridDataProvider.calculate_dimensions_from_density tested on Standata materials Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Standata Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The api-client tools (api-client#53) keep only functions that call the API, so the helpers that read or edit a workflow, its units and its k-grid are now
mat3ra.wode.tools(espresso,workflow,unit), laid out like made'stoolsand installed with atoolsextra that adds prode; the k-grid from a density isPointsGridDataProvider.calculate_dimensions_from_density.Part of the SOF-8000 set, merged and released in this order: prode#61, ide#26, utils#60, jode#9 → wode#178 → api-client#53 → api-examples#417 → mcp-server#1.
🤖 Generated with Claude Code