From 5b8dfcf1ffe75a4fc6df3055ea5b7e4430f36302 Mon Sep 17 00:00:00 2001 From: Timothy Geary Date: Mon, 3 Feb 2020 23:18:14 -0500 Subject: [PATCH] Moves the directory that data is updated in --- src/utils/data_fetcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/data_fetcher.ts b/src/utils/data_fetcher.ts index 4e35292..a6151c9 100644 --- a/src/utils/data_fetcher.ts +++ b/src/utils/data_fetcher.ts @@ -8,7 +8,7 @@ export const getDataset = (): StructuredData => { return mostRecentDataset; }; export const downloadData = (dataUrl: string = "http://current.geneontology.org/annotations/tair.gaf.gz") => { const { execSync } = require("child_process"); - const stdout = execSync("wget " + dataUrl + " ; gunzip tair.gaf.gz"); + const stdout = execSync("cd ../assets/ ; wget " + dataUrl + " ; gunzip tair.gaf.gz"); } export const updateData = () => {