|
2 | 2 |
|
3 | 3 | This document provides complete examples of PLProcessReader-compliant processes, from simple to complex. |
4 | 4 |
|
5 | | -## Table of Contents |
6 | | - |
7 | | -1. [Basic Physics Process](#basic-physics-process) |
8 | | -2. [Simple Bioprocess](#simple-bioprocess) |
9 | | -3. [Runtime Decision Process](#runtime-decision-process) |
10 | | -4. [Growth and Centrifugation Process](#growth-and-centrifugation-process) |
11 | | -5. [Complex Multi-Decision Process](#complex-multi-decision-process) |
12 | | - |
13 | 5 | ## Basic Physics Process |
14 | 6 |
|
15 | | -**Source:** `tests/test_data/physics_mini_example.py` |
16 | | - |
17 | 7 | This minimal example demonstrates: |
18 | 8 | - Creating a custom ServiceResource |
19 | 9 | - Defining runtime variables |
@@ -240,8 +230,6 @@ class SimpleBioProcess(PLProcess): |
240 | 230 |
|
241 | 231 | ## Runtime Decision Process |
242 | 232 |
|
243 | | -**Source:** `tests/test_data/runtime_decision_process.py` |
244 | | - |
245 | 233 | Demonstrates runtime conditional branching based on measurements. |
246 | 234 |
|
247 | 235 | ### Code |
@@ -792,33 +780,3 @@ try: |
792 | 780 | except nx.NetworkXException as e: |
793 | 781 | print(f"Error calculating critical path: {e}") |
794 | 782 | ``` |
795 | | - |
796 | | -## Summary |
797 | | - |
798 | | -These examples demonstrate: |
799 | | - |
800 | | -1. **Basic Concepts** |
801 | | - - Custom ServiceResources |
802 | | - - Runtime variables and computations |
803 | | - - Simple linear workflows |
804 | | - |
805 | | -2. **Intermediate Concepts** |
806 | | - - Movement between devices |
807 | | - - Lid management |
808 | | - - Loops and iteration |
809 | | - - Starting positions |
810 | | - |
811 | | -3. **Advanced Concepts** |
812 | | - - Runtime conditional branching |
813 | | - - Multiple decision points |
814 | | - - Nested decisions |
815 | | - - Multiple labware operations |
816 | | - - Complex convergence patterns |
817 | | - |
818 | | -4. **Analysis Tools** |
819 | | - - Graph statistics |
820 | | - - Critical path calculation |
821 | | - - Export to various formats |
822 | | - - Visualization |
823 | | - |
824 | | -Use these examples as templates for your own processes, adapting the patterns to your specific laboratory workflows. |
0 commit comments