LiberTEM/LiberTEM

View on GitHub

Showing 902 of 903 total issues

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert len(partition_slice.shape.nav) == 1
Severity: Info
Found in src/libertem/io/dataset/raw_csr.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert len(tiling_scheme) == 1
Severity: Info
Found in src/libertem/io/dataset/raw_csr.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

                        assert check_shape(frame, frame_slice.shape) or True
Severity: Info
Found in src/libertem/udf/base.py by bandit

subprocess call - check for execution of untrusted input.
Open

        rev_raw = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=new_cwd)
Severity: Info
Found in src/libertem/versioning.py by bandit

subprocess call - check for execution of untrusted input.
Open

            subprocess.check_call(command, cwd=cwd_client)
Severity: Info
Found in setup.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert slice2 is None or slice2 == slice(None, None, None)

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

            assert b.is_valid
Severity: Info
Found in src/libertem/io/dataset/k2is.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert self._sequence_start is not None
Severity: Info
Found in src/libertem/io/dataset/mib.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert np.min(triple.indices) >= 0
Severity: Info
Found in src/libertem/io/dataset/raw_csr.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert len(fmt) == 1
Severity: Info
Found in src/libertem/web/analysis.py by bandit

Possible binding to all interfaces.
Open

        if parts.hostname in ('0.0.0.0', '::'):
Severity: Minor
Found in src/libertem/web/server.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

                assert o == 0, "invalid origin"
Severity: Info
Found in src/libertem/common/slice.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert isinstance(dask_array, dask.array.Array)

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert len(mem) // itemsize % self.num_frames == 0, \
            "len(mem) must fit the number of frames"

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

            assert b.is_valid
Severity: Info
Found in src/libertem/io/dataset/k2is.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

            assert b.is_valid
Severity: Info
Found in src/libertem/io/dataset/k2is.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

            assert len(tileshape) == self.sig_dims + 1
Severity: Info
Found in src/libertem/io/dataset/memory.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

                    assert frame_slice.shape[0] == 1
                    # assert .... or True to allow disabling this check
                    # in a production run for performance
Severity: Info
Found in src/libertem/udf/base.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert len(path) == 1
Severity: Info
Found in src/libertem/web/browse.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert ports, 'No sockets'
Severity: Info
Found in src/libertem/web/server.py by bandit
Severity
Category
Status
Source
Language