User:Karsten Theis/Reviewing tools: Difference between revisions
From Proteopedia
Jump to navigationJump to search
| Line 17: | Line 17: | ||
To quickly see which PDB files are shown on a page, and have quick access to all the scripts (for example, if you want to find out how a 3D scene was made), I wrote a python script that scans a page, extracts the green links, gathers information from the Jmol state files (which are Jmol scripts), and outputs it as a summary. One such summary is [[Talk:Hen Egg-White (HEW) Lysozyme|here]]. The script is pasted below, and you can run it (for instance on repl.it) after setting the variable "site" to the page you are interested in: | To quickly see which PDB files are shown on a page, and have quick access to all the scripts (for example, if you want to find out how a 3D scene was made), I wrote a python script that scans a page, extracts the green links, gathers information from the Jmol state files (which are Jmol scripts), and outputs it as a summary. One such summary is [[Talk:Hen Egg-White (HEW) Lysozyme|here]]. The script is pasted below, and you can run it (for instance on repl.it) after setting the variable "site" to the page you are interested in: | ||
<pre> | <pre>site = 'Abrin' | ||
site = 'Abrin' | |||
import urllib.request | import urllib.request | ||