File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
api/src/opentrons/protocol_reader
app/src/organisms/ProtocolDetails Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -292,4 +292,3 @@ def _analyze_python_protocol(
292
292
api_level = parsed .api_level ,
293
293
command_annotations = [],
294
294
)
295
-
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import type {
21
21
ProtocolAnalysisOutput ,
22
22
RunTimeCommand ,
23
23
} from '@opentrons/shared-data'
24
+ import { CommandAnnotation } from '@opentrons/shared-data/commandAnnotation/types'
24
25
25
26
interface AnnotatedStepsProps {
26
27
analysis : CompletedProtocolAnalysis | ProtocolAnalysisOutput
@@ -45,8 +46,8 @@ export function AnnotatedSteps(props: AnnotatedStepsProps): JSX.Element {
45
46
}
46
47
`
47
48
48
- // test with doitAllV8
49
- const annotations = analysis . commandAnnotations ?? [
49
+ // TODO(ja, 7/23/24): remove stub
50
+ const FIXTURE_FOR_DO_IT_ALL_V8 : CommandAnnotation [ ] = [
50
51
{
51
52
annotationType : 'secondOrderCommand' ,
52
53
machineReadableName : 'pipettes and module load commands' ,
@@ -59,6 +60,9 @@ export function AnnotatedSteps(props: AnnotatedStepsProps): JSX.Element {
59
60
} ,
60
61
]
61
62
63
+ // test with doitAllV8
64
+ const annotations = analysis . commandAnnotations ?? FIXTURE_FOR_DO_IT_ALL_V8
65
+
62
66
const groupedCommands = analysis . commands . reduce <
63
67
Array < LeafNode | ParentNode >
64
68
> ( ( acc , c , i ) => {
You can’t perform that action at this time.
0 commit comments