From 117ac0986d4df64fd1ce4c81320dc62b49987545 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Tue, 28 Nov 2023 21:53:47 +0100 Subject: [PATCH] Stop using refined url --- stores/pfam.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stores/pfam.ts b/stores/pfam.ts index d00394ed..60de2d5f 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) }]; -- GitLab