Skip to content

Commit

Permalink
Moves the directory that data is updated in
Browse files Browse the repository at this point in the history
  • Loading branch information
scourgemancer authored and nicholastmosher committed Feb 19, 2020
1 parent aeb9166 commit 5b8dfcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/data_fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down

0 comments on commit 5b8dfcf

Please sign in to comment.