Skip to content

Commit

Permalink
bypass the SVG dark mode issue by using an object tag in markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
metazool committed Jul 18, 2024
1 parent 9fef7d3 commit e97cf8d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/diagrams/as_is/instrument_to_store.dot
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ digraph G {
scope [shape=rect label="Microscope \n(FlowCam)"];
pc [shape=rect label="Local PC"]

scope2 [shape=rect label="Microscope \n(Flow Cytometer"];
scope2 [shape=rect label="Laser Imaging \n(Flow Cytometer)"];
pc2 [shape=rect label="Local PC"]

san [shape=cylinder label="SAN \nprivate cloud"]
Expand Down
26 changes: 12 additions & 14 deletions docs/diagrams/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,24 @@ layout: home
title: Plankton ML - workflow diagrams
---

<!-- workaround to make diagrams responsive to dark mode -->
<style type="text/css">
svg { fill: currentColor }
# Workflow Diagrams

path {
fill: black;
}
Views of the flow of data from the imaging instrument to cloud-accessible storage

@media (prefers-color-scheme: dark) {
path { fill: white; }
}
</style>
### As is

# Workflow Diagrams
Data saved during a session with the microscope is downloaded onto a USB key, then uploaded from a researcher's laptop into a shared storage area on a site-specific SAN.

Later, a data scientist logs into a virtual machine in the on-premise "private cloud" and runs more than one script to read the data, process it for analysis, and then upload to s3 storage hosted at JASMIN. Authorisation in this chain requires personal credentials.

<object data="as_is/instrument_to_store.svg" type="image/svg+xml">
</object>

As-is and Could-be views of the flow of data from the imaging instrument to cloud-accessible storage
There are file naming conventions including metadata which doesn't follow the same path as the data, and there are spatio-temporal properties of the samples which could be recorded.

![From imaging instrument to cloud storage](as_is/instrument_to_store.svg) - as is
![From imaging instrument to cloud storage](could_be/instrument_to_store.svg) - as is
### Could be

<object data="could_be/instrument_to_store.svg" type="image/svg+xml">
</object>


0 comments on commit e97cf8d

Please sign in to comment.