Showing 902 of 903 total issues
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert array_backend == SCIPY_CSR or array_backend is None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert conf is not None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert len(path) == 1
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert all(len(centers) == len(other) for other in [refineds, peak_values, peak_elevations])
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert is_sparse(a)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert arr_shm.size == size, f"{arr_shm.size} != {size}"
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self._io_backend is not None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert header['filesize'] is not None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert np.max(triple.indices) < prod(sig_shape)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert rest == 0, f"found a rest of {rest}, corrupted file?"
- Exclude checks
subprocess call - check for execution of untrusted input. Open
Open
subprocess.run(
cmd, check=True,
cwd=os.path.join(BASE_DIR, '..'),
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
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"
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert len(rest) == 0
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert all(b.header['frame_id'] == frame_id
for b in blocks)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert np.max(triple.indptr) == len(triple.indices)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self._slice is not None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert job_id not in self.jobs
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert arr.size > 0
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert b.is_valid
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self._meta is not None
- Exclude checks