Closed colganwi closed 1 year ago
Patch and project coverage have no change.
Comparison is base (
020101f
) 79.05% compared to head (c1a224f
) 79.05%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
With pandas=2.0.2 the character matrix passed by
ILPSolver
toilp_solver_utilities.infer_potential_graph_cython
is not correctly formatted for cython. This patch fixes this bug.===================================================== ERROR: test_simple_potential_graph_inference (main.TestILPSolver)
Traceback (most recent call last): File "test/solver_tests/ilp_solver_test.py", line 119, in test_simple_potential_graph_inference potential_graph = self.ilp_solver.infer_potential_graph( File "/home/wcolgan/miniconda3/envs/tree-env/lib/python3.8/site-packages/cassiopeia/solver/ILPSolver.py", line 307, in infer_potential_graph ilp_solver_utilities.infer_potential_graph_cython( File "cassiopeia/solver/ilp_solver_utilities.pyx", line 21, in cassiopeia.solver.ilp_solver_utilities.infer_potential_graph_cython character_array: str[:, :], ValueError: Does not understand character buffer dtype format string ('w')