Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a new step to update mapping files
Browse files Browse the repository at this point in the history
onursumer committed Dec 26, 2024
1 parent 6f89a2c commit 60543b4
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion data/dsa-images.json

This file was deleted.

1 change: 1 addition & 0 deletions data/fetch_autominerva_mappings.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
curl https://d3p249wtgzkn5u.cloudfront.net/final-output/htan-imaging-assets-latest.json
1 change: 0 additions & 1 deletion data/update_dsa_mappings.sh

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -10,7 +10,8 @@
},
"scripts": {
"dev": "yarn run next dev",
"updateData": "yarn run findAndReplace && yarn run processSynapseJSON && yarn run gzip",
"updateMappings": "bash data/fetch_autominerva_mappings.sh > data/htan-imaging-assets.json",
"updateData": "yarn run findAndReplace && yarn updateMappings && yarn run processSynapseJSON && yarn run gzip",
"gzip": "yarn run gzipData && yarn run gzipMetadata",
"gzipData": "gzip < public/syn_data.json > public/syn_data.json.gz && gzip < public/processed_syn_data.json > public/processed_syn_data.json.gz",
"gzipMetadata": "rm -rf data/metadata_gzip/ && cp -r data/metadata data/metadata_gzip && find data/metadata_gzip -type f -exec gzip {} \\; -exec mv {}.gz {} \\;",

0 comments on commit 60543b4

Please sign in to comment.