Skip to content

Commit

Permalink
Use local pdb files + add web server instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Sep 20, 2024
1 parent 4036d5d commit 4c3c20a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pnpm build

See [example-offline.html](example-offline.html) for an example of how to use the offline version.

To prevent CORS issues, the html, css and js files should be served from the same http server.
To prevent CORS issues, the html, css and js files should be served from the same http server like with `python3 -m http.server` and visit http://localhost:8000/example-offline.html.

### Embedded

Expand Down
14 changes: 7 additions & 7 deletions example-offline.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"vdw": { "mean": -2.98, "std": 9.17 },
"ilrmsd": { "mean": -2.98, "std": 9.17 },
"bsa": { "mean": -2.98, "std": 9.17 },
"best1": "https://files.rcsb.org/download/2OOB.pdb.gz",
"best2": "https://files.rcsb.org/download/2OOA.pdb.gz",
"best3": "https://files.rcsb.org/download/2OOA.pdb.gz",
"best4": "https://files.rcsb.org/download/2OOA.pdb.gz"
"best1": "stories/assets/2oob.pdb",
"best2": "stories/assets/4o8j.pdb",
"best3": "stories/assets/target.pdb",
"best4": "stories/assets/2oob.pdb"
},
{
"rank": 2,
Expand All @@ -48,9 +48,9 @@
"vdw": { "mean": -1.23, "std": 8.77 },
"ilrmsd": { "mean": -1.34, "std": 0 },
"bsa": { "mean": -2.978, "std": 0 },
"best1": "https://files.rcsb.org/download/2OOB.pdb.gz",
"best2": "https://files.rcsb.org/download/2OOA.pdb.gz",
"best3": "https://files.rcsb.org/download/2OOA.pdb.gz",
"best1": "stories/assets/2oob.pdb",
"best2": "stories/assets/4o8j.pdb",
"best3": "stories/assets/target.pdb",
"best4": ""
}
],
Expand Down

0 comments on commit 4c3c20a

Please sign in to comment.