LiberTEM/LiberTEM

View on GitHub

Showing 916 of 916 total issues

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            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
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        assert self.meta is not None and base_shape[-1] == self.meta.shape[-1]
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
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        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
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        assert payload_shm.nbytes == size, f"{payload_shm.nbytes} != {size}"

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        assert array_backend in (NUMPY, CUDA)

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        assert len(shape) == len(containing_shape)

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        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
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

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

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        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
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        assert self._tmp_file is None
Severity: Info
Found in src/libertem/io/writers/base.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        assert raw_damage 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
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

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

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

        assert uuid not in self.analyses
Severity: Info
Found in src/libertem/web/state.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            assert frame.getformat() == 'coo'
Severity: Info
Found in src/libertem/udf/masks.py by bandit

Consider possible security implications associated with subprocess module.
Open
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

import subprocess


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
  • Open
  • Confirmed
  • Invalid
  • Wontfix
Cancel

            assert self.axes is None
Severity: Info
Found in src/libertem/viz/mpl.py by bandit
Severity
Category