Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96067425
index.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Dec 22, 07:11
Size
4 KB
Mime Type
text/html
Expires
Tue, Dec 24, 07:11 (2 d)
Engine
blob
Format
Raw Data
Handle
23118074
Attached To
rMSTOOLS mstools
index.html
View Options
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"keywords"
content=
""
>
<meta
description=
""
>
<title>
Home
</title>
<script
src=
"https://www.lactame.com/lib/jquery/2.1.1/jquery.min.js"
></script>
<script
src=
"https://www.lactame.com/lib/uri.js/1.14.1/URI.min.js"
></script>
<script>
window
.
addEventListener
(
'load'
,
function
()
{
$
(
'.navmenu'
).
show
();
});
</script>
</head>
<body>
<script>
(
function
(
i
,
s
,
o
,
g
,
r
,
a
,
m
){
i
[
'GoogleAnalyticsObject'
]
=
r
;
i
[
r
]
=
i
[
r
]
||
function
(){
(
i
[
r
].
q
=
i
[
r
].
q
||
[]).
push
(
arguments
)},
i
[
r
].
l
=
1
*
new
Date
();
a
=
s
.
createElement
(
o
),
m
=
s
.
getElementsByTagName
(
o
)[
0
];
a
.
async
=
1
;
a
.
src
=
g
;
m
.
parentNode
.
insertBefore
(
a
,
m
)
})(
window
,
document
,
'script'
,
'https://www.google-analytics.com/analytics.js'
,
'ga'
);
ga
(
'create'
,
'UA-78922811-1'
,
'auto'
);
ga
(
'send'
,
'pageview'
);
</script>
<header>
<nav>
</nav>
</header>
<!--#if expr="%{HTTP_USER_AGENT} =~ /bot/" -->
<!--#endif -->
<!--#if expr="%{HTTP_USER_AGENT} !~ /bot/" -->
<div
class=
"general"
>
</div>
<script>
'use strict'
;
function
checkVersion
(
versions
,
version
)
{
versions
=
versions
.
map
(
function
(
v
)
{
return
v
.
toLowerCase
();
});
version
=
version
.
toLowerCase
();
if
(
version
&&
version
[
0
]
>=
'0'
&&
version
[
0
]
<=
'9'
&&
!
version
.
startsWith
(
'v'
))
version
=
'v'
+
version
;
var
idx
=
versions
.
indexOf
(
version
);
if
(
idx
>
-
1
)
{
version
=
versions
[
idx
];
}
else
{
// Fallback version is HEAD-min
version
=
'HEAD-min'
;
}
if
(
version
===
'head-min'
)
version
=
'HEAD-min'
;
return
version
;
}
window
.
onload
=
function
()
{
var
prom
;
// Weird but will avoid javascript error if this param is not what we expect
prom
=
$
.
getJSON
(
'https://www.lactame.com/visualizer/versions.json'
);
prom
.
then
(
function
(
versions
)
{
var
version
;
var
uri
=
new
URI
(
window
.
location
.
href
);
var
search
=
uri
.
search
(
true
);
var
url
=
'https://couch.cheminfo.org/cheminfo-public/e90a06ebfedfae6dcf60784e37d5d17b/view.json?rev=4-957b4522c2d8b0680a29f9db91b00056'
;
var
tplVersion
=
'v2.114.9'
;
var
fallbackVersion
=
'v2.114.9'
;
if
(
search
.
viewURL
)
{
url
=
search
.
viewURL
;
}
// Get version in the following priority order
// In url, in template, fallback
if
(
search
.
v
)
{
version
=
checkVersion
(
versions
,
search
.
v
);
}
if
(
!
version
)
{
version
=
checkVersion
(
versions
,
tplVersion
);
}
if
(
!
version
)
{
version
=
checkVersion
(
versions
,
fallbackVersion
);
}
if
(
!
search
.
loadversion
)
addVisualizer
(
version
,
search
);
else
{
$
.
ajax
({
url
:
url
,
dataType
:
'json'
,
type
:
'GET'
,
success
:
function
(
data
)
{
addVisualizer
(
checkVersion
(
versions
,
data
.
version
),
search
);
},
error
:
function
(
err
)
{
console
.
log
(
'error'
,
err
);
}
})
}
});
function
addVisualizer
(
version
,
search
)
{
var
cdn
=
'https://www.lactame.com'
;
var
direct
=
'http://direct.lactame.com'
;
var
visualizer
=
document
.
createElement
(
'script'
);
var
baseUrl
;
baseUrl
=
(
search
.
direct
?
direct
:
cdn
)
+
'/visualizer/'
+
version
;
visualizer
.
setAttribute
(
'data-main'
,
baseUrl
+
'/init'
);
visualizer
.
setAttribute
(
'src'
,
baseUrl
+
'/components/requirejs/require.js'
);
document
.
head
.
appendChild
(
visualizer
);
}
}
</script>
<div
id=
"errorMessage"
></div>
<tr>
<td
class=
"left"
></td>
<td
colspan=
"3"
>
<div
id=
"ci-visualizer"
data-ci-view=
"https://couch.cheminfo.org/cheminfo-public/e90a06ebfedfae6dcf60784e37d5d17b/view.json?rev=4-957b4522c2d8b0680a29f9db91b00056"
data-ci-config=
"../../static/readConfig.json"
/>
</td>
<td
class=
"right"
></td>
</tr>
<!--#endif -->
</body>
</html>
Event Timeline
Log In to Comment