Skip to content

Commit

Permalink
Committing first version of Mollusca cultural values vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
amb26 committed Nov 17, 2023
1 parent 6e0a1be commit d5368af
Show file tree
Hide file tree
Showing 10 changed files with 131 additions and 68 deletions.
5 changes: 5 additions & 0 deletions config.json5
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
taxonId: 47115,
taxonName: "Mollusca"
},
Cultural: {
type: "maxwell.bioblitzDiversityPane",
vizFile: "%resourceBase/data/Galiano-2023-Cultural-Mollusca.json.lz4",
nativeDataOnly: true
},
Status: {
type: "maxwell.bioblitzStatusPane",
vizFile: "%resourceBase/data/Galiano-2023-Status-Mollusca.json.lz4",
Expand Down
21 changes: 14 additions & 7 deletions docs/Mollusca-Reknitted.html

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions docs/css/imerss-viz-all.css
Original file line number Diff line number Diff line change
Expand Up @@ -820,10 +820,20 @@ a.ui-button:active,
margin-bottom: -0.2rem;
}

/* No idea why we do this, but we need to undo it for fld-imerss-media-name */
.fl-taxonDisplay-row.fld-taxonDisplay-expandable-remainder.fl-taxonDisplay-runon-remainder :first-child {
margin-top: -0.5rem;
}

.fl-taxonDisplay-row.fld-taxonDisplay-expandable-remainder.fl-taxonDisplay-runon-remainder .fld-imerss-media-name {
padding-bottom: 15px;
font-size: 1.1rem;
}

.fl-taxonDisplay-row .fld-imerss-media-image {
padding-bottom: 5px;
}

.fl-taxonDisplay-row.fld-taxonDisplay-expandable-remainder.fl-taxonDisplay-runon-remainder.fl-taxonDisplay-row {
border-bottom: none;
}
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/js/imerss-viz-all.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js/imerss-viz-all.js.map

Large diffs are not rendered by default.

154 changes: 97 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {},
"devDependencies": {
"infusion": "4.6.0",
"imerss-bioinfo": "1.9.0",
"imerss-bioinfo": "1.11.0",
"@imerss/inat-components": "2.0.1",
"json5": "2.2.3",
"lz4": "0.6.5",
Expand Down
3 changes: 2 additions & 1 deletion scripts/Cultural_map_script.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Map Galiano Island's marine animal diversity
# Map Galiano Island's marine animal diversity for taxa with cultural significance

# Load libraries

Expand All @@ -20,6 +20,7 @@ mx_diversityRowToOptions <- function (row) {
return (list(mx_regionId = row$cell_id, mx_richness = row$richness))
}

# Called with lower-case rendering of phylum name, e.g. "mollusca"
mx_cultural_map <- function (taxon) {
title <- str_to_title(taxon);

Expand Down
Binary file added viz_data/Galiano-2023-Cultural-Mollusca.json.lz4
Binary file not shown.

0 comments on commit d5368af

Please sign in to comment.