|
Download molgate_ui/contracts/session_layout.md from chihsing/DrugOps: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/spaces/chihsing/DrugOps/resolve/main/molgate_ui/contracts/session_layout.md
- Command line
-
hf download hf://spaces/chihsing/DrugOps/molgate_ui/contracts/session_layout.md
-
curl -L -o session_layout.md https://huggingface.co/spaces/chihsing/DrugOps/resolve/main/molgate_ui/contracts/session_layout.md
1.07 kB
Session layout — data/sessions/{session_id}/
session_id = 16 位 hex(見 STORAGE.md)
入口檔
| 檔案 | 誰寫入 | 用途 |
|---|---|---|
session_index.json |
UI / gateway | Module 1 Index(master index 或使用者 JSON) |
session_meta.json |
Module 1 | smiles、target、pdb_id 等 meta |
Stage 檔(節錄)
| Stage | 檔名 | Module |
|---|---|---|
| 01 | stage_01_smiles.json |
M1 |
| 02 | stage_02_pdb.json |
M1 |
| 03 | stage_03_index.json |
M1 |
| 04–09 | stage_04_*.json … stage_09_ligand_pdbqt.json |
M2 |
| 10–19 | receptor prep | M3 |
| 21–26 | docking | M4–M5 |
子目錄
{pdb_id}/
pdb/{PDBID}.pdb
ligand/
ligand.pdbqt
protein/
cleaned.pdb, receptor.pdbqt
docking/
output.pdbqt, vina.log
API(讀 session 狀態)
GET /api/index/status?session={id}GET /api/session/{id}/statusGET /api/structure/file?session={id}&path=...
完整範例目錄:data/examples/ibuprofen_complete/