@@ -179,7 +179,7 @@ export const model = BlockModel.create()
179179 )
180180
181181 . outputWithStatus ( 'table' , ( ctx ) => {
182- if ( ctx . outputs ?. resolve ( 'emptyResults ' ) ?. getDataAsJson < boolean > ( ) ) {
182+ if ( ctx . outputs ?. resolve ( 'emptyClonesInput ' ) ?. getDataAsJson < boolean > ( ) === true ) {
183183 return undefined ;
184184 }
185185 const cols = ctx . outputs ?. resolve ( 'table' ) ?. getPColumns ( ) ;
@@ -194,7 +194,7 @@ export const model = BlockModel.create()
194194 } )
195195
196196 . output ( 'pf' , ( ctx ) => {
197- if ( ctx . outputs ?. resolve ( 'emptyResults ' ) ?. getDataAsJson < boolean > ( ) ) {
197+ if ( ctx . outputs ?. resolve ( 'emptyClonesInput ' ) ?. getDataAsJson < boolean > ( ) === true ) {
198198 return undefined ;
199199 }
200200 const cols = ctx . outputs ?. resolve ( 'table' ) ?. getPColumns ( ) ;
@@ -205,7 +205,7 @@ export const model = BlockModel.create()
205205 } )
206206
207207 . output ( 'assaySequenceSpec' , ( ctx ) : PColumnSpec | undefined => {
208- if ( ctx . outputs ?. resolve ( 'emptyResults ' ) ?. getDataAsJson < boolean > ( ) ) {
208+ if ( ctx . outputs ?. resolve ( 'emptyClonesInput ' ) ?. getDataAsJson < boolean > ( ) === true ) {
209209 return undefined ;
210210 }
211211 const cols = ctx . outputs ?. resolve ( 'table' ) ?. getPColumns ( ) ;
@@ -217,7 +217,7 @@ export const model = BlockModel.create()
217217 } )
218218
219219 . output ( 'msaPf' , ( ctx ) => {
220- if ( ctx . outputs ?. resolve ( 'emptyResults ' ) ?. getDataAsJson < boolean > ( ) ) {
220+ if ( ctx . outputs ?. resolve ( 'emptyClonesInput ' ) ?. getDataAsJson < boolean > ( ) === true ) {
221221 return undefined ;
222222 }
223223 const cols = ctx . outputs ?. resolve ( 'table' ) ?. getPColumns ( ) ;
@@ -235,6 +235,10 @@ export const model = BlockModel.create()
235235 return createPFrameForGraphs ( ctx , [ ...msaCols , ...cols , ...columns . props ] ) ;
236236 } )
237237
238+ . output ( 'emptyClonesInput' , ( ctx ) =>
239+ ctx . outputs ?. resolve ( 'emptyClonesInput' ) ?. getDataAsJson < boolean > ( ) === true ,
240+ )
241+
238242 . output ( 'isRunning' , ( ctx ) => ctx . outputs ?. getIsReadyOrError ( ) === false )
239243
240244 . title ( ( ) => 'Immune Assay Data' )
0 commit comments