<meta description=" Mass spectra are often contaminated by various chemicals. this tools allow to check possible contaminents based on a list defined in google spreadsheet and loaded dynamically.
You may customize the list of products to find in a specific spectrum
<h2>Mass spectra are often contaminated by various chemicals. this tools allow to check possible contaminents based on a list defined in google spreadsheet and loaded dynamically.</h2>
<p>You may customize the list of products to find in a specific spectrum</p>
<!--#endif -->
<!--#if expr="%{HTTP_USER_AGENT} !~ /bot/" -->
<div class="general">
</div>
<script>
'use strict';
window.onload = function () {
function checkVersion(v) {
if (typeof v === 'string') {
if (v[0] >= '0' && v[0] <= '9') {
return 'v' + v;
}
}
return v;
}
var version;
var uri = new URI(window.location.href);
var search = uri.search(true);
var url = 'https://couch.cheminfo.org/cheminfo-public/b60d4cd22af351b3996cb3321f169a0e/view.json?rev=311-42104f3cdb401ebef38ffe77ed098eb4';
var tplVersion = 'v2.121.2';
if (search.viewURL) {
url = search.viewURL;
}
// Get version in the following priority order
// In url, in template, fallback
if (search.v) {
version = search.v;
}
if (!version) {
version = tplVersion;
}
if (!search.loadversion)
addVisualizer(version, search);
else {
$.ajax({
url: url,
dataType: 'json',
type: 'GET',
success: function (data) {
addVisualizer(data.version, search);
},
error: function (err) {
console.log('error', err);
}
})
}
function addVisualizer(version, search) {
version = checkVersion(version);
var cdn = 'https://www.lactame.com';
var direct = 'http://direct.lactame.com';
var visualizer = document.createElement('script');