We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e90d92 commit 08b7615Copy full SHA for 08b7615
1 file changed
python/PiFinder/catalog_imports/harris_loader.py
@@ -385,6 +385,9 @@ def load_harris() -> None:
385
logging.info("Loading Harris Globular Cluster catalog")
386
catalog: str = "Har"
387
obj_type: str = "Gb" # Globular Cluster
388
+
389
+ if objects_db is None:
390
+ raise RuntimeError("Database not initialized. Call init_shared_database() first.")
391
conn, _ = objects_db.get_conn_cursor()
392
393
# Enable bulk mode to prevent commits during insert operations
0 commit comments