Skip to content

Commit 1964055

Browse files
committed
Fix to_table example output
The example output table was not accurate
1 parent f694d6a commit 1964055

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

src/openlifu/plan/protocol.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,16 @@ def to_table(self) -> pd.DataFrame:
166166
Return a table of the most important protocol parameters
167167
168168
Example output:
169-
Protocol Parameter Value Units
170-
0 ID example_protocol
171-
1 Name Example Protocol
172-
2 Description An example protocol for testing.
173-
3 Pulse Frequency 1e6.0 Hz
174-
4 Pulse Amplitude 1.0 AU
175-
5 Pulse Duration 0.001 s
176-
6 Sequence Pulse Interval 0.005 s
169+
```
170+
Category Name Value Unit
171+
0 ID example_protocol
172+
1 Name Example protocol
173+
2 Description Example protocol created 30-Jan-2024 09:16:02
174+
3 Pulse Frequency 500000.0 Hz
175+
4 Pulse Amplitude 1.0 AU
176+
5 Pulse Duration 0.00002 s
177+
6 Sequence Pulse Interval 0.1 s
178+
```
177179
"""
178180
records = [
179181
{"Category":"", "Name": "ID", "Value": self.id, "Unit": ""},

0 commit comments

Comments
 (0)