Skip to content

Commit

Permalink
update trajectory links to use quilt
Browse files Browse the repository at this point in the history
  • Loading branch information
blairlyons committed Oct 23, 2024
1 parent cf5a422 commit 3cba503
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions scripts/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,12 @@ function createInset(g, width, height, a, b, invert) {
}

function individualVizLink(simulator, velocity, replicate) {
let base_link = `https://simularium.allencell.org/viewer?trajUrl=https://${simulator.toLowerCase()}-working-bucket.s3.us-west-2.amazonaws.com`
let series = (velocity === "0000") ? "NO_COMPRESSION" : "COMPRESSION_VELOCITY"
if (simulator.toLowerCase() == "readdy") {
series = `ACTIN_${series}`
}
let base_link = `https://simularium.allencell.org/viewer?trajUrl=https://allencell.s3.amazonaws.com/aics/subcellular_model_simulations/subcellular_model_simulations_actin_comparison`
let simulation = simulator.toLowerCase() == "readdy" ? `monomer_scale_readdy` : `fiber_scale_cytosim`
let series = (velocity === "0000") ? `ACTIN_NO_COMPRESSION` : `ACTIN_COMPRESSION_VELOCITY`
let velocity_name = (velocity === "0000") ? "" : "_" + velocity
let replicate_name = "00000" + (Number(replicate) + 1)
return `${base_link}/${series}/viz/${series}${velocity_name}_${replicate_name}.simularium`
return `${base_link}/${simulation}/${series}/viz/${series}${velocity_name}_${replicate_name}.simularium`
}

function formatVelocity(velocity) {
Expand Down

0 comments on commit 3cba503

Please sign in to comment.