Skip to content

Commit

Permalink
Minor code improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
bherr2 committed Oct 23, 2023
1 parent 5879e7c commit 38dc839
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data-processor/src/gen-reports.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ for (const queryFile of globSync('queries/*.rq').sort()) {
const isLarge = queryFile.endsWith('.lg.rq');

const reportName = basename(queryFile, isLarge ? '.lg.rq' : '.rq');
if (process.argv.length === 3 && !reportName.includes(process.argv[2])) {
continue;
}

const reportCsv = `../data/reports/${reportName}.csv`;
console.log('Creating report:', reportName);

Expand Down
1 change: 1 addition & 0 deletions data-processor/src/gen-universe-registrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const COMBINED_OUTPUT = '../data/rui_locations.jsonld';

const REGISTRATION_URLS = [
'https://ccf-api.hubmapconsortium.org/v1/hubmap/rui_locations.jsonld',
'https://apps.humanatlas.io/hra-api--staging/v1/sennet/rui_locations.jsonld',
'https://ccf-api.hubmapconsortium.org/v1/gtex/rui_locations.jsonld',
'https://hubmapconsortium.github.io/hra-registrations/federated/rui_locations.jsonld'
];
Expand Down

0 comments on commit 38dc839

Please sign in to comment.