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 self._partition_slice is not None
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 self.window is None
Severity: Info
Found in src/libertem/viz/gms.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 x > 0, \
                    "invalid shape: {!r} while subslicing {!r} with {!r} (origin={!r})".format(
                        new_shape, self.shape, shape, 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 allocation.shm_name == self._shm.name

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

        assert skip_end >= 0

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

    assert header['filesize'] is not None
Severity: Info
Found in src/libertem/io/dataset/frms6.py by bandit

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

        assert self._meta is not None
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 conf is not None
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 raw_damage is not None
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

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

        assert buffer.has_data()

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

        assert len(mem) // itemsize // self.num_frames % (
            slicing.frame_size + (self._frame_header + self._frame_footer) // itemsize
        ) == 0, "len(mem) must fit the sig shape"

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

        assert self._io_backend is not None

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

                assert ndims in (2, 3)

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

        assert self._raw_dtype is not None and not isinstance(self._raw_dtype, int)

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 self._meta is not None
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 array_backend in (NUMPY, CUDA)
Severity: Info
Found in src/libertem/io/dataset/ser.py by bandit

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

        assert self._slice is not None
Severity: Info
Found in src/libertem/udf/base.py by bandit
Severity
Category
Status
Source
Language