Closed carrascomj closed 3 years ago
Please explain:
pytest is failing because cobra.flux_analysis.single_cell_deletion is returning the gene ids as a column "ids" instead of as the index (as it is in its docstring). Maybe this is a problem on cobrapy or the expected behavior has changed and the docstring is outdated. In the latter case, I have a branch working here https://github.com/carrascomj/memote/tree/fix-test-essentiality
pytest
cobra.flux_analysis.single_cell_deletion
Create a minimal, complete, verifiable example. Under the memote repository root:
python -m pytest tests/test_for_experimental/test_for_config.py
Traceback: https://github.com/opencobra/memote/pull/703/checks
Yes, pandas changed API and we had to change this in cobrapy. See https://github.com/opencobra/cobrapy/pull/980
Thanks for the quick reply! I will make a PR, then
Problem description
Please explain:
pytest
is failing becausecobra.flux_analysis.single_cell_deletion
is returning the gene ids as a column "ids" instead of as the index (as it is in its docstring). Maybe this is a problem on cobrapy or the expected behavior has changed and the docstring is outdated. In the latter case, I have a branch working here https://github.com/carrascomj/memote/tree/fix-test-essentialityCode Sample
Create a minimal, complete, verifiable example. Under the memote repository root:
Traceback: https://github.com/opencobra/memote/pull/703/checks
Context