This commit is contained in:
2025-11-14 14:47:19 +00:00
parent 2a85845835
commit 3758c7572a
137 changed files with 365654 additions and 11147 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env python3
"""Test script for GAIS data import"""
import sys
import os
# Add the current directory to the Python path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from run.initialization.gais_data import import_gais_data
def test_gais_import():
"""Test the GAIS data import functionality"""
print("Starting full GAIS data import (all rows)...")
try:
result = import_gais_data()
if result["success"]:
print("✅ GAIS data import completed successfully!")
print(f"Import result: {result}")
return True
else:
print(f"❌ GAIS data import failed: {result['message']}")
return False
except Exception as e:
print(f"❌ GAIS data import failed: {str(e)}")
return False
if __name__ == "__main__":
test_gais_import()