Skip to content

Commit 17ad0ec

Browse files
committed
fix output for design results
1 parent e80f34b commit 17ad0ec

1 file changed

Lines changed: 28 additions & 8 deletions

File tree

source/_static/js/designSpec.js

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3142,12 +3142,22 @@ const designSpec = {
31423142
description: "Result encoded in requested format.",
31433143
content: {
31443144
"chemical/x-mmcif": {
3145-
schema:
3146-
'<!doctype html> <html lang="en"> <head> <script type="module">import { injectIntoGlobalHook } from "/@react-refresh"; injectIntoGlobalHook(window); window.$RefreshReg$ = () => {}; window.$RefreshSig$ = () => (type) => type;</script>\n<script type="module" src="/@vite/client"></script>\n<meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>OpenProtein API</title> </head> <body> <div id="root"></div> <script type="module" src="/src/main.tsx?t=1769529136835"></script> </body> </html>',
3145+
schema: {
3146+
title: "CIFOutput",
3147+
description: "An output CIF structure file.",
3148+
type: "string",
3149+
example:
3150+
'data_example\n#\n_entry.id example\n#\nloop_\n_entity.id\n_entity.type\n_entity.pdbx_description\n1 polymer "Example protein chain"\n#\nloop_\n_atom_site.group_PDB\n_atom_site.id\n_atom_site.type_symbol\n_atom_site.label_atom_id\n_atom_site.label_comp_id\n_atom_site.label_asym_id\n_atom_site.label_entity_id\n_atom_site.label_seq_id\n_atom_site.Cartn_x\n_atom_site.Cartn_y\n_atom_site.Cartn_z\nATOM 1 N N MET A 1 1 12.011 13.456 14.789\nATOM 2 C CA MET A 1 1 13.123 14.567 15.890\nATOM 3 C C MET A 1 1 14.234 15.678 16.901\nATOM 4 O O MET A 1 1 15.345 16.789 17.012\n#\n',
3151+
},
31473152
},
31483153
"chemical/x-pdb": {
3149-
schema:
3150-
'<!doctype html> <html lang="en"> <head> <script type="module">import { injectIntoGlobalHook } from "/@react-refresh"; injectIntoGlobalHook(window); window.$RefreshReg$ = () => {}; window.$RefreshSig$ = () => (type) => type;</script>\n<script type="module" src="/@vite/client"></script>\n<meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>OpenProtein API</title> </head> <body> <div id="root"></div> <script type="module" src="/src/main.tsx?t=1769529136835"></script> </body> </html>',
3154+
schema: {
3155+
title: "PDBOutput",
3156+
description: "An output pdb structure file.",
3157+
type: "string",
3158+
example:
3159+
"HEADER OXYGEN TRANSPORT 29-JUL-76 1HHO \nTITLE DEOXY HUMAN HEMOGLOBIN \nCOMPND MOL_ID: 1; MOLECULE: HEMOGLOBIN; CHAIN: A, B, C, D; \nSOURCE HUMAN (HOMO SAPIENS) \nKEYWDS OXYGEN TRANSPORT, HEME \nEXPDTA X-RAY DIFFRACTION \nAUTHOR F.PERUTZ,R.MATTHEWS \nREVDAT 1 24-FEB-09 1HHO 0 \nSEQRES 1 A 141 VAL LEU SER PRO ALA ASP LYS THR VAL LEU THR PRO GLU GLU \nSEQRES 2 A 141 LYS SER ALA GLY PHE LEU SER PRO GLU GLY ALA GLY\n",
3160+
},
31513161
},
31523162
},
31533163
},
@@ -5042,10 +5052,20 @@ const designSpec = {
50425052
},
50435053
OutputFormat:
50445054
'<!doctype html> <html lang="en"> <head> <script type="module">import { injectIntoGlobalHook } from "/@react-refresh"; injectIntoGlobalHook(window); window.$RefreshReg$ = () => {}; window.$RefreshSig$ = () => (type) => type;</script>\n<script type="module" src="/@vite/client"></script>\n<meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>OpenProtein API</title> </head> <body> <div id="root"></div> <script type="module" src="/src/main.tsx?t=1769529136835"></script> </body> </html>',
5045-
CIFOutput:
5046-
'<!doctype html> <html lang="en"> <head> <script type="module">import { injectIntoGlobalHook } from "/@react-refresh"; injectIntoGlobalHook(window); window.$RefreshReg$ = () => {}; window.$RefreshSig$ = () => (type) => type;</script>\n<script type="module" src="/@vite/client"></script>\n<meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>OpenProtein API</title> </head> <body> <div id="root"></div> <script type="module" src="/src/main.tsx?t=1769529136835"></script> </body> </html>',
5047-
PDBOutput:
5048-
'<!doctype html> <html lang="en"> <head> <script type="module">import { injectIntoGlobalHook } from "/@react-refresh"; injectIntoGlobalHook(window); window.$RefreshReg$ = () => {}; window.$RefreshSig$ = () => (type) => type;</script>\n<script type="module" src="/@vite/client"></script>\n<meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>OpenProtein API</title> </head> <body> <div id="root"></div> <script type="module" src="/src/main.tsx?t=1769529136835"></script> </body> </html>',
5055+
CIFOutput: {
5056+
title: "CIFOutput",
5057+
description: "An output CIF structure file.",
5058+
type: "string",
5059+
example:
5060+
'data_example\n#\n_entry.id example\n#\nloop_\n_entity.id\n_entity.type\n_entity.pdbx_description\n1 polymer "Example protein chain"\n#\nloop_\n_atom_site.group_PDB\n_atom_site.id\n_atom_site.type_symbol\n_atom_site.label_atom_id\n_atom_site.label_comp_id\n_atom_site.label_asym_id\n_atom_site.label_entity_id\n_atom_site.label_seq_id\n_atom_site.Cartn_x\n_atom_site.Cartn_y\n_atom_site.Cartn_z\nATOM 1 N N MET A 1 1 12.011 13.456 14.789\nATOM 2 C CA MET A 1 1 13.123 14.567 15.890\nATOM 3 C C MET A 1 1 14.234 15.678 16.901\nATOM 4 O O MET A 1 1 15.345 16.789 17.012\n#\n',
5061+
},
5062+
PDBOutput: {
5063+
title: "PDBOutput",
5064+
description: "An output pdb structure file.",
5065+
type: "string",
5066+
example:
5067+
"HEADER OXYGEN TRANSPORT 29-JUL-76 1HHO \nTITLE DEOXY HUMAN HEMOGLOBIN \nCOMPND MOL_ID: 1; MOLECULE: HEMOGLOBIN; CHAIN: A, B, C, D; \nSOURCE HUMAN (HOMO SAPIENS) \nKEYWDS OXYGEN TRANSPORT, HEME \nEXPDTA X-RAY DIFFRACTION \nAUTHOR F.PERUTZ,R.MATTHEWS \nREVDAT 1 24-FEB-09 1HHO 0 \nSEQRES 1 A 141 VAL LEU SER PRO ALA ASP LYS THR VAL LEU THR PRO GLU GLU \nSEQRES 2 A 141 LYS SER ALA GLY PHE LEU SER PRO GLU GLY ALA GLY\n",
5068+
},
50495069
},
50505070
},
50515071
tags: [

0 commit comments

Comments
 (0)