view x/static/js/2249.b91f0bb3.chunk.js @ 127:fbabf7498471 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 116b1a4bbd62251ad552306df2dc8aa8f46c6721
author fubar
date Mon, 07 Oct 2024 02:11:55 +0000
parents 49f3d3878413
children
line wrap: on
line source

"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[2249],{92249:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i});var a=s(46377),r=s(99834);class i extends a.BaseAdapter{async getRefNameAliases(){const e=this.getConf("location");if(""===e.uri||"/path/to/my/aliases.txt"===e.uri)return[];const t=await(0,r.openLocation)(e,this.pluginManager).readFile("utf8"),s=this.getConf("refNameColumn");return t.trim().split(/\n|\r\n|\r/).filter((e=>!!e&&!e.startsWith("#"))).map((e=>{const t=e.split("\t"),[a]=t.splice(s,1);return{refName:a,aliases:t.filter((e=>!!e.trim()))}}))}async freeResources(){}}}}]);
//# sourceMappingURL=2249.b91f0bb3.chunk.js.map