diff --git a/stores/pfam.ts b/stores/pfam.ts index d00394ed8b9d6196e0712ba375124238a834fcd1..60de2d5f30482e73e316649f161c5d45ebc9d1cb 100644 --- a/stores/pfam.ts +++ b/stores/pfam.ts @@ -4,7 +4,8 @@ import * as d3 from "d3"; import { unref } from 'vue' -const { refinedUrl: refinedPfamUrl } = useRefinedUrl('/pfam-a-hmm.csv') +// const { refinedUrl: refinedPfamUrl } = useRefinedUrl('/pfam-a-hmm.csv') + export interface PfamContent { body: PfamHmm[] } @@ -26,7 +27,8 @@ export const usePfamStore = defineStore('pfam', () => { async function initPfam() { if (pfam.value.size < 1) { - const data = await d3.csv(refinedPfamUrl.value); + // const data = await d3.csv(refinedPfamUrl.value); + const data = await d3.csv('/pfam-a-hmm.csv'); if (data.length > 1) { pfam.value = new Map(data.map(pfam => { return [pfam.AC.split(".")[0], { ...unref(pfam) }];