From 28ff99c6c16364b64cf22213fdb14808f45a1b91 Mon Sep 17 00:00:00 2001 From: Chris Finlay Date: Thu, 29 Jan 2026 14:12:50 +0100 Subject: [PATCH 1/2] Remove the skipping of adding TLE sources when no Space-Track credentials are loaded. --- tabsim/config.py | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/tabsim/config.py b/tabsim/config.py index 14832d1..dd92ad3 100644 --- a/tabsim/config.py +++ b/tabsim/config.py @@ -525,22 +525,9 @@ def add_tle_satellite_sources( len(sat_["sat_names"]) > 0, ] if np.any(tle_cond): - - # Load SpaceTrack credentials - if spacetrack_path and os.path.exists(spacetrack_path): - # Load from specified path if file exists - st_ = yaml_load(spacetrack_path) - username = st_["username"] - password = st_["password"] - else: - # Try loading from standard locations - from tabsim.tle import load_spacetrack_credentials - username, password = load_spacetrack_credentials() - - if username is None or password is None: - print("Warning: No SpaceTrack credentials found. Skipping TLE satellite sources.") - print("To set up credentials, run: tabsim-setup-spacetrack") - return + + from tabsim.tle import load_spacetrack_credentials + username, password = load_spacetrack_credentials() if sat_["norad_ids_path"] is None: norad_ids = sat_["norad_ids"] From 7b47179c2756714d9f76e31e5f21812178088f22 Mon Sep 17 00:00:00 2001 From: Chris Finlay Date: Thu, 29 Jan 2026 14:13:59 +0100 Subject: [PATCH 2/2] Bump to v0.0.11 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 673fbe3..f58d283 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "tabsim" -version = "0.0.10" +version = "0.0.11" license = {file = "LICENSE"} readme = "README.md" # dynamic = ["version", "readme"]