Closed sgibson91 closed 4 years ago
For the record, I am using:
anaconda Command line client (version 1.7.2)
Python 3.7.0
I've noticed in other issues that this repo is pinning to python 3.6 for Binder. Will set up an env for 3.6 and see if I get the same output.
So, mixed results to setting up an environment.
Here's what I did:
conda create --name scona python=3.6
pip install git+https://github.com/WhitakerLab/scona.git
pip install -r requirements # had to run this otherwise pytest wasn't installed
The amount of warnings were greatly reduced!
But now 7 tests are failing instead of 1:
test_non_numeric_cols
Fixture "subject_residuals" called directly. Fixtures are not meant to be called directly, but are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information about fixtures, and https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly about how to update your code.
test_create_residuals_df_covars_plural
Fixture "subject_array" called directly. Fixtures are not meant to be called directly, but are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information about fixtures, and https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly about how to update your code.
test_create_residuals_df_covars_singular
Fixture "subject_array" called directly. Fixtures are not meant to be called directly, but are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information about fixtures, and https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly about how to update your code. *
test_create_residuals_df_covars_none
Fixture "subject_array" called directly. Fixtures are not meant to be called directly, but are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information about fixtures, and https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly about how to update your code.
test_create_corrmat_pearson
Fixture "subject_residuals" called directly. Fixtures are not meant to be called directly, but are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information about fixtures, and https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly about how to update your code.
test_create_corrmat_spearman
Fixture "subject_residuals" called directly. Fixtures are not meant to be called directly, but are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information about fixtures, and https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly about how to update your code.
FixturesTest.test_lm_against_fixture
self = <tests.regression_test.FixturesTest testMethod=test_lm_against_fixture>
def test_lm_against_fixture(self):
# test new local measures against fixture
print('\ntesting new nodal measures against fixture')
self.assertEqual(self.hash_dict_new[self.lm],
> self.hash_dict_original[self.lm])
E AssertionError: '3ce452749b52e3a60b7779ffe3c43e1de8219cb42715aeabd28b94363b59e9bb' != 'dc585cb573b87b1099c034f7c6991c410fca3f6878541e3caa2c7ac0816957dc'
E - 3ce452749b52e3a60b7779ffe3c43e1de8219cb42715aeabd28b94363b59e9bb
E + dc585cb573b87b1099c034f7c6991c410fca3f6878541e3caa2c7ac0816957dc
tests/regression_test.py:37: AssertionError
Hi @sgibson91!
Are the following tests passed when you run them locally?
When I tried running tests, 3/4 tests from regresstion_test.py module failed. Only FixturesTest::test_corrmat_matches_fixture
passed.
Hi @wingedRuslan !
@sgibson91 I think the extra 6 failing tests are mostly due to me abusing pytest (because when I wrote the earliest tests in scona I had no idea what I was doing). Ideally I will be able to fix this so that it makes sense in 3.6 or 3.7
re the warnings, I am seeing the same three things popping up over and over again:
array.size > 0
to check that an array is not empty.I will self assign and iron these out, thanks for the detective work :female_detective:
I've made some changes in the pytestwarnings
branch. For me all warnings have disappeared (although the failing tests still fail)
closing
While replicating #109, I noticed a lot of warnings logged from the command
python3 -m pytest -v
. They are a mixture ofDeprecationWarning
s andRemovedInPytest4Warning
s.I've pasted the output below the fold so we can track which packages need updating.
Output
``` /Users/sgibson/anaconda3/lib/python3.7/site-packages/matplotlib/rcsetup.py:20: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping /Users/sgibson/anaconda3/lib/python3.7/site-packages/matplotlib/colors.py:53: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Sized /Users/sgibson/anaconda3/lib/python3.7/site-packages/_pytest/python.py:197: RemovedInPytest4Warning: Fixture "subject_residuals" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. testfunction(**testargs) /Users/sgibson/scona/tests/make_corr_matrices_test.py:38: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. subject_array()[:, i]) for i in [0, 1]] /Users/sgibson/scona/tests/make_corr_matrices_test.py:38: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. subject_array()[:, i]) for i in [0, 1]] /Users/sgibson/scona/tests/make_corr_matrices_test.py:38: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. subject_array()[:, i]) for i in [0, 1]] /Users/sgibson/scona/tests/make_corr_matrices_test.py:38: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. subject_array()[:, i]) for i in [0, 1]] /Users/sgibson/anaconda3/lib/python3.7/site-packages/_pytest/python.py:197: RemovedInPytest4Warning: Fixture "subject_data" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. testfunction(**testargs) /Users/sgibson/anaconda3/lib/python3.7/site-packages/_pytest/fixtures.py:977: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. return function(*args, **kwargs) /Users/sgibson/scona/scona/make_corr_matrices.py:63: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty. if non_numeric_cols: /Users/sgibson/scona/tests/make_corr_matrices_test.py:47: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. subject_array()[:, i]) for i in [0, 1]] /Users/sgibson/scona/tests/make_corr_matrices_test.py:47: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. subject_array()[:, i]) for i in [0, 1]] /Users/sgibson/scona/tests/make_corr_matrices_test.py:47: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. subject_array()[:, i]) for i in [0, 1]] /Users/sgibson/scona/tests/make_corr_matrices_test.py:47: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. subject_array()[:, i]) for i in [0, 1]] /Users/sgibson/anaconda3/lib/python3.7/site-packages/_pytest/python.py:197: RemovedInPytest4Warning: Fixture "subject_data" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. testfunction(**testargs) /Users/sgibson/anaconda3/lib/python3.7/site-packages/_pytest/fixtures.py:977: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. return function(*args, **kwargs) /Users/sgibson/scona/scona/make_corr_matrices.py:63: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty. if non_numeric_cols: /Users/sgibson/scona/tests/make_corr_matrices_test.py:56: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. for i in [0, 1]] /Users/sgibson/scona/tests/make_corr_matrices_test.py:56: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. for i in [0, 1]] /Users/sgibson/scona/tests/make_corr_matrices_test.py:56: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. for i in [0, 1]] /Users/sgibson/scona/tests/make_corr_matrices_test.py:56: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. for i in [0, 1]] /Users/sgibson/anaconda3/lib/python3.7/site-packages/_pytest/python.py:197: RemovedInPytest4Warning: Fixture "subject_data" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. testfunction(**testargs) /Users/sgibson/anaconda3/lib/python3.7/site-packages/_pytest/fixtures.py:977: RemovedInPytest4Warning: Fixture "subject_array" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. return function(*args, **kwargs) /Users/sgibson/scona/scona/make_corr_matrices.py:63: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty. if non_numeric_cols: /Users/sgibson/anaconda3/lib/python3.7/site-packages/_pytest/python.py:197: RemovedInPytest4Warning: Fixture "subject_residuals" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. testfunction(**testargs) /Users/sgibson/scona/scona/make_corr_matrices.py:121: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty. if non_numeric_cols: /Users/sgibson/anaconda3/lib/python3.7/site-packages/_pytest/python.py:197: RemovedInPytest4Warning: Fixture "subject_residuals" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information. testfunction(**testargs) /Users/sgibson/scona/scona/make_corr_matrices.py:121: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty. if non_numeric_cols: /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/anaconda3/lib/python3.7/site-packages/networkx/classes/graph.py:766: DeprecationWarning: add_path is deprecated. Use nx.add_path instead. warnings.warn(msg, DeprecationWarning) /Users/sgibson/scona/scona/make_corr_matrices.py:63: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty. if non_numeric_cols: /Users/sgibson/scona/scona/make_corr_matrices.py:121: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty. if non_numeric_cols: -- Docs: https://docs.pytest.org/en/latest/warnings.html ```