Grid2op / chronix2grid

https://chronix2grid.readthedocs.io/en/latest/?
Mozilla Public License 2.0
19 stars 5 forks source link

fix a bug preventing imports #52

Closed BDonnot closed 2 years ago

BDonnot commented 2 years ago

Fix a bug (missing __init__.py file) that caused broken imports

BDonnot commented 2 years ago

THis PR has some broken tests:

FAILED tests/unit_tests/test_main.py::TestMain::test_lrdtk - ValueError: x must be 1D
FAILED tests/unit_tests/test_main.py::TestMain::test_lrtk - ValueError: x must be 1D

and

FAILED tests/integration_tests/test_integration.py::TestIntegration::test_integration_all - AssertionError: False is not true
FAILED tests/integration_tests/test_integration.py::TestIntegration::test_integration_lrt_nolosscorrection - AssertionError: False is not true
FAILED tests/integration_tests/test_integration.py::TestIntegration::test_integration_lrt_withlosscorrection - AssertionError: False is not true