about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorArun Isaac2025-08-04 12:40:31 +0100
committerArun Isaac2025-08-06 22:40:41 +0100
commit92727365d1e3fc67b66278fd7cbcda77dd27c09e (patch)
treeda98acd067d28aae09123a24b6527d757fe4bec8 /doc
parent9e2fbdb8141549cbaf4688e52f62fec0b720d8b8 (diff)
downloadpyhegp-92727365d1e3fc67b66278fd7cbcda77dd27c09e.tar.gz
pyhegp-92727365d1e3fc67b66278fd7cbcda77dd27c09e.tar.lz
pyhegp-92727365d1e3fc67b66278fd7cbcda77dd27c09e.zip
Add simple workflow.
* README.md (How to use): Indent down into "Joint/federated analysis
with many data owners" section.
[Simple data sharing]: New section.
* doc/generate-images.sh: Add simple workflow.
* doc/workflow.png: Rename to doc/joint-workflow.png.
* doc/workflow.uml: Rename to doc/joint-workflow.uml.
* doc/simple-workflow.png, doc/simple-workflow.uml: New files.
* tests/test_pyhegp.py: Import pytest.
(test_simple_workflow): New test.
* test-data/genotype.tsv: New file.
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/generate-images.sh3
-rw-r--r--doc/joint-workflow.png (renamed from doc/workflow.png)bin27569 -> 27569 bytes
-rw-r--r--doc/joint-workflow.uml (renamed from doc/workflow.uml)0
-rw-r--r--doc/simple-workflow.pngbin0 -> 7260 bytes
-rw-r--r--doc/simple-workflow.uml3
5 files changed, 5 insertions, 1 deletions
diff --git a/doc/generate-images.sh b/doc/generate-images.sh
index e1ee0ba..0950519 100755
--- a/doc/generate-images.sh
+++ b/doc/generate-images.sh
@@ -1,3 +1,4 @@
 #! /bin/sh
 
-cat workflow.uml | guix shell plantuml -- plantuml -p > workflow.png
+cat simple-workflow.uml | guix shell plantuml -- plantuml -p > simple-workflow.png
+cat joint-workflow.uml | guix shell plantuml -- plantuml -p > joint-workflow.png
diff --git a/doc/workflow.png b/doc/joint-workflow.png
index b2ff1b2..b2ff1b2 100644
--- a/doc/workflow.png
+++ b/doc/joint-workflow.png
Binary files differdiff --git a/doc/workflow.uml b/doc/joint-workflow.uml
index 2d1542c..2d1542c 100644
--- a/doc/workflow.uml
+++ b/doc/joint-workflow.uml
diff --git a/doc/simple-workflow.png b/doc/simple-workflow.png
new file mode 100644
index 0000000..5d9f01d
--- /dev/null
+++ b/doc/simple-workflow.png
Binary files differdiff --git a/doc/simple-workflow.uml b/doc/simple-workflow.uml
new file mode 100644
index 0000000..02dc005
--- /dev/null
+++ b/doc/simple-workflow.uml
@@ -0,0 +1,3 @@
+actor "Researcher" as researcher
+actor "Data Owner" as owner
+owner -> researcher: Encrypt and share ciphertext
\ No newline at end of file