[78ef36]: / docs / _sources / troubleshooting.rst.txt

Download this file

54 lines (34 with data), 2.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Troubleshooting
===============
If you're running into problems, look for more information by including debug logging. To enable debug logging, set the environmental variable ``SF_LOGGING_LEVEL=10``.
To check for errors in your environment or installation, you can also use the test script ``test.py``, which uses the testing suite ``slideflow.test.TestSuite`` to execute all pipeline functions on a set of provided slides.
Testing
*******
To troubleshoot environment or installation issues, start by running unit tests,
which do not require any sample slides. Use the ``test.py`` script without any
arguments:
.. code-block:: bash
$ python3 test.py
For a more comprehensive test of all pipeline functions, provide a path to a directory containing sample slides via ``--slides``, setting ``--all=True`` to run all tests:
.. code-block:: bash
$ python3 test.py --slides=/path/to/slides --all=True
Individual tests can be manually skipped with the following syntax:
.. code-block:: bash
$ python3 test.py --slides=/path/to/slides --all=True --reader=False
To view a list of all tests that will be run (and thus can be skipped), pass the argument ``--help``.
Issue Reporting
***************
If the issue is still unclear, please submit an Issue on the `project Github page <https://github.com/slideflow/slideflow/issues>`_. Be sure to include the following information:
* The version of Slideflow you are using, which can be displayed with ``sf.about()``:
.. code-block:: bash
$ python3 -c "import slideflow; slideflow.about()"
╭=======================╮
│ Slideflow │
│ Version: 2.1.0 │
│ Backend: tensorflow │
│ Slide Backend: cucim │
│ https://slideflow.dev │
╰=======================╯
* The active deep learning backend (``sf.backend()``) and slide backend (``sf.slide_backend()``)
* The version of Python you are using (``python3 --version``)
* The operating system you are using (``uname -a``)