File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ def runDESSimulation(args, sconfigs):
377377 )
378378 observations .reset_index (drop = True , inplace = True )
379379 verboselog ("Number of rows AFTER applying SSP linking filter: " + str (len (observations .index )))
380- if len (observations .index ) > 0 :
380+ if len (observations .index ) > 0 and sconfigs . linkingfilter . ssp_number_tracklets >= 3 :
381381 verboselog ("Applying DES discovery filter..." )
382382 verboselog (
383383 "Number of rows BEFORE applying DES Discovery filter: " + str (len (observations .index ))
@@ -387,6 +387,10 @@ def runDESSimulation(args, sconfigs):
387387 verboselog (
388388 "Number of rows AFTER applying DES Discovery filter: " + str (len (observations .index ))
389389 )
390+ else :
391+ verboselog (
392+ "Minimum number of tracklets is < 3, DES Discovery filter is not applied"
393+ )
390394
391395 # write output if chunk not empty
392396 if len (observations .index ) > 0 :
You can’t perform that action at this time.
0 commit comments