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"] 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"]