Skip to content
Commit cebe683b authored by Jae-Joon Lee's avatar Jae-Joon Lee
Browse files

Add comprehensive testing infrastructure and remove SPHEREx_Simulator_Tools dependency

- Add proper package imports in __init__.py for easy access to Tabular_Bandpass
- Remove hard dependency on SPHEREx_Simulator_Tools, making package self-contained
- Implement fallback data_filename function for local data file access
- Add graceful error handling for missing DBS data files
- Create comprehensive pytest test suite:
  - test_import.py: Basic import functionality tests
  - test_basic_functionality.py: Class structure and optional dependency tests
- Add pytest configuration in pyproject.toml and pytest.ini
- Add development dependencies (pytest, pytest-cov, black, flake8)
- Create example script (ex.py) demonstrating basic usage
- All import tests now pass successfully
parent 9b00e4bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment