X Tutup
Skip to content

Commit 5aaede0

Browse files
author
Andreas Prlic
committed
continuing work, now with license and beginning of seqres
1 parent 0bac2ef commit 5aaede0

File tree

5 files changed

+404
-71
lines changed

5 files changed

+404
-71
lines changed

README.md

Lines changed: 3 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -14,72 +14,8 @@ At the moment this tutorial is still under development. Please check the [BioJa
1414
Book 1: [The Protein Structure modules](structure/README.md)
1515

1616

17-
<script type="text/javascript" src="JSmol.min.js"></script>
17+
## License
1818

19-
<script type="text/javascript">
19+
The content of this tutorial is available under the [CC-BY](http://creativecommons.org/licenses/by/3.0/) license.
2020

21-
// 1/21/2013 10:54:15 PM -- adds image handling
22-
23-
var jmolApplet0; // set up in HTML table, below
24-
25-
// logic is set by indicating order of USE -- default is HTML5 for this test page, though
26-
var use = "HTML5" // JAVA HTML5 WEBGL IMAGE are all otions
27-
var s = document.location.search;
28-
29-
30-
// Developers: The debugCode flag is checked in j2s/core/core.z.js,
31-
// and, if TRUE, skips loading the core methods, forcing those
32-
// to be read from their individual directories. Set this
33-
// true if you want to do some code debugging by inserting
34-
// System.out.println, document.title, or alert commands
35-
// anywhere in the Java or Jmol code.
36-
37-
Jmol.debugCode = (s.indexOf("debugcode") >= 0);
38-
39-
jmol_isReady = function(applet) {
40-
Jmol._getElement(applet, "appletdiv").style.border="1px solid blue"
41-
}
42-
43-
var xxxx = document.location.search
44-
if (xxxx.length == 5 || xxxx.length == 0) {
45-
xxxx = (xxxx + "?1crn").substring(1,5)
46-
script = 'h2oOn=true;set animframecallback "jmolscript:if (!selectionHalos) {select model=_modelNumber}";'
47-
+'set errorCallback "myCallback";'
48-
+'set defaultloadscript "isDssp = false;set defaultVDW babel;if(!h2oOn){display !water}";'
49-
+'set zoomlarge false;set echo top left;echo loading XXXX...;refresh;'
50-
+'load "http://www.rcsb.org/pdb/files/XXXX.pdb";set echo top center;echo XXXX;'
51-
+'spacefill off;wireframe off;cartoons on;color structure;'
52-
script = script.replace(/XXXX/g, xxxx)
53-
} else {
54-
script = unescape(xxxx.substring(1))
55-
}
56-
57-
58-
var Info = {
59-
width: 450,
60-
height: 450,
61-
debug: false,
62-
color: "white",
63-
addSelectionOptions: false,
64-
serverURL: "http://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php",
65-
use: "HTML5",
66-
j2sPath: "j2s",
67-
readyFunction: jmol_isReady,
68-
script: script,
69-
//jarPath: "java",
70-
//jarFile: (useSignedApplet ? "JmolAppletSigned.jar" : "JmolApplet.jar"),
71-
//isSigned: useSignedApplet,
72-
//disableJ2SLoadMonitor: true,
73-
disableInitialConsole: true
74-
//defaultModel: "$dopamine",
75-
//console: "none", // default will be jmolApplet0_infodiv
76-
}
77-
78-
</script>
79-
80-
81-
<script type="text/javascript">
82-
83-
jmolApplet0 = Jmol.getApplet("jmolApplet0", Info)
84-
85-
</script>
21+
[view license](license.md)

0 commit comments

Comments
 (0)
X Tutup