File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/explore-section/EphysViewerContainer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export default class NWBTrace {
90
90
throw new Error ( 'Protocol group not found' ) ;
91
91
}
92
92
93
- const protocols = protocolGroup . keys ( ) ;
93
+ const protocols = protocolGroup . keys ( ) . sort ( ) ;
94
94
if ( protocols . length === 0 ) {
95
95
throw new Error ( 'No protocols found' ) ;
96
96
}
@@ -109,7 +109,7 @@ export default class NWBTrace {
109
109
throw new Error ( `Repetition group for protocol ${ protocol } not found` ) ;
110
110
}
111
111
112
- const repetitions = repetitionGroup . keys ( ) ;
112
+ const repetitions = repetitionGroup . keys ( ) . sort ( ) ;
113
113
if ( repetitions . length === 0 ) {
114
114
throw new Error ( `No repetitions for ${ protocol } found` ) ;
115
115
}
@@ -128,7 +128,7 @@ export default class NWBTrace {
128
128
throw new Error ( `Sweep group for ${ repetition } not found` ) ;
129
129
}
130
130
131
- const sweeps = sweepGroup . keys ( ) ;
131
+ const sweeps = sweepGroup . keys ( ) . sort ( ) ;
132
132
if ( sweeps . length === 0 ) {
133
133
throw new Error ( `No sweeps for ${ repetition } found` ) ;
134
134
}
You can’t perform that action at this time.
0 commit comments