Spaces:
Sleeping
Sleeping
Download ui/lib/visualization-types.ts from vignt97867896/bioflow: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/spaces/vignt97867896/bioflow/resolve/main/ui/lib/visualization-types.ts
- Command line
-
hf download hf://spaces/vignt97867896/bioflow/ui/lib/visualization-types.ts
-
curl -L -o visualization-types.ts https://huggingface.co/spaces/vignt97867896/bioflow/resolve/main/ui/lib/visualization-types.ts
455 Bytes
| // Molecule types | |
| export type Molecule = { | |
| id: string; | |
| name: string; | |
| smiles: string; | |
| pubchemCid: number; | |
| description?: string; | |
| }; | |
| // Protein types | |
| export type Protein = { | |
| id: string; | |
| pdbId: string; | |
| name: string; | |
| description?: string; | |
| }; | |
| // Viewer representation types | |
| export type MoleculeRepresentation = 'stick' | 'sphere' | 'line' | 'cartoon'; | |
| export type ProteinRepresentation = 'cartoon' | 'ball-and-stick' | 'surface' | 'ribbon'; | |