Skip to content

Commit 43fcb0f

Browse files
committed
fix output format
1 parent 17ad0ec commit 43fcb0f

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

source/_static/js/designSpec.js

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3123,7 +3123,7 @@ const designSpec = {
31233123
"Replicate index out of the `N` requested designs. Defaults to the first design.\n",
31243124
required: false,
31253125
schema: {
3126-
type: "number",
3126+
type: "integer",
31273127
default: 0,
31283128
},
31293129
},
@@ -3133,8 +3133,14 @@ const designSpec = {
31333133
description:
31343134
"Output format to retrieve the result in.\n\nDefaults to `pdb`. Note that requested format may not be supported for all jobs depending on when the job was created.\n",
31353135
required: false,
3136-
schema:
3137-
'<!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>',
3136+
schema: {
3137+
title: "OutputFormat",
3138+
description:
3139+
"Output format of folded structure. Defaults to pdb.",
3140+
type: "string",
3141+
enum: ["pdb", "mmcif"],
3142+
default: "pdb",
3143+
},
31383144
},
31393145
],
31403146
responses: {
@@ -5050,8 +5056,13 @@ const designSpec = {
50505056
},
50515057
},
50525058
},
5053-
OutputFormat:
5054-
'<!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>',
5059+
OutputFormat: {
5060+
title: "OutputFormat",
5061+
description: "Output format of folded structure. Defaults to pdb.",
5062+
type: "string",
5063+
enum: ["pdb", "mmcif"],
5064+
default: "pdb",
5065+
},
50555066
CIFOutput: {
50565067
title: "CIFOutput",
50575068
description: "An output CIF structure file.",

0 commit comments

Comments
 (0)