@datagrok/sequence-translator 1.3.5 → 1.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/detectors.js +32 -0
  3. package/dist/package-test.js +1 -1
  4. package/dist/package-test.js.map +1 -1
  5. package/dist/package.js +1 -1
  6. package/dist/package.js.map +1 -1
  7. package/package.json +10 -6
  8. package/src/apps/common/view/components/colored-input/style.css +3 -2
  9. package/src/apps/pattern/model/const.ts +8 -5
  10. package/src/apps/pattern/model/data-manager.ts +44 -16
  11. package/src/apps/pattern/model/event-bus.ts +2 -0
  12. package/src/apps/pattern/model/translator.ts +45 -8
  13. package/src/apps/pattern/model/types.ts +8 -6
  14. package/src/apps/pattern/view/components/bulk-convert/column-input.ts +4 -10
  15. package/src/apps/pattern/view/components/bulk-convert/table-input.ts +5 -8
  16. package/src/apps/pattern/view/components/edit-block-controls.ts +6 -15
  17. package/src/apps/pattern/view/components/load-block-controls.ts +11 -10
  18. package/src/apps/pattern/view/components/numeric-label-visibility-controls.ts +4 -5
  19. package/src/apps/pattern/view/components/right-section.ts +50 -1
  20. package/src/apps/pattern/view/components/strand-editor/header-controls.ts +2 -2
  21. package/src/apps/pattern/view/components/strand-editor/strand-controls.ts +2 -2
  22. package/src/apps/pattern/view/components/terminal-modification-editor.ts +1 -1
  23. package/src/apps/pattern/view/components/translation-examples-block.ts +1 -1
  24. package/src/apps/pattern/view/ui.ts +1 -1
  25. package/src/apps/structure/view/ui.ts +5 -5
  26. package/src/apps/translator/view/ui.ts +15 -27
  27. package/src/package.ts +52 -11
  28. package/src/plugins/mermade.ts +1 -1
  29. package/src/polytool/pt-conversion.ts +2 -2
  30. package/src/polytool/pt-dialog.ts +99 -18
  31. package/src/polytool/pt-enumeration-chem.ts +105 -0
  32. package/src/polytool/pt-enumeration-helm.ts +22 -0
  33. package/src/polytool/pt-ui.ts +25 -0
  34. package/src/polytool/utils.ts +34 -3
  35. package/src/utils/context-menu.ts +57 -0
  36. package/src/utils/err-info.ts +13 -0
  37. package/webpack.config.js +2 -4
  38. package/src/polytool/pt-enumeration.ts +0 -141
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # Sequence Translator changelog
2
2
 
3
+ ## 1.3.10 (2024-07-29)
4
+
5
+ ### Features
6
+
7
+ * Add 'Create/Modified' date metadata to patterns
8
+
9
+ ### Bug fixes
10
+
11
+ * Load new patterns upon saving / overwriting
12
+
13
+ ## 1.3.9 (2024-07-23)
14
+
15
+ * Dependency: datgarok-api >= 1.20.0
16
+
17
+ ## 1.3.8 (2024-07-09)
18
+
19
+ ### Features
20
+
21
+ * Add PolyTool-enumerate context menu for macromolecule cell
22
+
23
+ ### Bug fixes
24
+
25
+ * Use HelmInput from Helm
26
+ * Bump dependencies versions
27
+
28
+ ## 1.3.7 (2024-07-01)
29
+
30
+ ### Bug fixes
31
+
32
+ * Fix style for colored text input
33
+
34
+ ## 1.3.6 (2024-06-26)
35
+
36
+ ### Bug fixes
37
+
38
+ * Fix bulk input in Pattern app
39
+
3
40
  ## 1.3.5 (2024-06-13)
4
41
 
5
42
  ### Features
package/detectors.js CHANGED
@@ -6,3 +6,35 @@
6
6
  * Follow this naming convention to ensure that your detectors are properly loaded.
7
7
  */
8
8
 
9
+ class SequenceTranslatorPackageDetectors extends DG.Package {
10
+ //name: autostart
11
+ //tags: autostart
12
+ //description: SequenceTranslator bootstrap
13
+ autostart() {
14
+ this.logger.debug('ST: detectors.js: autostart()');
15
+
16
+ this.autostartContextMenu();
17
+ }
18
+
19
+ autostartContextMenu() {
20
+ const logPrefix = `ST: detectors.js: autostartContextMenu()`;
21
+ this.logger.debug(`${logPrefix}, start`);
22
+ grok.events.onContextMenu.subscribe((event) => {
23
+ this.logger.debug(`${logPrefix}, onContextMenu, start`);
24
+ const item = event.args.item;
25
+ if (item) {
26
+ if (item && (
27
+ (item instanceof DG.GridCell || item.constructor.name === 'GridCell')
28
+ )) {
29
+ const packageName = this.name;
30
+ grok.functions.call(`${packageName}:addContextMenu`, {event: event})
31
+ .catch((err) => {
32
+ this.logger.error('addContextMenu must not throw any exception');
33
+ this.logger.error(err.toString());
34
+ });
35
+ }
36
+ }
37
+ this.logger.debug(`${logPrefix}, onContextMenu, end`);
38
+ });
39
+ }
40
+ }
@@ -1,2 +1,2 @@
1
- var sequencetranslator_test;(()=>{var t={982:function(t,e,s){var n;!function(e,o){var r={};!function(t){"use strict";t.__esModule=!0,t.digestLength=32,t.blockSize=64;var e=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function s(t,s,n,o,r){for(var i,a,c,l,y,f,u,p,x,h,d,g,m;r>=64;){for(i=s[0],a=s[1],c=s[2],l=s[3],y=s[4],f=s[5],u=s[6],p=s[7],h=0;h<16;h++)d=o+4*h,t[h]=(255&n[d])<<24|(255&n[d+1])<<16|(255&n[d+2])<<8|255&n[d+3];for(h=16;h<64;h++)g=((x=t[h-2])>>>17|x<<15)^(x>>>19|x<<13)^x>>>10,m=((x=t[h-15])>>>7|x<<25)^(x>>>18|x<<14)^x>>>3,t[h]=(g+t[h-7]|0)+(m+t[h-16]|0);for(h=0;h<64;h++)g=(((y>>>6|y<<26)^(y>>>11|y<<21)^(y>>>25|y<<7))+(y&f^~y&u)|0)+(p+(e[h]+t[h]|0)|0)|0,m=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&c^a&c)|0,p=u,u=f,f=y,y=l+g|0,l=c,c=a,a=i,i=g+m|0;s[0]+=i,s[1]+=a,s[2]+=c,s[3]+=l,s[4]+=y,s[5]+=f,s[6]+=u,s[7]+=p,o+=64,r-=64}return o}var n=function(){function e(){this.digestLength=t.digestLength,this.blockSize=t.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return e.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},e.prototype.clean=function(){for(var t=0;t<this.buffer.length;t++)this.buffer[t]=0;for(t=0;t<this.temp.length;t++)this.temp[t]=0;this.reset()},e.prototype.update=function(t,e){if(void 0===e&&(e=t.length),this.finished)throw new Error("SHA256: can't update because hash was finished.");var n=0;if(this.bytesHashed+=e,this.bufferLength>0){for(;this.bufferLength<64&&e>0;)this.buffer[this.bufferLength++]=t[n++],e--;64===this.bufferLength&&(s(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(e>=64&&(n=s(this.temp,this.state,t,n,e),e%=64);e>0;)this.buffer[this.bufferLength++]=t[n++],e--;return this},e.prototype.finish=function(t){if(!this.finished){var e=this.bytesHashed,n=this.bufferLength,o=e/536870912|0,r=e<<3,i=e%64<56?64:128;this.buffer[n]=128;for(var a=n+1;a<i-8;a++)this.buffer[a]=0;this.buffer[i-8]=o>>>24&255,this.buffer[i-7]=o>>>16&255,this.buffer[i-6]=o>>>8&255,this.buffer[i-5]=o>>>0&255,this.buffer[i-4]=r>>>24&255,this.buffer[i-3]=r>>>16&255,this.buffer[i-2]=r>>>8&255,this.buffer[i-1]=r>>>0&255,s(this.temp,this.state,this.buffer,0,i),this.finished=!0}for(a=0;a<8;a++)t[4*a+0]=this.state[a]>>>24&255,t[4*a+1]=this.state[a]>>>16&255,t[4*a+2]=this.state[a]>>>8&255,t[4*a+3]=this.state[a]>>>0&255;return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype._saveState=function(t){for(var e=0;e<this.state.length;e++)t[e]=this.state[e]},e.prototype._restoreState=function(t,e){for(var s=0;s<this.state.length;s++)this.state[s]=t[s];this.bytesHashed=e,this.finished=!1,this.bufferLength=0},e}();t.Hash=n;var o=function(){function t(t){this.inner=new n,this.outer=new n,this.blockSize=this.inner.blockSize,this.digestLength=this.inner.digestLength;var e=new Uint8Array(this.blockSize);if(t.length>this.blockSize)(new n).update(t).finish(e).clean();else for(var s=0;s<t.length;s++)e[s]=t[s];for(s=0;s<e.length;s++)e[s]^=54;for(this.inner.update(e),s=0;s<e.length;s++)e[s]^=106;for(this.outer.update(e),this.istate=new Uint32Array(8),this.ostate=new Uint32Array(8),this.inner._saveState(this.istate),this.outer._saveState(this.ostate),s=0;s<e.length;s++)e[s]=0}return t.prototype.reset=function(){return this.inner._restoreState(this.istate,this.inner.blockSize),this.outer._restoreState(this.ostate,this.outer.blockSize),this},t.prototype.clean=function(){for(var t=0;t<this.istate.length;t++)this.ostate[t]=this.istate[t]=0;this.inner.clean(),this.outer.clean()},t.prototype.update=function(t){return this.inner.update(t),this},t.prototype.finish=function(t){return this.outer.finished?this.outer.finish(t):(this.inner.finish(t),this.outer.update(t,this.digestLength).finish(t)),this},t.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},t}();function r(t){var e=(new n).update(t),s=e.digest();return e.clean(),s}function i(t,e){var s=new o(t).update(e),n=s.digest();return s.clean(),n}function a(t,e,s,n){var o=n[0];if(0===o)throw new Error("hkdf: cannot expand more");e.reset(),o>1&&e.update(t),s&&e.update(s),e.update(n),e.finish(t),n[0]++}t.HMAC=o,t.hash=r,t.default=r,t.hmac=i;var c=new Uint8Array(t.digestLength);t.hkdf=function(t,e,s,n){void 0===e&&(e=c),void 0===n&&(n=32);for(var r=new Uint8Array([1]),l=i(e,t),y=new o(l),f=new Uint8Array(y.digestLength),u=f.length,p=new Uint8Array(n),x=0;x<n;x++)u===f.length&&(a(f,y,s,r),u=0),p[x]=f[u++];return y.clean(),f.fill(0),r.fill(0),p},t.pbkdf2=function(t,e,s,n){for(var r=new o(t),i=r.digestLength,a=new Uint8Array(4),c=new Uint8Array(i),l=new Uint8Array(i),y=new Uint8Array(n),f=0;f*i<n;f++){var u=f+1;a[0]=u>>>24&255,a[1]=u>>>16&255,a[2]=u>>>8&255,a[3]=u>>>0&255,r.reset(),r.update(e),r.update(a),r.finish(l);for(var p=0;p<i;p++)c[p]=l[p];for(p=2;p<=s;p++){r.reset(),r.update(l).finish(l);for(var x=0;x<i;x++)c[x]^=l[x]}for(p=0;p<i&&f*i+p<n;p++)y[f*i+p]=c[p]}for(f=0;f<i;f++)c[f]=l[f]=0;for(f=0;f<4;f++)a[f]=0;return r.clean(),y}}(r);var i=r.default;for(var a in r)i[a]=r[a];"object"==typeof t.exports?t.exports=i:void 0===(n=function(){return i}.call(r,s,r,t))||(t.exports=n)}()}},e={};function s(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={exports:{}};return t[n].call(r.exports,r,r.exports,s),r.exports}s.d=(t,e)=>{for(var n in e)s.o(e,n)&&!s.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";s.r(n),s.d(n,{_package:()=>_,test:()=>Y,tests:()=>u});const t=DG,e=grok;s(982);const o=t.DataFrame.fromCsv('countries,fasta,smiles,molregno,LON,Zip Code,Street Address Line 1,ImageUrl,user_id,error_message,xray,flag,magnitude,CS-id,pdb_id,accel_a,time_offset,chart,fit,Questions,empty_number,empty_string\nBelgium,MSNFHNEHVMQFYRNNLKTKGVFGRQ,CC(C(=O)OCCCc1cccnc1)c2cccc(c2)C(=O)c3ccccc3,1480014,36.276729583740234,995042300,14016 ROUTE 31W,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,1,1,1QBS,1,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.497360340644872, 1.7058694986686864, 5.278052678195135, 0.16000320889028383],""points"":[{""x"":0.10000000149011612,""y"":2.374499797821045},{""x"":0.6000000238418579,""y"":2.6242473125457764},{""x"":1.100000023841858,""y"":2.367267608642578},{""x"":1.600000023841858,""y"":2.6723148822784424},{""x"":2.0999999046325684,""y"":2.6537344455718994},{""x"":2.5999999046325684,""y"":2.3651671409606934},{""x"":3.0999999046325684,""y"":2.5654284954071045},{""x"":3.5999999046325684,""y"":2.4160959720611572},{""x"":4.099999904632568,""y"":2.286726713180542},{""x"":4.599999904632568,""y"":2.5100042819976807},{""x"":5.099999904632568,""y"":1.6676985025405884},{""x"":5.599999904632568,""y"":0.680136501789093},{""x"":6.099999904632568,""y"":0.3391543924808502},{""x"":6.599999904632568,""y"":0.09038983285427094},{""x"":7.099999904632568,""y"":0.19802775979042053}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[7.525235855508179, 1.3186911876809984, 5.335672608564294, 0.7860743343958098],""points"":[{""x"":0.10000000149011612,""y"":7.988070487976074},{""x"":0.6000000238418579,""y"":7.018453121185303},{""x"":1.100000023841858,""y"":8.115279197692871},{""x"":1.600000023841858,""y"":7.486658096313477},{""x"":2.0999999046325684,""y"":7.396438121795654},{""x"":2.5999999046325684,""y"":7.477052211761475},{""x"":3.0999999046325684,""y"":6.913095474243164},{""x"":3.5999999046325684,""y"":8.01385498046875},{""x"":4.099999904632568,""y"":6.985900402069092},{""x"":4.599999904632568,""y"":6.970335960388184},{""x"":5.099999904632568,""y"":5.448817253112793},{""x"":5.599999904632568,""y"":2.5534818172454834},{""x"":6.099999904632568,""y"":1.893947958946228},{""x"":6.599999904632568,""y"":0.6340042352676392},{""x"":7.099999904632568,""y"":0.8403874039649963}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,100,abc\nBurundi,MDYKETLLMPKTDFPMRGGLPNKEPQIQEKW,COc1ccc2cc(ccc2c1)C(C)C(=O)Oc3ccc(C)cc3OC,1480015,36.276729583740234,995073444,80 STATE HIGHWAY 310,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,2,2,1ZP8,2,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[4.431460753103398, 2.1691498799246745, 5.266445597102774, 0.7825762827017926],""points"":[{""x"":0.10000000149011612,""y"":4.751083850860596},{""x"":0.6000000238418579,""y"":4.203000068664551},{""x"":1.100000023841858,""y"":4.415858745574951},{""x"":1.600000023841858,""y"":4.68414306640625},{""x"":2.0999999046325684,""y"":4.198400974273682},{""x"":2.5999999046325684,""y"":4.179222106933594},{""x"":3.0999999046325684,""y"":4.638473987579346},{""x"":3.5999999046325684,""y"":4.708553314208984},{""x"":4.099999904632568,""y"":4.291589260101318},{""x"":4.599999904632568,""y"":4.038082599639893},{""x"":5.099999904632568,""y"":3.4349939823150635},{""x"":5.599999904632568,""y"":1.2194708585739136},{""x"":6.099999904632568,""y"":1.1920831203460693},{""x"":6.599999904632568,""y"":0.5352635979652405},{""x"":7.099999904632568,""y"":0.3346920311450958}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[2.339458017970126, -1.0734184310171178, 4.746332950550934, 0.2482416857595658],""points"":[{""x"":0.10000000149011612,""y"":0.2139337658882141},{""x"":0.6000000238418579,""y"":0.4269562065601349},{""x"":1.100000023841858,""y"":0.2441573292016983},{""x"":1.600000023841858,""y"":0.146635964512825},{""x"":2.0999999046325684,""y"":0.08818462491035461},{""x"":2.5999999046325684,""y"":0.2560656666755676},{""x"":3.0999999046325684,""y"":0.42434045672416687},{""x"":3.5999999046325684,""y"":0.37111231684684753},{""x"":4.099999904632568,""y"":0.5581737160682678},{""x"":4.599999904632568,""y"":1.183590054512024},{""x"":5.099999904632568,""y"":1.5629843473434448},{""x"":5.599999904632568,""y"":2.3211288452148438},{""x"":6.099999904632568,""y"":2.229961633682251},{""x"":6.599999904632568,""y"":2.2560226917266846},{""x"":7.099999904632568,""y"":2.2142398357391357}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCameroon,MIEVFLFGIVLGLIPITLAGLFVTAYLQYRRGDQLDL,COc1ccc2cc(ccc2c1)C(C)C(=O)OCCCc3cccnc3,1480016,36.26095962524414,995153596,30-56 WHITESTONE EXPY,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,3,3,2BDJ,3,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[4.6760652578642325, 0.9046956320756703, 5.651408971856738, 0.07738846012184185],""points"":[{""x"":0.10000000149011612,""y"":4.32425594329834},{""x"":0.6000000238418579,""y"":4.668442249298096},{""x"":1.100000023841858,""y"":4.379785060882568},{""x"":1.600000023841858,""y"":5.0345139503479},{""x"":2.0999999046325684,""y"":4.878653526306152},{""x"":2.5999999046325684,""y"":4.3451313972473145},{""x"":3.0999999046325684,""y"":4.336992263793945},{""x"":3.5999999046325684,""y"":5.037430286407471},{""x"":4.099999904632568,""y"":5.0092692375183105},{""x"":4.599999904632568,""y"":4.151902675628662},{""x"":5.099999904632568,""y"":3.4066951274871826},{""x"":5.599999904632568,""y"":2.3732759952545166},{""x"":6.099999904632568,""y"":1.673728108406067},{""x"":6.599999904632568,""y"":0.48574790358543396},{""x"":7.099999904632568,""y"":0.2783052325248718}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[2.938395863010111, -1.4658480661392117, 5.462702751996584, 0.3473139023615039],""points"":[{""x"":0.10000000149011612,""y"":0.4941710829734802},{""x"":0.6000000238418579,""y"":0.15323974192142487},{""x"":1.100000023841858,""y"":0.46373432874679565},{""x"":1.600000023841858,""y"":0.3370431363582611},{""x"":2.0999999046325684,""y"":0.5179030299186707},{""x"":2.5999999046325684,""y"":0.27899765968322754},{""x"":3.0999999046325684,""y"":0.22075064480304718},{""x"":3.5999999046325684,""y"":0.5789918899536133},{""x"":4.099999904632568,""y"":0.21169911324977875},{""x"":4.599999904632568,""y"":0.27857646346092224},{""x"":5.099999904632568,""y"":1.0906332731246948},{""x"":5.599999904632568,""y"":1.8520300388336182},{""x"":6.099999904632568,""y"":2.7177059650421143},{""x"":6.599999904632568,""y"":2.8680918216705322},{""x"":7.099999904632568,""y"":3.2413077354431152}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCanada,MMELVLKTIIGPIVVGVVLRIVDKWLNKDK,CC(C(=O)NCCS)c1cccc(c1)C(=O)c2ccccc2,1480017,36.26095962524414,99515,30-56 WHITESTONE EXPY,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,4,4,1IAN,4,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[0.8597390975430008, 1.0957625732481946, 5.260537067987958, 0.07974187998177736],""points"":[{""x"":0.10000000149011612,""y"":0.8190152645111084},{""x"":0.6000000238418579,""y"":0.8421689867973328},{""x"":1.100000023841858,""y"":0.8740922212600708},{""x"":1.600000023841858,""y"":0.8924275040626526},{""x"":2.0999999046325684,""y"":0.8249067664146423},{""x"":2.5999999046325684,""y"":0.9327669143676758},{""x"":3.0999999046325684,""y"":0.8522974252700806},{""x"":3.5999999046325684,""y"":0.8174492716789246},{""x"":4.099999904632568,""y"":0.8394647240638733},{""x"":4.599999904632568,""y"":0.7139387726783752},{""x"":5.099999904632568,""y"":0.5561167597770691},{""x"":5.599999904632568,""y"":0.3276226818561554},{""x"":6.099999904632568,""y"":0.12479474395513535},{""x"":6.599999904632568,""y"":0.13006797432899475},{""x"":7.099999904632568,""y"":0.059702079743146896}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.760930219582546, 1.6591793293833013, 4.667155929720851, 0.7858109544121652],""points"":[{""x"":0.10000000149011612,""y"":6.156993389129639},{""x"":0.6000000238418579,""y"":5.236701965332031},{""x"":1.100000023841858,""y"":6.010560512542725},{""x"":1.600000023841858,""y"":5.495512962341309},{""x"":2.0999999046325684,""y"":6.087770462036133},{""x"":2.5999999046325684,""y"":5.79986572265625},{""x"":3.0999999046325684,""y"":5.597546577453613},{""x"":3.5999999046325684,""y"":5.520902156829834},{""x"":4.099999904632568,""y"":5.360654354095459},{""x"":4.599999904632568,""y"":3.5539746284484863},{""x"":5.099999904632568,""y"":1.577236294746399},{""x"":5.599999904632568,""y"":1.0001264810562134},{""x"":6.099999904632568,""y"":0.9305797815322876},{""x"":6.599999904632568,""y"":0.6033638715744019},{""x"":7.099999904632568,""y"":0.4203685522079468}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nColombia,MDRTDEVSNHTHDKPTLTWFEEIFEEYHSPFHN,FC(F)(F)c1ccc(OC2CCNCC2)cc1,1480029,36.3309440612793,995152050,1 COURT HOUSE SQUARE,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,5,5,4UJ1,5,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[6.4995088314153655, 2.4270351004539914, 5.178659535348579, 0.625653346241577],""points"":[{""x"":0.10000000149011612,""y"":6.496231555938721},{""x"":0.6000000238418579,""y"":6.42543363571167},{""x"":1.100000023841858,""y"":7.040063858032227},{""x"":1.600000023841858,""y"":6.1115403175354},{""x"":2.0999999046325684,""y"":6.680728435516357},{""x"":2.5999999046325684,""y"":6.406774520874023},{""x"":3.0999999046325684,""y"":6.611269474029541},{""x"":3.5999999046325684,""y"":5.889094352722168},{""x"":4.099999904632568,""y"":6.75344705581665},{""x"":4.599999904632568,""y"":6.361435890197754},{""x"":5.099999904632568,""y"":4.1666975021362305},{""x"":5.599999904632568,""y"":1.172118902206421},{""x"":6.099999904632568,""y"":0.801048994064331},{""x"":6.599999904632568,""y"":0.4640021026134491},{""x"":7.099999904632568,""y"":0.0010357667924836278}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[1.4734381347446401, 1.1649805188074196, 4.82958608866421, 0.09500545496710007],""points"":[{""x"":0.10000000149011612,""y"":1.5279096364974976},{""x"":0.6000000238418579,""y"":1.3559974431991577},{""x"":1.100000023841858,""y"":1.5246378183364868},{""x"":1.600000023841858,""y"":1.5567657947540283},{""x"":2.0999999046325684,""y"":1.4114240407943726},{""x"":2.5999999046325684,""y"":1.4045010805130005},{""x"":3.0999999046325684,""y"":1.4769829511642456},{""x"":3.5999999046325684,""y"":1.4875500202178955},{""x"":4.099999904632568,""y"":1.2991987466812134},{""x"":4.599999904632568,""y"":0.922961413860321},{""x"":5.099999904632568,""y"":0.6520044803619385},{""x"":5.599999904632568,""y"":0.15350978076457977},{""x"":6.099999904632568,""y"":0.1078903079032898},{""x"":6.599999904632568,""y"":0.17276449501514435},{""x"":7.099999904632568,""y"":0.14066608250141144}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCosta Rica,MKSTKEEIQTIKTLLKDSRTAKYHKRLQIVL,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCCc3ccccc3,1480018,36.3309440612793,995084218,4041 SOUTHWESTERN BLVD,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,6,6,2BPW,6,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.4833641843311227, -1.8945978742090062, 4.671127708092568, 0.24159861311815153],""points"":[{""x"":0.10000000149011612,""y"":0.0969524160027504},{""x"":0.6000000238418579,""y"":0.028483040630817413},{""x"":1.100000023841858,""y"":0.22087176144123077},{""x"":1.600000023841858,""y"":0.0068915546871721745},{""x"":2.0999999046325684,""y"":0.4305879771709442},{""x"":2.5999999046325684,""y"":0.44774115085601807},{""x"":3.0999999046325684,""y"":0.45346319675445557},{""x"":3.5999999046325684,""y"":0.2370593100786209},{""x"":4.099999904632568,""y"":0.4657953977584839},{""x"":4.599999904632568,""y"":1.155200719833374},{""x"":5.099999904632568,""y"":2.2294070720672607},{""x"":5.599999904632568,""y"":2.4311530590057373},{""x"":6.099999904632568,""y"":2.33846116065979},{""x"":6.599999904632568,""y"":2.608201026916504},{""x"":7.099999904632568,""y"":2.8136143684387207}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.224573521642033, 1.4454033924198528, 5.6014197746076535, 0.2823216054197577],""points"":[{""x"":0.10000000149011612,""y"":4.95027494430542},{""x"":0.6000000238418579,""y"":5.1754679679870605},{""x"":1.100000023841858,""y"":5.276752948760986},{""x"":1.600000023841858,""y"":5.589294910430908},{""x"":2.0999999046325684,""y"":5.616994857788086},{""x"":2.5999999046325684,""y"":5.120813846588135},{""x"":3.0999999046325684,""y"":5.340766906738281},{""x"":3.5999999046325684,""y"":4.876471042633057},{""x"":4.099999904632568,""y"":4.94999361038208},{""x"":4.599999904632568,""y"":5.162564754486084},{""x"":5.099999904632568,""y"":4.399557590484619},{""x"":5.599999904632568,""y"":2.7977969646453857},{""x"":6.099999904632568,""y"":1.0229872465133667},{""x"":6.599999904632568,""y"":0.48275601863861084},{""x"":7.099999904632568,""y"":0.10408931970596313}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCuba,MHAILRYFIRRLFYHIFYKIYSLISKKHQSLPSDVRQF,COc1ccc2c(c1)c(CC(=O)N3CCCC3C(=O)Oc4ccc(C)cc4OC)c(C)n2C(=O)c5ccc(Cl)cc5,1480019,36.33115768432617,995081928,1227 US HIGHWAY 11,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,7,7,1QBS,7,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[3.320838679713925, -1.2421619987316728, 4.831325425225256, 0.3236011098403072],""points"":[{""x"":0.10000000149011612,""y"":0.3727470338344574},{""x"":0.6000000238418579,""y"":0.12365014106035233},{""x"":1.100000023841858,""y"":0.48422467708587646},{""x"":1.600000023841858,""y"":0.2264465093612671},{""x"":2.0999999046325684,""y"":0.16821794211864471},{""x"":2.5999999046325684,""y"":0.3879014551639557},{""x"":3.0999999046325684,""y"":0.5470244884490967},{""x"":3.5999999046325684,""y"":0.3419053554534912},{""x"":4.099999904632568,""y"":0.7655120491981506},{""x"":4.599999904632568,""y"":1.2346516847610474},{""x"":5.099999904632568,""y"":2.453336715698242},{""x"":5.599999904632568,""y"":2.9565491676330566},{""x"":6.099999904632568,""y"":3.335299491882324},{""x"":6.599999904632568,""y"":3.240290880203247},{""x"":7.099999904632568,""y"":3.1107218265533447}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[3.6401853521511094, 1.26211588875013, 5.399028074402744, 0.5089580830068091],""points"":[{""x"":0.10000000149011612,""y"":3.8585598468780518},{""x"":0.6000000238418579,""y"":3.6077206134796143},{""x"":1.100000023841858,""y"":3.855252265930176},{""x"":1.600000023841858,""y"":3.619039297103882},{""x"":2.0999999046325684,""y"":3.839388370513916},{""x"":2.5999999046325684,""y"":3.335283041000366},{""x"":3.0999999046325684,""y"":3.571141481399536},{""x"":3.5999999046325684,""y"":3.4155046939849854},{""x"":4.099999904632568,""y"":3.7316646575927734},{""x"":4.599999904632568,""y"":3.0680155754089355},{""x"":5.099999904632568,""y"":2.891066551208496},{""x"":5.599999904632568,""y"":1.6022753715515137},{""x"":6.099999904632568,""y"":0.7652576565742493},{""x"":6.599999904632568,""y"":0.6875326037406921},{""x"":7.099999904632568,""y"":0.5828871726989746}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nItaly,MSNFHNEHVMQFYRNNLKTKGVFGRQ,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCO[N+](=O)[O-],1480020,36.33115768432617,99502,"168-46 91ST AVE., 2ND FLR",https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,8,8,1ZP8,8,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.293592105923809, 1.3781586549141835, 5.1025898038676605, 0.03493851245291291],""points"":[{""x"":0.10000000149011612,""y"":2.1287283897399902},{""x"":0.6000000238418579,""y"":2.267972230911255},{""x"":1.100000023841858,""y"":2.398442506790161},{""x"":1.600000023841858,""y"":2.5130622386932373},{""x"":2.0999999046325684,""y"":2.3255116939544678},{""x"":2.5999999046325684,""y"":2.127340793609619},{""x"":3.0999999046325684,""y"":2.47259783744812},{""x"":3.5999999046325684,""y"":2.131181478500366},{""x"":4.099999904632568,""y"":2.090421438217163},{""x"":4.599999904632568,""y"":2.02299165725708},{""x"":5.099999904632568,""y"":1.1105059385299683},{""x"":5.599999904632568,""y"":0.4494485855102539},{""x"":6.099999904632568,""y"":0.1375635862350464},{""x"":6.599999904632568,""y"":0.036351121962070465},{""x"":7.099999904632568,""y"":0.1619771122932434}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.953125499439879, 1.2528620255306528, 5.187637440149802, 0.3110348753260886],""points"":[{""x"":0.10000000149011612,""y"":5.6585283279418945},{""x"":0.6000000238418579,""y"":5.911152362823486},{""x"":1.100000023841858,""y"":5.924920082092285},{""x"":1.600000023841858,""y"":5.8469438552856445},{""x"":2.0999999046325684,""y"":5.929472923278809},{""x"":2.5999999046325684,""y"":6.190037727355957},{""x"":3.0999999046325684,""y"":6.236179828643799},{""x"":3.5999999046325684,""y"":6.141019344329834},{""x"":4.099999904632568,""y"":5.295210838317871},{""x"":4.599999904632568,""y"":5.265801906585693},{""x"":5.099999904632568,""y"":3.3722851276397705},{""x"":5.599999904632568,""y"":1.8299226760864258},{""x"":6.099999904632568,""y"":0.32690900564193726},{""x"":6.599999904632568,""y"":0.6274543404579163},{""x"":7.099999904632568,""y"":0.8441857099533081}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nRwanda,MPNSEPASLLELFNSIATQGELVRSLKAGNASK,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCO,1480021,36.33137130737305,995037247,"168-46 91ST AVE., 2ND FLR",https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,9,9,2BDJ,9,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[3.8209972202654474, 1.3779216716448506, 5.299882228439686, 0.06040645519069608],""points"":[{""x"":0.10000000149011612,""y"":3.7821109294891357},{""x"":0.6000000238418579,""y"":3.542433023452759},{""x"":1.100000023841858,""y"":3.7008674144744873},{""x"":1.600000023841858,""y"":3.717301607131958},{""x"":2.0999999046325684,""y"":4.024452209472656},{""x"":2.5999999046325684,""y"":4.013899326324463},{""x"":3.0999999046325684,""y"":3.945094347000122},{""x"":3.5999999046325684,""y"":3.866621971130371},{""x"":4.099999904632568,""y"":3.7461626529693604},{""x"":4.599999904632568,""y"":3.3454740047454834},{""x"":5.099999904632568,""y"":2.61944317817688},{""x"":5.599999904632568,""y"":0.999405026435852},{""x"":6.099999904632568,""y"":0.46259793639183044},{""x"":6.599999904632568,""y"":0.054134611040353775},{""x"":7.099999904632568,""y"":0.05711187422275543}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.6318079657726035, 1.8495493770000595, 5.391793312471116, 0.17060707587348442],""points"":[{""x"":0.10000000149011612,""y"":5.458079814910889},{""x"":0.6000000238418579,""y"":5.554427146911621},{""x"":1.100000023841858,""y"":5.799983024597168},{""x"":1.600000023841858,""y"":5.364140033721924},{""x"":2.0999999046325684,""y"":5.864485740661621},{""x"":2.5999999046325684,""y"":5.4509806632995605},{""x"":3.0999999046325684,""y"":5.702574729919434},{""x"":3.5999999046325684,""y"":5.7314534187316895},{""x"":4.099999904632568,""y"":5.5123443603515625},{""x"":4.599999904632568,""y"":5.724395751953125},{""x"":5.099999904632568,""y"":4.354506969451904},{""x"":5.599999904632568,""y"":1.7307666540145874},{""x"":6.099999904632568,""y"":0.6305936574935913},{""x"":6.599999904632568,""y"":0.035183437168598175},{""x"":7.099999904632568,""y"":0.7575169205665588}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nSwitzerland,IRVVGRYLIEVWKAAGMDMDKVLFLWSSDEI,CN1CCC(CC1)Oc2ccc(cc2)C(F)(F)F,1480028,36.33137130737305,99504,92-11 179TH PLACE,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,9,10,1IAN,10,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[1.1190255865097471, 2.3163895161544437, 5.4968866182279195, 0.2035204047289052],""points"":[{""x"":0.10000000149011612,""y"":1.1057683229446411},{""x"":0.6000000238418579,""y"":1.1019697189331055},{""x"":1.100000023841858,""y"":1.0818607807159424},{""x"":1.600000023841858,""y"":1.062997817993164},{""x"":2.0999999046325684,""y"":1.046447515487671},{""x"":2.5999999046325684,""y"":1.1217249631881714},{""x"":3.0999999046325684,""y"":1.2166996002197266},{""x"":3.5999999046325684,""y"":1.215477705001831},{""x"":4.099999904632568,""y"":1.0581893920898438},{""x"":4.599999904632568,""y"":1.1747995615005493},{""x"":5.099999904632568,""y"":1.0181127786636353},{""x"":5.599999904632568,""y"":0.5344523191452026},{""x"":6.099999904632568,""y"":0.2569526433944702},{""x"":6.599999904632568,""y"":0.1912207305431366},{""x"":7.099999904632568,""y"":0.15060538053512573}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[3.1038581025805785, 2.0032224204185245, 5.087602825989163, 0.13277988512492753],""points"":[{""x"":0.10000000149011612,""y"":3.0498509407043457},{""x"":0.6000000238418579,""y"":2.805217742919922},{""x"":1.100000023841858,""y"":3.3415253162384033},{""x"":1.600000023841858,""y"":3.0549843311309814},{""x"":2.0999999046325684,""y"":3.250074863433838},{""x"":2.5999999046325684,""y"":3.0432586669921875},{""x"":3.0999999046325684,""y"":3.265852451324463},{""x"":3.5999999046325684,""y"":2.9475724697113037},{""x"":4.099999904632568,""y"":3.1929898262023926},{""x"":4.599999904632568,""y"":2.7460060119628906},{""x"":5.099999904632568,""y"":1.6175861358642578},{""x"":5.599999904632568,""y"":0.3006608486175537},{""x"":6.099999904632568,""y"":0.3444803059101105},{""x"":6.599999904632568,""y"":0.015537971630692482},{""x"":7.099999904632568,""y"":0.5527358055114746}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\n,,,,,,,,,,,,,,,,,,,,,');o.columns.add(t.Column.fromList(t.TYPE.BYTE_ARRAY,"BinaryImage",Array.from(new Uint8Array(11))));var r=function(t,e,s,n){return new(s||(s=Promise))((function(o,r){function i(t){try{c(n.next(t))}catch(t){r(t)}}function a(t){try{c(n.throw(t))}catch(t){r(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(i,a)}c((n=n.apply(t,e||[])).next())}))};const i=3e4,a=108e5,c=console.log.bind(console),l=console.info.bind(console),y=console.warn.bind(console),f=console.error.bind(console),u={},p="Auto Tests",x="Demo",h="Detectors",d="Core",g={};let m;var C;!function(t){t.notNull=function(t,e){if(null==t)throw new Error(`${null==e?"Value":e} not defined`)}}(C||(C={}));class b{constructor(t,e){this.catchUnhandled=!0,this.report=!1,void 0!==t&&(this.catchUnhandled=t),void 0!==e&&(this.report=e)}}class v{constructor(t,e,s,n){var o;this.category=t,this.name=e,null!=n||(n={}),null!==(o=n.timeout)&&void 0!==o||(n.timeout=i),this.options=n,this.test=()=>r(this,void 0,void 0,(function*(){return new Promise(((t,e)=>r(this,void 0,void 0,(function*(){let n="";try{n=yield s()}catch(t){e(t)}t(n)}))))}))}}function A(t,e,s){null==u[m]&&(u[m]={}),null==u[m].tests&&(u[m].tests=[]),u[m].tests.push(new v(m,t,e,s))}function w(t,e=!0,s){if(s=s?`${s}, `:"",t!==e)throw new Error(`${s}Expected "${e}", got "${t}"`)}function R(t,e,s){var n;m=t,e(),u[m]&&(u[m].clear=null===(n=null==s?void 0:s.clear)||void 0===n||n,u[m].timeout=null==s?void 0:s.timeout)}function L(t){null==u[m]&&(u[m]={}),u[m].before=t}function E(t,e){return t.replace(new RegExp(e.name,"gi"),e.nqName)}function O(e){return r(this,void 0,void 0,(function*(){return`${e.toString()}\n${e.stack?yield t.Logger.translateStackTrace(e.stack):""}`}))}function N(s,n,o,l,y,u){var p,x,h,d,g,m;return r(this,void 0,void 0,(function*(){let r;o.length=0;let C="package";const b=null!=n&&s.name.toLowerCase()!==n.toLowerCase(),v=(null===(p=s.options)||void 0===p?void 0:p.skipReason)||b,A=b?"skipped":null===(x=s.options)||void 0===x?void 0:x.skipReason;v||c(`Started ${s.category} ${s.name}`);const w=Date.now();try{if(v)r={success:!0,result:A,ms:0,skipped:!0};else{let e=(null===(h=s.options)||void 0===h?void 0:h.timeout)===i&&l?l:null===(d=s.options)||void 0===d?void 0:d.timeout;e=t.Test.isInBenchmark&&e===i?a:e,r={success:!0,result:null!==(g=yield S(s.test,e))&&void 0!==g?g:"OK",ms:0,skipped:!1}}}catch(t){f(t),r={success:!1,result:yield O(t),ms:0,skipped:!1}}if((null===(m=s.options)||void 0===m?void 0:m.isAggregated)&&r.result.constructor===t.DataFrame){const t=r.result.col("success");if(C="core",t&&(r.success=t.stats.sum===t.length),!u){const t=r.result;t.columns.remove("stack"),t.rows.removeWhere((t=>t.get("success"))),r.result=t}r.result=r.result.toCsv()}if(r.logs=o.join("\n"),r.ms=Date.now()-w,v||c(`Finished ${s.category} ${s.name} for ${r.ms} ms`),r.category=s.category,r.name=s.name,!b){let t={success:r.success,result:r.result,ms:r.ms,skipped:r.skipped,type:C,packageName:y,category:s.category,test:s.name,logs:r.logs};if(r.result.constructor==Object){const e=Object.keys(r.result).reduce(((t,e)=>Object.assign(Object.assign({},t),{["result."+e]:r.result[e]})),{});t=Object.assign(Object.assign({},t),e)}e.log.usage(`${y}: ${s.category}: ${s.name}`,t,`test-${C} ${y}: ${s.category}: ${s.name}`)}return r}))}function k(t){return r(this,void 0,void 0,(function*(){yield new Promise((e=>setTimeout(e,t)))}))}function S(t,e,s="EXECUTION TIMEOUT"){return r(this,void 0,void 0,(function*(){let n=null;const o=new Promise(((t,o)=>{n=setTimeout((()=>{o(s)}),e)}));try{return yield Promise.race([t(),o])}finally{n&&clearTimeout(n)}}))}t.DataFrame.fromColumns([t.Column.fromStrings("col",["val1","val2","val3"])]);const $=["A","G","C","U"];var T,M;(M=T||(T={})).HELM="HELM",M.AXOLABS="Axolabs";class D extends t.Package{async getTranslationHelper(){return await e.functions.call(`${this.name}:getTranslationHelper`)}}function P(t,e,s){return s.createFormatConverter(t,e).convertTo(T.HELM)}function U(t,e,s){return s.createFormatConverter(t,T.HELM).convertTo(e)}const F={Axolabs:{UfAfsCfsGfuacg:"RNA1{[fR](U)p.[fR](A)[sp].[fR](C)[sp].[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)}$$$$"},BioSpring:{"A*GC*123456789":"RNA1{r(A)[sp].r(G)p.r(C)[sp].[fR](U)p.[fR](A)p.[fR](C)p.[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)p.d([m5C])}$$$$"},Mermade12:{hefglijkLIJKHEFG:"RNA1{[25r](U)[sp].[25r](A)[sp].[25r](C)[sp].[25r](G)[sp].[fR](U)[sp].[fR](A)[sp].[fR](C)[sp].[fR](G)[sp].[fR](U)p.[fR](A)p.[fR](C)p.[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)}$$$$"}},H={"RNA1{[fR](U)p.[fR](A)[sp].[fR](C)[sp].[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)}$$$$":"UACGUACG","RNA1{r(A)[sp].r(G)p.r(C)[sp].[fR](U)p.[fR](A)p.[fR](C)p.[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)p}$$$$":"AGCUACGUACG","RNA1{[25r](U)[sp].[25r](A)[sp].[25r](C)[sp].[25r](G)[sp].[fR](U)[sp].[fR](A)[sp].[fR](C)[sp].[fR](G)[sp].[fR](U)p.[fR](A)p.[fR](C)p.[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)}$$$$":"UACGUACGUACGUACG"};R("Formats to HELM",(()=>{let t;L((async()=>{t=await _.getTranslationHelper()}));for(const e of Object.keys(F))for(const[s,n]of Object.entries(F[e]))A(`${e} to HELM`,(async()=>{const o=n;w(P(s,e,t),o)}))})),R("HELM to Formats",(()=>{let t;L((async()=>{t=await _.getTranslationHelper()}));for(const e of Object.keys(F))for(const[s,n]of Object.entries(F[e]))A(`${e} to HELM`,(async()=>{const o=s;w(U(n,e,t),o)}))}));const G="<?>";function I(t,e){const s=new RegExp("\\([^()]*\\)","g"),n=t.match(s);return n?n.map((t=>{const s=t.replace(/[\[\]()]/g,"");return $.includes(s)?s:e.getNaturalAnalogBySymbol(s)})).map((t=>t||G)).join(""):null}R("HELM to Nucleotides",(()=>{let t;L((async()=>{t=await _.getTranslationHelper()})),Object.entries(H).forEach((([e,s],n)=>{A(`Sequence ${n+1} to nucleotides`,(async()=>{const n=s;w(I(e,t.monomerLibWrapper),n)}))}))}));const j={[T.AXOLABS]:"Afcgacsu",[T.HELM]:"RNA1{[fR](A)p.[25r](C)p.[25r](G)p.[25r](A)p.[25r](C)[sp].[25r](U)}$$$$"};function K(t){return"string"==typeof t||t instanceof String?t:"StateError"===t.constructor.name?t.message:"StateError"===t.constructor.name&&"$thrownJsError"in t?K(t.$thrownJsError):t instanceof Error?t.message:t.toString()}function V(t){return t instanceof Error?t.stack:"StateError"===t.constructor.name&&"$thrownJsError"in t?V(t.$thrownJsError):void 0}function W(t){return[K(t),V(t)]}R("Formats support",(()=>{let t;L((async()=>{t=await _.getTranslationHelper()})),Object.entries(j).forEach((([e,s])=>{A(`All formats for ${e}`,(async()=>{const n=function(t,e,s){return function(t,e,s,n){const o=Object.keys(n.jsonData.codesToHelmDict).concat([T.HELM]);if(!t||-1!==e&&s!==T.HELM)return{};if(!o.includes(s))throw new Error(`${s} format is not supported by SequenceTranslator`);const r=o.filter((t=>t!=s)).sort(((t,e)=>t.localeCompare(e))),i=n.createFormatConverter(t,s),a=Object.fromEntries(r.map((t=>{let e;try{e=i.convertTo(t)}catch{e=null}return[t,e]})).filter((([t,e])=>e))),c=I(s===T.HELM?t:a[T.HELM],n.monomerLibWrapper);return c&&(a.Nucleotides=c),a}(t,s.createSequenceValidator(t).getInvalidCodeIndex(e),e,s)}(s,e,t),o=Object.keys(n).length;w(!0,Object.keys(F).length+1<=o)}))}))})),R("files",(()=>{let e;L((async()=>{e=await _.getTranslationHelper()})),A("list",(async()=>{let s;const n=t.DataFrame.fromColumns([t.Column.string("subTest"),s=t.Column.bool("success"),t.Column.string("format"),t.Column.string("src"),t.Column.string("res"),t.Column.string("tgt"),t.Column.string("error"),t.Column.string("stack")]),o=await _.files.list("tests",!0,".csv");for(const s of o){const o=t.DataFrame.fromCsv(await s.readAsString()),r=o.columns.byIndex(0),i=r.name,a=o.columns.byIndex(1),c=o.rowCount;for(let t=0;t<c;++t){const o=n.rows.addNew();o.subTest=`${s.name}, row: ${t}`;try{const s=r.get(t),n=a.get(t);o.format=i,o.src=s,o.tgt=n,w(o.res=P(s,i,e),n),o.success=!0}catch(t){const[e,s]=W(t);o.error=e,o.stack=s,o.success=!1}}}0==n.rowCount&&n.rows.addNew(["empty",!0,"",""]);const r=s.toList().findIndex((t=>1!=t));if(-1!=r){const t=n.rows.get(r);throw new Error(`Subtest '${t.subTest}' failed: ${t.error}`)}return n}),{skipReason:"Can not create test in async manner based on files in Shares."})}));const _=new D;async function Y(s,n,i){const a=await function(s){var n,i,a,m,C,A,R;return r(this,void 0,void 0,(function*(){const L=null===(i=null===(n=e.functions.getCurrentCall())||void 0===n?void 0:n.func)||void 0===i?void 0:i.package;yield function(s,n){var i;return r(this,void 0,void 0,(function*(){const n=s.id;if(g[n])return;const a=u;if(void 0!==a[p]||void 0!==a[x]||Object.keys(a).find((t=>t.startsWith(p)||t.startsWith(d))))return void(g[n]=!0);if("DevTools"===s.name){const e=t.Func.find({tags:["dartTest"]});for(const t of e){const e=t.name.split(/\s*\|\s*/g),s=null!==(i=e.pop())&&void 0!==i?i:t.name,n=e.length?d+": "+e.join(": "):d;void 0===a[n]&&(a[n]={tests:[],clear:!0}),a[n].tests.push(new v(n,s,(()=>r(this,void 0,void 0,(function*(){return yield t.apply()}))),{isAggregated:t.outputs.length>0,timeout:3e5}))}}const c=[],l=[],y=[],f=yield e.dapi.functions.filter(`package.id = "${n}"`).list(),m=new RegExp(/skip:\s*([^,\s]+)|wait:\s*(\d+)|cat:\s*([^,\s]+)|timeout:\s*(\d+)/g);for(const t of f){const s=t.options.test,n=t.options.demoPath;if(s&&Array.isArray(s)&&s.length)for(let n=0;n<s.length;n++){const o=s[n].matchAll(m),i={};Array.from(o).forEach((t=>{t[0].startsWith("skip")?i.skip=t[1]:t[0].startsWith("wait")?i.wait=parseInt(t[2]):t[0].startsWith("cat")?i.cat=t[3]:t[0].startsWith("timeout")&&(i.timeout=parseInt(t[4]))}));const l=new v(p,1===s.length?t.name:`${t.name} ${n+1}`,(()=>r(this,void 0,void 0,(function*(){const o=yield e.functions.eval(E(s[n],t));if(i.wait&&(yield k(i.wait)),"boolean"==typeof o&&!o)throw`Failed: ${s[n]}, expected true, got ${o}`}))),{skipReason:i.skip,timeout:i.timeout});if(i.cat){const t=p+": "+i.cat;l.category=t,void 0===a[t]&&(a[t]={tests:[],clear:!0}),a[t].tests.push(l)}else c.push(l)}if(n){const s=t.options.demoWait?parseInt(t.options.demoWait):void 0,n=new v(x,t.friendlyName,(()=>r(this,void 0,void 0,(function*(){if(e.shell.lastError="",yield t.apply(),yield k(s||2e3),e.shell.lastError)throw new Error(e.shell.lastError)}))),{skipReason:t.options.demoSkip});l.push(n)}if(t.hasTag("semTypeDetector")){const e=new v(h,t.friendlyName,(()=>r(this,void 0,void 0,(function*(){const e=[];for(const s of o.clone().columns){const n=yield t.apply([s]);e.push(n||s.semType)}w(e.filter((t=>t)).length,1)}))),{skipReason:t.options.skipTest});y.push(e)}}g[n]=!0,c.length&&(a[p]={tests:c,clear:!0}),l.length&&(a[x]={tests:l,clear:!0}),y.length&&(a[h]={tests:y,clear:!1})}))}(L);const $=[];console.log("Running tests"),null!=s||(s={}),null!==(a=(R=s).testContext)&&void 0!==a||(R.testContext=new b),e.shell.lastError="";const T=[],M=function(){const t=[];return console.log=(...e)=>{t.push(...e),c(...e)},console.info=(...e)=>{t.push(...e),l(...e)},console.warn=(...e)=>{t.push(...e),y(...e)},console.error=(...e)=>{t.push(...e),f(...e)},t}();try{for(const[n,o]of Object.entries(u)){if((null==s?void 0:s.category)&&!n.toLowerCase().startsWith(null==s?void 0:s.category.toLowerCase())||(null===(m=s.exclude)||void 0===m?void 0:m.some((t=>n.startsWith(t)))))continue;c(`Started ${n} category`),T.push(n);const i=null===(C=o.tests)||void 0===C?void 0:C.every((t=>{var e;return null===(e=t.options)||void 0===e?void 0:e.skipReason}));try{o.before&&!i&&(yield S((()=>r(this,void 0,void 0,(function*(){yield o.before()}))),1e5,`before ${s.category}: timeout error`))}catch(t){o.beforeStatus=yield O(t)}const a=null!==(A=o.tests)&&void 0!==A?A:[],l=[];if(o.clear)for(let n=0;n<a.length;n++)l.push(yield N(a[n],null==s?void 0:s.test,M,o.timeout,L.name,s.verbose)),e.shell.closeAll(),t.Balloon.closeAll();else for(let t=0;t<a.length;t++)l.push(yield N(a[t],null==s?void 0:s.test,M,o.timeout,L.name,s.verbose));const y=l.filter((t=>"skipped"!=t.result));try{o.after&&!i&&(yield S((()=>r(this,void 0,void 0,(function*(){yield o.after()}))),1e5,`After ${s.category}: timeout error`))}catch(t){o.afterStatus=yield O(t)}o.afterStatus&&y.push({category:n,name:"after",result:o.afterStatus,success:!1,ms:0,skipped:!1}),o.beforeStatus&&y.push({category:n,name:"before",result:o.beforeStatus,success:!1,ms:0,skipped:!1}),$.push(...y)}}finally{console.log=c,console.info=l,console.warn=y,console.error=f}if(s.testContext.catchUnhandled&&(yield k(1e3),e.shell.lastError.length>0&&$.push({category:"Unhandled exceptions",name:"exceptions",result:e.shell.lastError,success:!1,ms:0,skipped:!1})),!s.test&&$.length){const n=$.filter((t=>t.success)).length,o=$.filter((t=>t.skipped)).length,r=$.filter((t=>!t.success)),i=L.name;for(const t of T){const s=$.filter((e=>e.category===t)),n=s.filter((t=>!t.success)).length,o={success:0===n,passed:s.filter((t=>t.success)).length,skipped:s.filter((t=>t.skipped)).length,failed:n,type:"package",packageName:i,category:t};e.log.usage(`${i}: ${t}`,o,`category-package ${i}: ${t}`)}if(!s.category){const t={success:0===r.length,passed:n,skipped:o,failed:r.length,type:"package",packageName:i};e.log.usage(i,t,`package-package ${i}`)}if(s.testContext.report){const e=new t.Logger,s="Package @package tested: @successful successful, @skipped skipped, @failed failed tests",i={successful:n,skipped:o,failed:r.length,package:L};for(const t of r)Object.assign(i,{[`${t.category} | ${t.name}`]:t.result});e.log(s,i,"package-tested")}}return $}))}({category:s,test:n,testContext:i,verbose:!0});return t.DataFrame.fromObjects(a)}})(),sequencetranslator_test=n})();
1
+ var sequencetranslator_test;(()=>{var t={982:function(t,e,s){var n;!function(e,o){var i={};!function(t){"use strict";t.__esModule=!0,t.digestLength=32,t.blockSize=64;var e=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function s(t,s,n,o,i){for(var r,a,c,l,y,f,u,p,x,h,d,m,g;i>=64;){for(r=s[0],a=s[1],c=s[2],l=s[3],y=s[4],f=s[5],u=s[6],p=s[7],h=0;h<16;h++)d=o+4*h,t[h]=(255&n[d])<<24|(255&n[d+1])<<16|(255&n[d+2])<<8|255&n[d+3];for(h=16;h<64;h++)m=((x=t[h-2])>>>17|x<<15)^(x>>>19|x<<13)^x>>>10,g=((x=t[h-15])>>>7|x<<25)^(x>>>18|x<<14)^x>>>3,t[h]=(m+t[h-7]|0)+(g+t[h-16]|0);for(h=0;h<64;h++)m=(((y>>>6|y<<26)^(y>>>11|y<<21)^(y>>>25|y<<7))+(y&f^~y&u)|0)+(p+(e[h]+t[h]|0)|0)|0,g=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&a^r&c^a&c)|0,p=u,u=f,f=y,y=l+m|0,l=c,c=a,a=r,r=m+g|0;s[0]+=r,s[1]+=a,s[2]+=c,s[3]+=l,s[4]+=y,s[5]+=f,s[6]+=u,s[7]+=p,o+=64,i-=64}return o}var n=function(){function e(){this.digestLength=t.digestLength,this.blockSize=t.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return e.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},e.prototype.clean=function(){for(var t=0;t<this.buffer.length;t++)this.buffer[t]=0;for(t=0;t<this.temp.length;t++)this.temp[t]=0;this.reset()},e.prototype.update=function(t,e){if(void 0===e&&(e=t.length),this.finished)throw new Error("SHA256: can't update because hash was finished.");var n=0;if(this.bytesHashed+=e,this.bufferLength>0){for(;this.bufferLength<64&&e>0;)this.buffer[this.bufferLength++]=t[n++],e--;64===this.bufferLength&&(s(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(e>=64&&(n=s(this.temp,this.state,t,n,e),e%=64);e>0;)this.buffer[this.bufferLength++]=t[n++],e--;return this},e.prototype.finish=function(t){if(!this.finished){var e=this.bytesHashed,n=this.bufferLength,o=e/536870912|0,i=e<<3,r=e%64<56?64:128;this.buffer[n]=128;for(var a=n+1;a<r-8;a++)this.buffer[a]=0;this.buffer[r-8]=o>>>24&255,this.buffer[r-7]=o>>>16&255,this.buffer[r-6]=o>>>8&255,this.buffer[r-5]=o>>>0&255,this.buffer[r-4]=i>>>24&255,this.buffer[r-3]=i>>>16&255,this.buffer[r-2]=i>>>8&255,this.buffer[r-1]=i>>>0&255,s(this.temp,this.state,this.buffer,0,r),this.finished=!0}for(a=0;a<8;a++)t[4*a+0]=this.state[a]>>>24&255,t[4*a+1]=this.state[a]>>>16&255,t[4*a+2]=this.state[a]>>>8&255,t[4*a+3]=this.state[a]>>>0&255;return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype._saveState=function(t){for(var e=0;e<this.state.length;e++)t[e]=this.state[e]},e.prototype._restoreState=function(t,e){for(var s=0;s<this.state.length;s++)this.state[s]=t[s];this.bytesHashed=e,this.finished=!1,this.bufferLength=0},e}();t.Hash=n;var o=function(){function t(t){this.inner=new n,this.outer=new n,this.blockSize=this.inner.blockSize,this.digestLength=this.inner.digestLength;var e=new Uint8Array(this.blockSize);if(t.length>this.blockSize)(new n).update(t).finish(e).clean();else for(var s=0;s<t.length;s++)e[s]=t[s];for(s=0;s<e.length;s++)e[s]^=54;for(this.inner.update(e),s=0;s<e.length;s++)e[s]^=106;for(this.outer.update(e),this.istate=new Uint32Array(8),this.ostate=new Uint32Array(8),this.inner._saveState(this.istate),this.outer._saveState(this.ostate),s=0;s<e.length;s++)e[s]=0}return t.prototype.reset=function(){return this.inner._restoreState(this.istate,this.inner.blockSize),this.outer._restoreState(this.ostate,this.outer.blockSize),this},t.prototype.clean=function(){for(var t=0;t<this.istate.length;t++)this.ostate[t]=this.istate[t]=0;this.inner.clean(),this.outer.clean()},t.prototype.update=function(t){return this.inner.update(t),this},t.prototype.finish=function(t){return this.outer.finished?this.outer.finish(t):(this.inner.finish(t),this.outer.update(t,this.digestLength).finish(t)),this},t.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},t}();function i(t){var e=(new n).update(t),s=e.digest();return e.clean(),s}function r(t,e){var s=new o(t).update(e),n=s.digest();return s.clean(),n}function a(t,e,s,n){var o=n[0];if(0===o)throw new Error("hkdf: cannot expand more");e.reset(),o>1&&e.update(t),s&&e.update(s),e.update(n),e.finish(t),n[0]++}t.HMAC=o,t.hash=i,t.default=i,t.hmac=r;var c=new Uint8Array(t.digestLength);t.hkdf=function(t,e,s,n){void 0===e&&(e=c),void 0===n&&(n=32);for(var i=new Uint8Array([1]),l=r(e,t),y=new o(l),f=new Uint8Array(y.digestLength),u=f.length,p=new Uint8Array(n),x=0;x<n;x++)u===f.length&&(a(f,y,s,i),u=0),p[x]=f[u++];return y.clean(),f.fill(0),i.fill(0),p},t.pbkdf2=function(t,e,s,n){for(var i=new o(t),r=i.digestLength,a=new Uint8Array(4),c=new Uint8Array(r),l=new Uint8Array(r),y=new Uint8Array(n),f=0;f*r<n;f++){var u=f+1;a[0]=u>>>24&255,a[1]=u>>>16&255,a[2]=u>>>8&255,a[3]=u>>>0&255,i.reset(),i.update(e),i.update(a),i.finish(l);for(var p=0;p<r;p++)c[p]=l[p];for(p=2;p<=s;p++){i.reset(),i.update(l).finish(l);for(var x=0;x<r;x++)c[x]^=l[x]}for(p=0;p<r&&f*r+p<n;p++)y[f*r+p]=c[p]}for(f=0;f<r;f++)c[f]=l[f]=0;for(f=0;f<4;f++)a[f]=0;return i.clean(),y}}(i);var r=i.default;for(var a in i)r[a]=i[a];"object"==typeof t.exports?t.exports=r:void 0===(n=function(){return r}.call(i,s,i,t))||(t.exports=n)}()}},e={};function s(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,s),i.exports}s.d=(t,e)=>{for(var n in e)s.o(e,n)&&!s.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";s.r(n),s.d(n,{_package:()=>_,test:()=>Y,tests:()=>u});const t=DG,e=grok;s(982);const o=t.DataFrame.fromCsv('countries,fasta,smiles,molregno,LON,Zip Code,Street Address Line 1,ImageUrl,user_id,error_message,xray,flag,magnitude,CS-id,pdb_id,accel_a,time_offset,chart,fit,Questions,empty_number,empty_string\nBelgium,MSNFHNEHVMQFYRNNLKTKGVFGRQ,CC(C(=O)OCCCc1cccnc1)c2cccc(c2)C(=O)c3ccccc3,1480014,36.276729583740234,995042300,14016 ROUTE 31W,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,1,1,1QBS,1,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.497360340644872, 1.7058694986686864, 5.278052678195135, 0.16000320889028383],""points"":[{""x"":0.10000000149011612,""y"":2.374499797821045},{""x"":0.6000000238418579,""y"":2.6242473125457764},{""x"":1.100000023841858,""y"":2.367267608642578},{""x"":1.600000023841858,""y"":2.6723148822784424},{""x"":2.0999999046325684,""y"":2.6537344455718994},{""x"":2.5999999046325684,""y"":2.3651671409606934},{""x"":3.0999999046325684,""y"":2.5654284954071045},{""x"":3.5999999046325684,""y"":2.4160959720611572},{""x"":4.099999904632568,""y"":2.286726713180542},{""x"":4.599999904632568,""y"":2.5100042819976807},{""x"":5.099999904632568,""y"":1.6676985025405884},{""x"":5.599999904632568,""y"":0.680136501789093},{""x"":6.099999904632568,""y"":0.3391543924808502},{""x"":6.599999904632568,""y"":0.09038983285427094},{""x"":7.099999904632568,""y"":0.19802775979042053}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[7.525235855508179, 1.3186911876809984, 5.335672608564294, 0.7860743343958098],""points"":[{""x"":0.10000000149011612,""y"":7.988070487976074},{""x"":0.6000000238418579,""y"":7.018453121185303},{""x"":1.100000023841858,""y"":8.115279197692871},{""x"":1.600000023841858,""y"":7.486658096313477},{""x"":2.0999999046325684,""y"":7.396438121795654},{""x"":2.5999999046325684,""y"":7.477052211761475},{""x"":3.0999999046325684,""y"":6.913095474243164},{""x"":3.5999999046325684,""y"":8.01385498046875},{""x"":4.099999904632568,""y"":6.985900402069092},{""x"":4.599999904632568,""y"":6.970335960388184},{""x"":5.099999904632568,""y"":5.448817253112793},{""x"":5.599999904632568,""y"":2.5534818172454834},{""x"":6.099999904632568,""y"":1.893947958946228},{""x"":6.599999904632568,""y"":0.6340042352676392},{""x"":7.099999904632568,""y"":0.8403874039649963}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,100,abc\nBurundi,MDYKETLLMPKTDFPMRGGLPNKEPQIQEKW,COc1ccc2cc(ccc2c1)C(C)C(=O)Oc3ccc(C)cc3OC,1480015,36.276729583740234,995073444,80 STATE HIGHWAY 310,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,2,2,1ZP8,2,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[4.431460753103398, 2.1691498799246745, 5.266445597102774, 0.7825762827017926],""points"":[{""x"":0.10000000149011612,""y"":4.751083850860596},{""x"":0.6000000238418579,""y"":4.203000068664551},{""x"":1.100000023841858,""y"":4.415858745574951},{""x"":1.600000023841858,""y"":4.68414306640625},{""x"":2.0999999046325684,""y"":4.198400974273682},{""x"":2.5999999046325684,""y"":4.179222106933594},{""x"":3.0999999046325684,""y"":4.638473987579346},{""x"":3.5999999046325684,""y"":4.708553314208984},{""x"":4.099999904632568,""y"":4.291589260101318},{""x"":4.599999904632568,""y"":4.038082599639893},{""x"":5.099999904632568,""y"":3.4349939823150635},{""x"":5.599999904632568,""y"":1.2194708585739136},{""x"":6.099999904632568,""y"":1.1920831203460693},{""x"":6.599999904632568,""y"":0.5352635979652405},{""x"":7.099999904632568,""y"":0.3346920311450958}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[2.339458017970126, -1.0734184310171178, 4.746332950550934, 0.2482416857595658],""points"":[{""x"":0.10000000149011612,""y"":0.2139337658882141},{""x"":0.6000000238418579,""y"":0.4269562065601349},{""x"":1.100000023841858,""y"":0.2441573292016983},{""x"":1.600000023841858,""y"":0.146635964512825},{""x"":2.0999999046325684,""y"":0.08818462491035461},{""x"":2.5999999046325684,""y"":0.2560656666755676},{""x"":3.0999999046325684,""y"":0.42434045672416687},{""x"":3.5999999046325684,""y"":0.37111231684684753},{""x"":4.099999904632568,""y"":0.5581737160682678},{""x"":4.599999904632568,""y"":1.183590054512024},{""x"":5.099999904632568,""y"":1.5629843473434448},{""x"":5.599999904632568,""y"":2.3211288452148438},{""x"":6.099999904632568,""y"":2.229961633682251},{""x"":6.599999904632568,""y"":2.2560226917266846},{""x"":7.099999904632568,""y"":2.2142398357391357}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCameroon,MIEVFLFGIVLGLIPITLAGLFVTAYLQYRRGDQLDL,COc1ccc2cc(ccc2c1)C(C)C(=O)OCCCc3cccnc3,1480016,36.26095962524414,995153596,30-56 WHITESTONE EXPY,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,3,3,2BDJ,3,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[4.6760652578642325, 0.9046956320756703, 5.651408971856738, 0.07738846012184185],""points"":[{""x"":0.10000000149011612,""y"":4.32425594329834},{""x"":0.6000000238418579,""y"":4.668442249298096},{""x"":1.100000023841858,""y"":4.379785060882568},{""x"":1.600000023841858,""y"":5.0345139503479},{""x"":2.0999999046325684,""y"":4.878653526306152},{""x"":2.5999999046325684,""y"":4.3451313972473145},{""x"":3.0999999046325684,""y"":4.336992263793945},{""x"":3.5999999046325684,""y"":5.037430286407471},{""x"":4.099999904632568,""y"":5.0092692375183105},{""x"":4.599999904632568,""y"":4.151902675628662},{""x"":5.099999904632568,""y"":3.4066951274871826},{""x"":5.599999904632568,""y"":2.3732759952545166},{""x"":6.099999904632568,""y"":1.673728108406067},{""x"":6.599999904632568,""y"":0.48574790358543396},{""x"":7.099999904632568,""y"":0.2783052325248718}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[2.938395863010111, -1.4658480661392117, 5.462702751996584, 0.3473139023615039],""points"":[{""x"":0.10000000149011612,""y"":0.4941710829734802},{""x"":0.6000000238418579,""y"":0.15323974192142487},{""x"":1.100000023841858,""y"":0.46373432874679565},{""x"":1.600000023841858,""y"":0.3370431363582611},{""x"":2.0999999046325684,""y"":0.5179030299186707},{""x"":2.5999999046325684,""y"":0.27899765968322754},{""x"":3.0999999046325684,""y"":0.22075064480304718},{""x"":3.5999999046325684,""y"":0.5789918899536133},{""x"":4.099999904632568,""y"":0.21169911324977875},{""x"":4.599999904632568,""y"":0.27857646346092224},{""x"":5.099999904632568,""y"":1.0906332731246948},{""x"":5.599999904632568,""y"":1.8520300388336182},{""x"":6.099999904632568,""y"":2.7177059650421143},{""x"":6.599999904632568,""y"":2.8680918216705322},{""x"":7.099999904632568,""y"":3.2413077354431152}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCanada,MMELVLKTIIGPIVVGVVLRIVDKWLNKDK,CC(C(=O)NCCS)c1cccc(c1)C(=O)c2ccccc2,1480017,36.26095962524414,99515,30-56 WHITESTONE EXPY,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,4,4,1IAN,4,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[0.8597390975430008, 1.0957625732481946, 5.260537067987958, 0.07974187998177736],""points"":[{""x"":0.10000000149011612,""y"":0.8190152645111084},{""x"":0.6000000238418579,""y"":0.8421689867973328},{""x"":1.100000023841858,""y"":0.8740922212600708},{""x"":1.600000023841858,""y"":0.8924275040626526},{""x"":2.0999999046325684,""y"":0.8249067664146423},{""x"":2.5999999046325684,""y"":0.9327669143676758},{""x"":3.0999999046325684,""y"":0.8522974252700806},{""x"":3.5999999046325684,""y"":0.8174492716789246},{""x"":4.099999904632568,""y"":0.8394647240638733},{""x"":4.599999904632568,""y"":0.7139387726783752},{""x"":5.099999904632568,""y"":0.5561167597770691},{""x"":5.599999904632568,""y"":0.3276226818561554},{""x"":6.099999904632568,""y"":0.12479474395513535},{""x"":6.599999904632568,""y"":0.13006797432899475},{""x"":7.099999904632568,""y"":0.059702079743146896}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.760930219582546, 1.6591793293833013, 4.667155929720851, 0.7858109544121652],""points"":[{""x"":0.10000000149011612,""y"":6.156993389129639},{""x"":0.6000000238418579,""y"":5.236701965332031},{""x"":1.100000023841858,""y"":6.010560512542725},{""x"":1.600000023841858,""y"":5.495512962341309},{""x"":2.0999999046325684,""y"":6.087770462036133},{""x"":2.5999999046325684,""y"":5.79986572265625},{""x"":3.0999999046325684,""y"":5.597546577453613},{""x"":3.5999999046325684,""y"":5.520902156829834},{""x"":4.099999904632568,""y"":5.360654354095459},{""x"":4.599999904632568,""y"":3.5539746284484863},{""x"":5.099999904632568,""y"":1.577236294746399},{""x"":5.599999904632568,""y"":1.0001264810562134},{""x"":6.099999904632568,""y"":0.9305797815322876},{""x"":6.599999904632568,""y"":0.6033638715744019},{""x"":7.099999904632568,""y"":0.4203685522079468}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nColombia,MDRTDEVSNHTHDKPTLTWFEEIFEEYHSPFHN,FC(F)(F)c1ccc(OC2CCNCC2)cc1,1480029,36.3309440612793,995152050,1 COURT HOUSE SQUARE,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,5,5,4UJ1,5,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[6.4995088314153655, 2.4270351004539914, 5.178659535348579, 0.625653346241577],""points"":[{""x"":0.10000000149011612,""y"":6.496231555938721},{""x"":0.6000000238418579,""y"":6.42543363571167},{""x"":1.100000023841858,""y"":7.040063858032227},{""x"":1.600000023841858,""y"":6.1115403175354},{""x"":2.0999999046325684,""y"":6.680728435516357},{""x"":2.5999999046325684,""y"":6.406774520874023},{""x"":3.0999999046325684,""y"":6.611269474029541},{""x"":3.5999999046325684,""y"":5.889094352722168},{""x"":4.099999904632568,""y"":6.75344705581665},{""x"":4.599999904632568,""y"":6.361435890197754},{""x"":5.099999904632568,""y"":4.1666975021362305},{""x"":5.599999904632568,""y"":1.172118902206421},{""x"":6.099999904632568,""y"":0.801048994064331},{""x"":6.599999904632568,""y"":0.4640021026134491},{""x"":7.099999904632568,""y"":0.0010357667924836278}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[1.4734381347446401, 1.1649805188074196, 4.82958608866421, 0.09500545496710007],""points"":[{""x"":0.10000000149011612,""y"":1.5279096364974976},{""x"":0.6000000238418579,""y"":1.3559974431991577},{""x"":1.100000023841858,""y"":1.5246378183364868},{""x"":1.600000023841858,""y"":1.5567657947540283},{""x"":2.0999999046325684,""y"":1.4114240407943726},{""x"":2.5999999046325684,""y"":1.4045010805130005},{""x"":3.0999999046325684,""y"":1.4769829511642456},{""x"":3.5999999046325684,""y"":1.4875500202178955},{""x"":4.099999904632568,""y"":1.2991987466812134},{""x"":4.599999904632568,""y"":0.922961413860321},{""x"":5.099999904632568,""y"":0.6520044803619385},{""x"":5.599999904632568,""y"":0.15350978076457977},{""x"":6.099999904632568,""y"":0.1078903079032898},{""x"":6.599999904632568,""y"":0.17276449501514435},{""x"":7.099999904632568,""y"":0.14066608250141144}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCosta Rica,MKSTKEEIQTIKTLLKDSRTAKYHKRLQIVL,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCCc3ccccc3,1480018,36.3309440612793,995084218,4041 SOUTHWESTERN BLVD,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,6,6,2BPW,6,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.4833641843311227, -1.8945978742090062, 4.671127708092568, 0.24159861311815153],""points"":[{""x"":0.10000000149011612,""y"":0.0969524160027504},{""x"":0.6000000238418579,""y"":0.028483040630817413},{""x"":1.100000023841858,""y"":0.22087176144123077},{""x"":1.600000023841858,""y"":0.0068915546871721745},{""x"":2.0999999046325684,""y"":0.4305879771709442},{""x"":2.5999999046325684,""y"":0.44774115085601807},{""x"":3.0999999046325684,""y"":0.45346319675445557},{""x"":3.5999999046325684,""y"":0.2370593100786209},{""x"":4.099999904632568,""y"":0.4657953977584839},{""x"":4.599999904632568,""y"":1.155200719833374},{""x"":5.099999904632568,""y"":2.2294070720672607},{""x"":5.599999904632568,""y"":2.4311530590057373},{""x"":6.099999904632568,""y"":2.33846116065979},{""x"":6.599999904632568,""y"":2.608201026916504},{""x"":7.099999904632568,""y"":2.8136143684387207}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.224573521642033, 1.4454033924198528, 5.6014197746076535, 0.2823216054197577],""points"":[{""x"":0.10000000149011612,""y"":4.95027494430542},{""x"":0.6000000238418579,""y"":5.1754679679870605},{""x"":1.100000023841858,""y"":5.276752948760986},{""x"":1.600000023841858,""y"":5.589294910430908},{""x"":2.0999999046325684,""y"":5.616994857788086},{""x"":2.5999999046325684,""y"":5.120813846588135},{""x"":3.0999999046325684,""y"":5.340766906738281},{""x"":3.5999999046325684,""y"":4.876471042633057},{""x"":4.099999904632568,""y"":4.94999361038208},{""x"":4.599999904632568,""y"":5.162564754486084},{""x"":5.099999904632568,""y"":4.399557590484619},{""x"":5.599999904632568,""y"":2.7977969646453857},{""x"":6.099999904632568,""y"":1.0229872465133667},{""x"":6.599999904632568,""y"":0.48275601863861084},{""x"":7.099999904632568,""y"":0.10408931970596313}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCuba,MHAILRYFIRRLFYHIFYKIYSLISKKHQSLPSDVRQF,COc1ccc2c(c1)c(CC(=O)N3CCCC3C(=O)Oc4ccc(C)cc4OC)c(C)n2C(=O)c5ccc(Cl)cc5,1480019,36.33115768432617,995081928,1227 US HIGHWAY 11,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,7,7,1QBS,7,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[3.320838679713925, -1.2421619987316728, 4.831325425225256, 0.3236011098403072],""points"":[{""x"":0.10000000149011612,""y"":0.3727470338344574},{""x"":0.6000000238418579,""y"":0.12365014106035233},{""x"":1.100000023841858,""y"":0.48422467708587646},{""x"":1.600000023841858,""y"":0.2264465093612671},{""x"":2.0999999046325684,""y"":0.16821794211864471},{""x"":2.5999999046325684,""y"":0.3879014551639557},{""x"":3.0999999046325684,""y"":0.5470244884490967},{""x"":3.5999999046325684,""y"":0.3419053554534912},{""x"":4.099999904632568,""y"":0.7655120491981506},{""x"":4.599999904632568,""y"":1.2346516847610474},{""x"":5.099999904632568,""y"":2.453336715698242},{""x"":5.599999904632568,""y"":2.9565491676330566},{""x"":6.099999904632568,""y"":3.335299491882324},{""x"":6.599999904632568,""y"":3.240290880203247},{""x"":7.099999904632568,""y"":3.1107218265533447}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[3.6401853521511094, 1.26211588875013, 5.399028074402744, 0.5089580830068091],""points"":[{""x"":0.10000000149011612,""y"":3.8585598468780518},{""x"":0.6000000238418579,""y"":3.6077206134796143},{""x"":1.100000023841858,""y"":3.855252265930176},{""x"":1.600000023841858,""y"":3.619039297103882},{""x"":2.0999999046325684,""y"":3.839388370513916},{""x"":2.5999999046325684,""y"":3.335283041000366},{""x"":3.0999999046325684,""y"":3.571141481399536},{""x"":3.5999999046325684,""y"":3.4155046939849854},{""x"":4.099999904632568,""y"":3.7316646575927734},{""x"":4.599999904632568,""y"":3.0680155754089355},{""x"":5.099999904632568,""y"":2.891066551208496},{""x"":5.599999904632568,""y"":1.6022753715515137},{""x"":6.099999904632568,""y"":0.7652576565742493},{""x"":6.599999904632568,""y"":0.6875326037406921},{""x"":7.099999904632568,""y"":0.5828871726989746}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nItaly,MSNFHNEHVMQFYRNNLKTKGVFGRQ,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCO[N+](=O)[O-],1480020,36.33115768432617,99502,"168-46 91ST AVE., 2ND FLR",https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,8,8,1ZP8,8,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.293592105923809, 1.3781586549141835, 5.1025898038676605, 0.03493851245291291],""points"":[{""x"":0.10000000149011612,""y"":2.1287283897399902},{""x"":0.6000000238418579,""y"":2.267972230911255},{""x"":1.100000023841858,""y"":2.398442506790161},{""x"":1.600000023841858,""y"":2.5130622386932373},{""x"":2.0999999046325684,""y"":2.3255116939544678},{""x"":2.5999999046325684,""y"":2.127340793609619},{""x"":3.0999999046325684,""y"":2.47259783744812},{""x"":3.5999999046325684,""y"":2.131181478500366},{""x"":4.099999904632568,""y"":2.090421438217163},{""x"":4.599999904632568,""y"":2.02299165725708},{""x"":5.099999904632568,""y"":1.1105059385299683},{""x"":5.599999904632568,""y"":0.4494485855102539},{""x"":6.099999904632568,""y"":0.1375635862350464},{""x"":6.599999904632568,""y"":0.036351121962070465},{""x"":7.099999904632568,""y"":0.1619771122932434}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.953125499439879, 1.2528620255306528, 5.187637440149802, 0.3110348753260886],""points"":[{""x"":0.10000000149011612,""y"":5.6585283279418945},{""x"":0.6000000238418579,""y"":5.911152362823486},{""x"":1.100000023841858,""y"":5.924920082092285},{""x"":1.600000023841858,""y"":5.8469438552856445},{""x"":2.0999999046325684,""y"":5.929472923278809},{""x"":2.5999999046325684,""y"":6.190037727355957},{""x"":3.0999999046325684,""y"":6.236179828643799},{""x"":3.5999999046325684,""y"":6.141019344329834},{""x"":4.099999904632568,""y"":5.295210838317871},{""x"":4.599999904632568,""y"":5.265801906585693},{""x"":5.099999904632568,""y"":3.3722851276397705},{""x"":5.599999904632568,""y"":1.8299226760864258},{""x"":6.099999904632568,""y"":0.32690900564193726},{""x"":6.599999904632568,""y"":0.6274543404579163},{""x"":7.099999904632568,""y"":0.8441857099533081}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nRwanda,MPNSEPASLLELFNSIATQGELVRSLKAGNASK,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCO,1480021,36.33137130737305,995037247,"168-46 91ST AVE., 2ND FLR",https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,9,9,2BDJ,9,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[3.8209972202654474, 1.3779216716448506, 5.299882228439686, 0.06040645519069608],""points"":[{""x"":0.10000000149011612,""y"":3.7821109294891357},{""x"":0.6000000238418579,""y"":3.542433023452759},{""x"":1.100000023841858,""y"":3.7008674144744873},{""x"":1.600000023841858,""y"":3.717301607131958},{""x"":2.0999999046325684,""y"":4.024452209472656},{""x"":2.5999999046325684,""y"":4.013899326324463},{""x"":3.0999999046325684,""y"":3.945094347000122},{""x"":3.5999999046325684,""y"":3.866621971130371},{""x"":4.099999904632568,""y"":3.7461626529693604},{""x"":4.599999904632568,""y"":3.3454740047454834},{""x"":5.099999904632568,""y"":2.61944317817688},{""x"":5.599999904632568,""y"":0.999405026435852},{""x"":6.099999904632568,""y"":0.46259793639183044},{""x"":6.599999904632568,""y"":0.054134611040353775},{""x"":7.099999904632568,""y"":0.05711187422275543}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.6318079657726035, 1.8495493770000595, 5.391793312471116, 0.17060707587348442],""points"":[{""x"":0.10000000149011612,""y"":5.458079814910889},{""x"":0.6000000238418579,""y"":5.554427146911621},{""x"":1.100000023841858,""y"":5.799983024597168},{""x"":1.600000023841858,""y"":5.364140033721924},{""x"":2.0999999046325684,""y"":5.864485740661621},{""x"":2.5999999046325684,""y"":5.4509806632995605},{""x"":3.0999999046325684,""y"":5.702574729919434},{""x"":3.5999999046325684,""y"":5.7314534187316895},{""x"":4.099999904632568,""y"":5.5123443603515625},{""x"":4.599999904632568,""y"":5.724395751953125},{""x"":5.099999904632568,""y"":4.354506969451904},{""x"":5.599999904632568,""y"":1.7307666540145874},{""x"":6.099999904632568,""y"":0.6305936574935913},{""x"":6.599999904632568,""y"":0.035183437168598175},{""x"":7.099999904632568,""y"":0.7575169205665588}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nSwitzerland,IRVVGRYLIEVWKAAGMDMDKVLFLWSSDEI,CN1CCC(CC1)Oc2ccc(cc2)C(F)(F)F,1480028,36.33137130737305,99504,92-11 179TH PLACE,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,9,10,1IAN,10,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[1.1190255865097471, 2.3163895161544437, 5.4968866182279195, 0.2035204047289052],""points"":[{""x"":0.10000000149011612,""y"":1.1057683229446411},{""x"":0.6000000238418579,""y"":1.1019697189331055},{""x"":1.100000023841858,""y"":1.0818607807159424},{""x"":1.600000023841858,""y"":1.062997817993164},{""x"":2.0999999046325684,""y"":1.046447515487671},{""x"":2.5999999046325684,""y"":1.1217249631881714},{""x"":3.0999999046325684,""y"":1.2166996002197266},{""x"":3.5999999046325684,""y"":1.215477705001831},{""x"":4.099999904632568,""y"":1.0581893920898438},{""x"":4.599999904632568,""y"":1.1747995615005493},{""x"":5.099999904632568,""y"":1.0181127786636353},{""x"":5.599999904632568,""y"":0.5344523191452026},{""x"":6.099999904632568,""y"":0.2569526433944702},{""x"":6.599999904632568,""y"":0.1912207305431366},{""x"":7.099999904632568,""y"":0.15060538053512573}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[3.1038581025805785, 2.0032224204185245, 5.087602825989163, 0.13277988512492753],""points"":[{""x"":0.10000000149011612,""y"":3.0498509407043457},{""x"":0.6000000238418579,""y"":2.805217742919922},{""x"":1.100000023841858,""y"":3.3415253162384033},{""x"":1.600000023841858,""y"":3.0549843311309814},{""x"":2.0999999046325684,""y"":3.250074863433838},{""x"":2.5999999046325684,""y"":3.0432586669921875},{""x"":3.0999999046325684,""y"":3.265852451324463},{""x"":3.5999999046325684,""y"":2.9475724697113037},{""x"":4.099999904632568,""y"":3.1929898262023926},{""x"":4.599999904632568,""y"":2.7460060119628906},{""x"":5.099999904632568,""y"":1.6175861358642578},{""x"":5.599999904632568,""y"":0.3006608486175537},{""x"":6.099999904632568,""y"":0.3444803059101105},{""x"":6.599999904632568,""y"":0.015537971630692482},{""x"":7.099999904632568,""y"":0.5527358055114746}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\n,,,,,,,,,,,,,,,,,,,,,');o.columns.add(t.Column.fromList(t.TYPE.BYTE_ARRAY,"BinaryImage",Array.from(new Uint8Array(11))));var i=function(t,e,s,n){return new(s||(s=Promise))((function(o,i){function r(t){try{c(n.next(t))}catch(t){i(t)}}function a(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(r,a)}c((n=n.apply(t,e||[])).next())}))};const r=3e4,a=108e5,c=console.log.bind(console),l=console.info.bind(console),y=console.warn.bind(console),f=console.error.bind(console),u={},p="Auto Tests",x="Demo",h="Detectors",d="Core",m={};let g;var C;!function(t){t.notNull=function(t,e){if(null==t)throw new Error(`${null==e?"Value":e} not defined`)}}(C||(C={}));class b{constructor(t,e){this.catchUnhandled=!0,this.report=!1,void 0!==t&&(this.catchUnhandled=t),void 0!==e&&(this.report=e)}}class v{constructor(t,e,s,n){var o;this.category=t,this.name=e,null!=n||(n={}),null!==(o=n.timeout)&&void 0!==o||(n.timeout=r),this.options=n,this.test=()=>i(this,void 0,void 0,(function*(){return new Promise(((t,e)=>i(this,void 0,void 0,(function*(){let n="";try{n=yield s()}catch(t){e(t)}t(n)}))))}))}}function A(t,e,s){null==u[g]&&(u[g]={}),null==u[g].tests&&(u[g].tests=[]),u[g].tests.push(new v(g,t,e,s))}function w(t,e=!0,s){if(s=s?`${s}, `:"",t!==e)throw new Error(`${s}Expected "${e}", got "${t}"`)}function L(t,e,s){var n;g=t,e(),u[g]&&(u[g].clear=null===(n=null==s?void 0:s.clear)||void 0===n||n,u[g].timeout=null==s?void 0:s.timeout,u[g].benchmarks=null==s?void 0:s.benchmarks)}function R(t){null==u[g]&&(u[g]={}),u[g].before=t}function E(t,e){return t.replace(new RegExp(e.name,"gi"),e.nqName)}function O(e){return i(this,void 0,void 0,(function*(){return`${e.toString()}\n${e.stack?yield t.Logger.translateStackTrace(e.stack):""}`}))}function N(s,n,o,l,y,u){var p,x,h,d,m,g,C,b;return i(this,void 0,void 0,(function*(){let i;o.length=0;let v="package";const A=null!=n&&s.name.toLowerCase()!==n.toLowerCase();let w=(null===(p=s.options)||void 0===p?void 0:p.skipReason)||A,L=A?"skipped":null===(x=s.options)||void 0===x?void 0:x.skipReason;if(t.Test.isInBenchmark&&!(null===(h=s.options)||void 0===h?void 0:h.benchmark))return void c(`SKIPPED: ${s.category} ${s.name} doesnt available in benchmark mode`);w||c(`Started ${s.category} ${s.name}`);const R=Date.now();try{if(w)i={success:!0,result:L,ms:0,skipped:!0};else{let e=(null===(d=s.options)||void 0===d?void 0:d.timeout)===r&&l?l:null===(m=s.options)||void 0===m?void 0:m.timeout;e=t.Test.isInBenchmark?a:e,i={success:!0,result:null!==(g=yield T(s.test,e))&&void 0!==g?g:"OK",ms:0,skipped:!1}}}catch(t){f(t),i={success:!1,result:yield O(t),ms:0,skipped:!1}}if((null===(C=s.options)||void 0===C?void 0:C.isAggregated)&&i.result.constructor===t.DataFrame){const t=i.result.col("success");if(t&&(i.success=t.stats.sum===t.length),!u){const t=i.result;t.columns.remove("stack"),t.rows.removeWhere((t=>t.get("success"))),i.result=t}i.result=i.result.toCsv()}if(i.logs=o.join("\n"),i.ms=Date.now()-R,w||c(`Finished ${s.category} ${s.name} for ${i.ms} ms`),i.category=s.category,i.name=s.name,!A){let n={success:i.success,result:i.result,ms:i.ms,skipped:i.skipped,package:y,category:s.category,name:s.name,logs:i.logs};if(i.result.constructor==Object){const t=Object.keys(i.result).reduce(((t,e)=>Object.assign(Object.assign({},t),{["result."+e]:i.result[e]})),{});n=Object.assign(Object.assign({},n),t)}n.result instanceof t.DataFrame&&(n.result=JSON.stringify(null===(b=n.result)||void 0===b?void 0:b.toJson())||""),null!=e.shell.reportTest?yield e.shell.reportTest(v,n):yield fetch(`${e.dapi.root}/log/tests/${v}`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(n)})}return i}))}function S(t){return i(this,void 0,void 0,(function*(){yield new Promise((e=>setTimeout(e,t)))}))}function T(t,e,s="EXECUTION TIMEOUT"){return i(this,void 0,void 0,(function*(){let n=null;const o=new Promise(((t,o)=>{n=setTimeout((()=>{o(s)}),e)}));try{return yield Promise.race([t(),o])}finally{n&&clearTimeout(n)}}))}t.DataFrame.fromColumns([t.Column.fromStrings("col",["val1","val2","val3"])]);const k=["A","G","C","U"];var M,$;($=M||(M={})).HELM="HELM",$.AXOLABS="Axolabs";class D extends t.Package{async getTranslationHelper(){return await e.functions.call(`${this.name}:getTranslationHelper`)}}function P(t,e,s){return s.createFormatConverter(t,e).convertTo(M.HELM)}function U(t,e,s){return s.createFormatConverter(t,M.HELM).convertTo(e)}const F={Axolabs:{UfAfsCfsGfuacg:"RNA1{[fR](U)p.[fR](A)[sp].[fR](C)[sp].[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)}$$$$"},BioSpring:{"A*GC*123456789":"RNA1{r(A)[sp].r(G)p.r(C)[sp].[fR](U)p.[fR](A)p.[fR](C)p.[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)p.d([m5C])}$$$$"},Mermade12:{hefglijkLIJKHEFG:"RNA1{[25r](U)[sp].[25r](A)[sp].[25r](C)[sp].[25r](G)[sp].[fR](U)[sp].[fR](A)[sp].[fR](C)[sp].[fR](G)[sp].[fR](U)p.[fR](A)p.[fR](C)p.[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)}$$$$"}},H={"RNA1{[fR](U)p.[fR](A)[sp].[fR](C)[sp].[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)}$$$$":"UACGUACG","RNA1{r(A)[sp].r(G)p.r(C)[sp].[fR](U)p.[fR](A)p.[fR](C)p.[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)p}$$$$":"AGCUACGUACG","RNA1{[25r](U)[sp].[25r](A)[sp].[25r](C)[sp].[25r](G)[sp].[fR](U)[sp].[fR](A)[sp].[fR](C)[sp].[fR](G)[sp].[fR](U)p.[fR](A)p.[fR](C)p.[fR](G)p.[25r](U)p.[25r](A)p.[25r](C)p.[25r](G)}$$$$":"UACGUACGUACGUACG"};L("Formats to HELM",(()=>{let t;R((async()=>{t=await _.getTranslationHelper()}));for(const e of Object.keys(F))for(const[s,n]of Object.entries(F[e]))A(`${e} to HELM`,(async()=>{const o=n;w(P(s,e,t),o)}))})),L("HELM to Formats",(()=>{let t;R((async()=>{t=await _.getTranslationHelper()}));for(const e of Object.keys(F))for(const[s,n]of Object.entries(F[e]))A(`${e} to HELM`,(async()=>{const o=s;w(U(n,e,t),o)}))}));const G="<?>";function I(t,e){const s=new RegExp("\\([^()]*\\)","g"),n=t.match(s);return n?n.map((t=>{const s=t.replace(/[\[\]()]/g,"");return k.includes(s)?s:e.getNaturalAnalogBySymbol(s)})).map((t=>t||G)).join(""):null}L("HELM to Nucleotides",(()=>{let t;R((async()=>{t=await _.getTranslationHelper()})),Object.entries(H).forEach((([e,s],n)=>{A(`Sequence ${n+1} to nucleotides`,(async()=>{const n=s;w(I(e,t.monomerLibWrapper),n)}))}))}));const j={[M.AXOLABS]:"Afcgacsu",[M.HELM]:"RNA1{[fR](A)p.[25r](C)p.[25r](G)p.[25r](A)p.[25r](C)[sp].[25r](U)}$$$$"};function K(t){return"string"==typeof t||t instanceof String?t:"StateError"===t.constructor.name?t.message:"StateError"===t.constructor.name&&"$thrownJsError"in t?K(t.$thrownJsError):t instanceof Error?t.message:t.toString()}function V(t){return t instanceof Error?t.stack:"StateError"===t.constructor.name&&"$thrownJsError"in t?V(t.$thrownJsError):void 0}function W(t){return[K(t),V(t)]}L("Formats support",(()=>{let t;R((async()=>{t=await _.getTranslationHelper()})),Object.entries(j).forEach((([e,s])=>{A(`All formats for ${e}`,(async()=>{const n=function(t,e,s){return function(t,e,s,n){const o=Object.keys(n.jsonData.codesToHelmDict).concat([M.HELM]);if(!t||-1!==e&&s!==M.HELM)return{};if(!o.includes(s))throw new Error(`${s} format is not supported by SequenceTranslator`);const i=o.filter((t=>t!=s)).sort(((t,e)=>t.localeCompare(e))),r=n.createFormatConverter(t,s),a=Object.fromEntries(i.map((t=>{let e;try{e=r.convertTo(t)}catch{e=null}return[t,e]})).filter((([t,e])=>e))),c=I(s===M.HELM?t:a[M.HELM],n.monomerLibWrapper);return c&&(a.Nucleotides=c),a}(t,s.createSequenceValidator(t).getInvalidCodeIndex(e),e,s)}(s,e,t),o=Object.keys(n).length;w(!0,Object.keys(F).length+1<=o)}))}))})),L("files",(()=>{let e;R((async()=>{e=await _.getTranslationHelper()})),A("list",(async()=>{let s;const n=t.DataFrame.fromColumns([t.Column.string("subTest"),s=t.Column.bool("success"),t.Column.string("format"),t.Column.string("src"),t.Column.string("res"),t.Column.string("tgt"),t.Column.string("error"),t.Column.string("stack")]),o=await _.files.list("tests",!0,".csv");for(const s of o){const o=t.DataFrame.fromCsv(await s.readAsString()),i=o.columns.byIndex(0),r=i.name,a=o.columns.byIndex(1),c=o.rowCount;for(let t=0;t<c;++t){const o=n.rows.addNew();o.subTest=`${s.name}, row: ${t}`;try{const s=i.get(t),n=a.get(t);o.format=r,o.src=s,o.tgt=n,w(o.res=P(s,r,e),n),o.success=!0}catch(t){const[e,s]=W(t);o.error=e,o.stack=s,o.success=!1}}}0==n.rowCount&&n.rows.addNew(["empty",!0,"",""]);const i=s.toList().findIndex((t=>1!=t));if(-1!=i){const t=n.rows.get(i);throw new Error(`Subtest '${t.subTest}' failed: ${t.error}`)}return n}),{skipReason:"Can not create test in async manner based on files in Shares."})}));const _=new D;async function Y(s,n,a){const g=await function(s){var n,a,g,C,A,L,R,k;return i(this,void 0,void 0,(function*(){const M=null===(a=null===(n=e.functions.getCurrentCall())||void 0===n?void 0:n.func)||void 0===a?void 0:a.package;yield function(t,s){var n;return i(this,void 0,void 0,(function*(){const s=t.id;if(m[s])return;const a=u;if(void 0!==a[p]||void 0!==a[x]||Object.keys(a).find((t=>t.startsWith(p)||t.startsWith(d))))return void(m[s]=!0);if("DevTools"===t.name)for(const t of window.dartTests){const e=t.name.split(/\s*\|\s*!/g),s=null!==(n=e.pop())&&void 0!==n?n:t.name,o=e.length?d+": "+e.join(": "):d;void 0===a[o]&&(a[o]={tests:[],clear:!0}),a[o].tests.push(new v(o,s,t.test,{isAggregated:!1,timeout:r}))}const c=[],l=[],y=[],f=yield e.dapi.functions.filter(`package.id = "${s}"`).list(),g=new RegExp(/skip:\s*([^,\s]+)|wait:\s*(\d+)|cat:\s*([^,\s]+)|timeout:\s*(\d+)/g);for(const t of f){const s=t.options.test,n=t.options.demoPath;if(s&&Array.isArray(s)&&s.length)for(let n=0;n<s.length;n++){const o=s[n].matchAll(g),r={};Array.from(o).forEach((t=>{t[0].startsWith("skip")?r.skip=t[1]:t[0].startsWith("wait")?r.wait=parseInt(t[2]):t[0].startsWith("cat")?r.cat=t[3]:t[0].startsWith("timeout")&&(r.timeout=parseInt(t[4]))}));const l=new v(p,1===s.length?t.name:`${t.name} ${n+1}`,(()=>i(this,void 0,void 0,(function*(){const o=yield e.functions.eval(E(s[n],t));if(r.wait&&(yield S(r.wait)),"boolean"==typeof o&&!o)throw`Failed: ${s[n]}, expected true, got ${o}`}))),{skipReason:r.skip,timeout:r.timeout});if(r.cat){const t=p+": "+r.cat;l.category=t,void 0===a[t]&&(a[t]={tests:[],clear:!0}),a[t].tests.push(l)}else c.push(l)}if(n){const s=t.options.demoWait?parseInt(t.options.demoWait):void 0,n=new v(x,t.friendlyName,(()=>i(this,void 0,void 0,(function*(){e.shell.clearLastError(),yield t.apply(),yield S(s||2e3);const n=yield e.shell.lastError;if(n)throw new Error(n)}))),{skipReason:t.options.demoSkip});l.push(n)}if(t.hasTag("semTypeDetector")){const e=new v(h,t.friendlyName,(()=>i(this,void 0,void 0,(function*(){const e=[];for(const s of o.clone().columns){const n=yield t.apply([s]);e.push(n||s.semType)}w(e.filter((t=>t)).length,1)}))),{skipReason:t.options.skipTest});y.push(e)}}m[s]=!0,c.length&&(a[p]={tests:c,clear:!0}),l.length&&(a[x]={tests:l,clear:!0}),y.length&&(a[h]={tests:y,clear:!1})}))}(M);const $=[];console.log("Running tests"),null!=s||(s={}),null!==(g=(k=s).testContext)&&void 0!==g||(k.testContext=new b),e.shell.clearLastError();const D=[],P=function(){const t=[];return console.log=(...e)=>{t.push(...e),c(...e)},console.info=(...e)=>{t.push(...e),l(...e)},console.warn=(...e)=>{t.push(...e),y(...e)},console.error=(...e)=>{t.push(...e),f(...e)},t}();try{for(const[n,o]of Object.entries(u)){if((null==s?void 0:s.category)&&!n.toLowerCase().startsWith(null==s?void 0:s.category.toLowerCase())||(null===(C=s.exclude)||void 0===C?void 0:C.some((t=>n.startsWith(t)))))continue;c(`Started ${n} category`),D.push(n);const r=null===(A=o.tests)||void 0===A?void 0:A.every((t=>{var e;return null===(e=t.options)||void 0===e?void 0:e.skipReason}));try{o.before&&!r&&(yield T((()=>i(this,void 0,void 0,(function*(){yield o.before()}))),1e5,`before ${s.category}: timeout error`))}catch(t){o.beforeStatus=yield O(t)}const a=null!==(L=o.tests)&&void 0!==L?L:[],l=[];if(o.clear)for(let n=0;n<a.length;n++){a[n].options&&void 0===(null===(R=a[n].options)||void 0===R?void 0:R.benchmark)&&(a[n].options||(a[n].options={}),a[n].options.benchmark=o.isAllTestsEnabledBenchmarkMode||!1);let i=yield N(a[n],null==s?void 0:s.test,P,o.timeout,M.name,s.verbose);i&&l.push(i),e.shell.closeAll(),t.Balloon.closeAll()}else for(let t=0;t<a.length;t++){let e=yield N(a[t],null==s?void 0:s.test,P,o.timeout,M.name,s.verbose);e&&l.push(e)}const y=l.filter((t=>"skipped"!=t.result));try{o.after&&!r&&(yield T((()=>i(this,void 0,void 0,(function*(){yield o.after()}))),1e5,`After ${s.category}: timeout error`))}catch(t){o.afterStatus=yield O(t)}o.afterStatus&&y.push({category:n,name:"after",result:o.afterStatus,success:!1,ms:0,skipped:!1}),o.beforeStatus&&y.push({category:n,name:"before",result:o.beforeStatus,success:!1,ms:0,skipped:!1}),$.push(...y)}}finally{console.log=c,console.info=l,console.warn=y,console.error=f}if(s.testContext.catchUnhandled){yield S(1e3);const t=yield e.shell.lastError,s={category:"Unhandled exceptions",name:"Exception",result:null!=t?t:"",success:!t,ms:0,skipped:!1};$.push(s),s.package=M.name,null!=e.shell.reportTest?yield e.shell.reportTest("package",s):yield fetch(`${e.dapi.root}/log/tests/package`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(s)})}return $}))}({category:s,test:n,testContext:a,verbose:!0});return t.DataFrame.fromObjects(g)}})(),sequencetranslator_test=n})();
2
2
  //# sourceMappingURL=package-test.js.map