Skip to content

Commit

Permalink
Attempt to use static files
Browse files Browse the repository at this point in the history
  • Loading branch information
Bankso committed Aug 30, 2024
1 parent 5864f92 commit 9f3d560
Show file tree
Hide file tree
Showing 8 changed files with 2,166 additions and 2,166 deletions.
810 changes: 1 addition & 809 deletions files/JSON/HTAN_tangled_tree.json

Large diffs are not rendered by default.

809 changes: 809 additions & 0 deletions files/JSON/deprecated/HTAN_tangled_tree.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion files/JSON/mc2_rfc_test_8.30.24.json

This file was deleted.

1,346 changes: 152 additions & 1,194 deletions files/Merged/HTAN_attribute_table.csv

Large diffs are not rendered by default.

1,194 changes: 1,194 additions & 0 deletions files/Merged/deprecated/HTAN_attribute_table.csv

Large diffs are not rendered by default.

152 changes: 0 additions & 152 deletions files/Merged/mc2_rfc_test_8.30.24.csv

This file was deleted.

2 changes: 1 addition & 1 deletion files/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
schema_url: https://github.com/mc2-center/data-models/raw/rfc-test-branch/mc2.model.jsonld
schema_url: HTAN
18 changes: 9 additions & 9 deletions js/PrepareRender.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ $.get('files/config.yml').done(function (data) {
})

//////////////////for using static files
// if (schema == "HTAN") {
// var tangled_tree_data = parseJSON('files/JSON/HTAN_tangled_tree.json');
// }
if (schema == "HTAN") {
var tangled_tree_data = parseJSON('files/JSON/HTAN_tangled_tree.json');
}

// tangled_tree_data.then(tangled_tree_dta => {
// //get tangle tree layout
// var chart_dta = chart(tangled_tree_dta);
tangled_tree_data.then(tangled_tree_dta => {
//get tangle tree layout
var chart_dta = chart(tangled_tree_dta);

// //draw collapsible tree
// createCollapsibleTree(chart_dta, schema);
// })
//draw collapsible tree
createCollapsibleTree(chart_dta, schema);
})

})

0 comments on commit 9f3d560

Please sign in to comment.