what's the reason for this behavior? Sometimes there is only a single apparent dip in a sector. I'd still use LATTE to vet it, say, ruling it out for contamination, etc.
If the behavior is to be preserved, then the logic should also check if the transit is of type int
if (pp == False) and (isinstance(row['transits'], (float, int))):
When using batch mode (
--targetlist
) and a given TIC in the input csv has only a single transit, LATTE still interactively shows plots.E.g.,
The csv file: