From 6847b7c0a87661a874d250e0aa39cece2b4ed543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Tue, 28 Jan 2025 14:33:14 -0700 Subject: [PATCH] Log when process is called without files --- src/too/__main__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/too/__main__.py b/src/too/__main__.py index 54c7c39..d16bb74 100644 --- a/src/too/__main__.py +++ b/src/too/__main__.py @@ -166,6 +166,9 @@ def process( validate_magnitude_limits=True, ) + else: + log.warning("No new files to process.") + if cross_match: log.info("Cross-matching targets.") xmatch_too_targets(database)