User:Karsten Theis/Reviewing tools: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Karsten Theis (talk | contribs)
Karsten Theis (talk | contribs)
Line 15: Line 15:


==Forensics tool==
==Forensics tool==
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 :
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>site = 'CRISPR-Cas9'
<pre>site = 'CRISPR-Cas9'
site = 'CRISPR-Cas9_Part_II'
site = 'CRISPR-Cas9_Part_II'
site = 'User:Karsten_Theis/scene_transitions'
site = 'User:Karsten_Theis/scene_transitions'
site = 'Alice_Clark/ATPsynthase'


import urllib.request
import urllib.request