Recipes: create a workflow's linked boxes from a recipe, with the level of theory chosen in a dialog

オープン
#710 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

@ohlincha がすでに取り組んでいます。

2026年11月1日 から。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c
領域
backend, desktop

調査の方向性

Read the workflow designs in #341 and #674 and inspect docs/design/recipes/recipe-flow-v2.png first. The issue proposes recipe files, rule-based recommendations, workflow creation and links, and several future recipe features, but does not identify implementation files or tests. Agree on the proposed scope before starting; done means the agreed recipe flow works and its workflow boxes and links remain editable.

索引モデルが issue の本文から書いたものです。

説明

Design agreed so far (maintainer, 2026-10-30). Builds on workflows (#341, #674).

Flow. Open a workflow (or select a box in one) → Apply Recipe → choose a recipe → the recipe creates the job boxes, already linked. Mock-up of the flow (docs/design/recipes/recipe-flow-v2.png):

Recipes flow: empty workflow, set-up panel with live preview, boxes on the canvas

Decisions

  • A recipe applies to a new workflow and from a selected box (the chain is appended after it).
  • Structures are not asked for in the dialog: the boxes are placeholders, and the user clicks a box marked "needs structure" to build or import it. All other settings come from the dialog; each box stays editable like any calculation.
  • The level of theory is chosen per role (e.g. "geometry and frequencies", "final energies", solvent), with a recommendation and the reason shown next to it.
  • Recommendations come from rules, not a fixed table: the recipe's defaults in the dialog, and the rules applied again when a structure is set in a box (anion → diffuse functions; elements beyond Kr → an ECP; size → RI or a smaller basis; codes registered on the chosen machine), as warnings in that box. Never blocking.

Proposed, to settle

  • Recipe file: a templated workflow.txt (steps with code, run type and ES.* settings; links for geometry, orbitals, Hessian, join roles and scan point) plus a description and the rules, so that a site (central server) can supply its own recipes with fixed levels of theory for a class.
  • Code variants per recipe (e.g. G16 QST3 or ORCA NEB-TS), unregistered codes greyed out.
  • Built-in recipes per field: TS search with IRC; conformers (CREST → xTB → DFT, #682); gas → solvent with the Hessian carried over; redox potential; pKa.
  • Save Workflow as Recipe (settings and links kept, structures and results dropped).
  • An optional final analysis box (ΔG with its low-frequency spread #692, rate constants #330).
  • Later: fan-out (one box per conformer pattern, #708).
主要言語
C
スター
10
フォーク
8
平均マージ
21分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FriendsofECCE/ECCE のほかの issue

FriendsofECCE/ECCE の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。