Input and output¶
Image volumes and their GPU read path (GPUDirect Storage), the zarr-vectors point-cloud and results stores, and CCPi / iDVC file formats. See Image volumes, Search-point store, Results store and CCPi and iDVC file compatibility.
zvdvc.io.volume¶
Dense image volumes (reference and deformed), read one brick at a time.
A brick is the box a tile needs: the tile’s points plus the halo
(zvdvc.config.RunConfig.halo()). The deformed brick is shifted by the
tile’s median seed displacement, so a large rigid offset does not inflate the halo.
Bricks land on the device in their native dtype (u8/u16/f32). Kernels
convert in registers, which keeps a u16 brick at half the size of a float32 one
and halves the host-to-device copy.
Sources¶
ZarrVolumeOME-Zarr v3 array. Recommended layout: 128^3 chunks inside shards aligned to
cluster.tile_shape, so a brick read touches a handful of shards. Device path, in order of preference:kvikio / GPUDirect Storage for local NVMe (
[gpu-io]extra);zarr-python’s GPU buffer mode (
zarr.config.enable_gpu()) where the codec pipeline supports it;host decode into pinned memory, then one host-to-device copy per brick on the worker’s prefetch stream.
Implemented today: path 3. The brick is decoded on the host (zarr-python reads the shards’ chunks concurrently) into a pinned buffer and copied up in one transfer on the caller’s stream. Paths 1 and 2 are optimisations to measure against it (docs/MVP_PLAN.md, risk “GPU zstd decode”).
RawVolumeCCPi/iDVC flat inputs (
.rawwith header/endianness,.mhd,.npy) throughnumpy.memmap. Used for development and the parity case. Large inputs should be converted once withconvert_to_ome_zarr().
Boxes that extend past the volume are edge-padded. Brick records the
valid part, so the solver flags points whose samples leave it as
RANGE_FAIL instead of correlating them against padding.
Every source reads bricks in the host’s byte order, so a big-endian file reaches
the engines as native data, and .dtype is that native type. Float bricks
are checked for NaN/inf as they are read (a brick with any is an error): at open
time the check would read the whole volume, which for 100 GB+ inputs costs as
much as the run’s own reads, while per brick it is one pass over data already in
memory. A NaN would otherwise spread through the interpolation to every point
whose subvolume touches it.
- class zvdvc.io.volume.Brick(data: 'Any', box: 'Box', valid: 'Box', io: 'str' = 'host')[source]¶
Bases:
object
- zvdvc.io.volume.padded_empty(shape, dtype, xp=<module 'numpy' from '/home/docs/checkouts/zvdvc/envs/latest/lib/python3.11/site-packages/numpy/__init__.py'>, pad_bytes=16)[source]¶
An uninitialised C-contiguous array at the start of a fresh allocation, with
pad_bytesafter it.Fresh allocations are at least 16-byte aligned (cupy: 256), as the u8 kernel’s word loads need.
- zvdvc.io.volume.is_padded(a, pad_bytes=16)[source]¶
True for a C-contiguous cupy array, 16-byte aligned, with
pad_bytesof its allocation after it.
- zvdvc.io.volume.to_device(data, *, stream=None)[source]¶
Host array -> device (padded, see
PAD_BYTES), staged through pinned memory as one DMA onstream.
- class zvdvc.io.volume.ZarrVolume(uri, array_path='0', *, check_chunks=True, gpu_io='auto')[source]¶
Bases:
objectAn OME-Zarr level (or bare Zarr array). Opening checks that every chunk is stored (
check_chunks).
- class zvdvc.io.volume.RawVolume(path, *, shape_xyz=None, dtype=None, header_bytes=0, gpu_io='auto')[source]¶
Bases:
object- Parameters:
- zvdvc.io.volume.open_volume(spec, which)[source]¶
Pick
ZarrVolumeorRawVolumefrom the URI; wrapped inFilteredVolumeifprefilter_sigma.- Parameters:
spec (VolumeSpec)
which (Literal['reference', 'deformed'])
- Return type:
- class zvdvc.io.volume.FilteredVolume(inner, sigma)[source]¶
Bases:
objectA volume seen through a Gaussian low-pass of
sigmavoxels.Each brick is read with a margin of the kernel’s radius, filtered and cropped, so a brick equals the same box of the filtered whole volume: tiles meet without seams, and the in-memory and tiled runs see the same data. Outside the volume, voxels are edge-padded before filtering, as
read_brickpads. Filtering runs on the GPU when cupy has a device (in z-slabs, so a host brick of any size fits), else on the host. The result keeps the volume’s dtype (rounded to the nearest level), so bricks cost the same memory and u8 volumes keep the kernels’ packed loads.- Parameters:
inner (Any)
sigma (float)
- SLAB = 64¶
- zvdvc.io.volume.gaussian_filtered(data, sigma, dtype, slab=64)[source]¶
datafiltered with a Gaussian ofsigmavoxels (radius 4 sigma), asdtype, on data’s device.Host data is filtered slab by slab on the GPU when one is available.
- zvdvc.io.volume.iter_blocks(shape_zyx, block)[source]¶
Boxes of at most
blocktilingshape_zyxin C order.
- zvdvc.io.volume.create_ome_zarr(path, shape_zyx, dtype, *, chunk=128, shard=1024, codec='zstd', level=3, name=None, overwrite=False)[source]¶
Create an OME-Zarr v0.5 (Zarr v3) image with one sharded level
"0"; returns that array.Shards are rounded up to a multiple of the chunk and never exceed what the volume needs, so small test volumes get one shard. Every chunk is stored, even an empty one, so a missing chunk means an incomplete array (
ZarrVolumewarns about those). An existingpathis an error unlessoverwrite, and even then only an existing Zarr store is replaced.
- zvdvc.io.volume.write_raw(source, path, *, slab=64)[source]¶
Stream a volume to a headerless little-endian
.rawfile (x fastest), as CCPi reads it.- Parameters:
source (VolumeSource)
slab (int)
- Return type:
None
- zvdvc.io.volume.convert_to_ome_zarr(src, dst, *, chunk=128, shard=1024, codec='zstd', level=3, shape_xyz=None, dtype=None, header_bytes=0, overwrite=False)[source]¶
One-off conversion of raw/mhd/npy/tiff input to sharded OME-Zarr v3.
Streams slabs of
shardslices so memory stays bounded for 100 GB+ inputs (each slab is written as whole shards)..rawneedsshape_xyzanddtype;.tif/.tiffstacks needtifffile(zvdvc[tiff]). The output is written next todstand renamed into place at the end, so an interrupted conversion leaves no partialdst. An existingdstis an error unlessoverwrite;dstmay not besrcor contain it, or lie inside it.
zvdvc.io.gds¶
Volume bricks read from local files straight into GPU memory (GPUDirect Storage).
Read paths, chosen by volumes.gpu_io ($ZVDVC_GPU_IO overrides auto):
hostDecode on the host into pinned memory, then one copy to the device (
zvdvc.io.volume.to_device()). What every earlier measurement used.kvikiokvikio reads the stored bytes into device memory, and zstd chunks are decompressed on the GPU by nvCOMP. kvikio goes through cuFile, which uses GPUDirect Storage (NVMe to GPU, no host copy) where the system supports it and a POSIX bounce buffer otherwise, so this path works, and gives the same bytes, on any machine with kvikio installed.
autokvikiowhen GPUDirect Storage is actually available,hostotherwise.
“Available” is cuFile’s own verdict, kvikio.cufile_driver.properties.is_gds_available:
it needs the nvidia-fs driver and a supported filesystem. kvikio’s
defaults.is_compat_mode_preferred() is False whenever libcufile loads, even
when cuFile itself then falls back to POSIX reads because nvidia-fs is missing,
so it cannot tell. status() reports both.
Layouts read on the device; anything else falls back to the host path (the
source records why, DeviceReader.why_not):
flat files (
.raw,.mhd, C-ordered.npy), any byte order and header;Zarr v3 arrays on a local store, sharded with the index at the end (
bytes+ optionalcrc32cindex codecs), inner codecsbytesand optionallyzstd, the default chunk key encoding: whatzvdvc convertandzvdvc synthwrite.
nvCOMP trusts its input: a malformed zstd chunk can hang its kernel or fail the
CUDA context where the host decoder raises. So each shard index’s crc32c is
checked, reads must return every byte asked for, and frames go through
zarr-vectors’ checked decode_zstd when it is available (otherwise each frame
header must declare the chunk’s size). Damage inside a zstd block passes all of
these; use the device path on stores you trust.
- zvdvc.io.gds.status()[source]¶
What this machine offers: kvikio and nvCOMP versions, and whether cuFile has GPUDirect Storage.
- zvdvc.io.gds.resolve(mode='auto')[source]¶
The read path to use:
"kvikio"or"host".autodefers to$ZVDVC_GPU_IOfirst.
- class zvdvc.io.gds.DeviceReader[source]¶
Bases:
objectReads the part of a volume inside a box into a device array (native byte order).
- class zvdvc.io.gds.RawDeviceReader(path, *, header_bytes, dtype, shape_zyx)[source]¶
Bases:
DeviceReaderA flat (z, y, x) C-ordered file: whole rows of each plane are read, then cropped on the device.
A brick spanning whole planes is one contiguous read; otherwise each plane’s rows are one read. Reading whole rows costs
X / (x1 - x0)in bytes, which is small for bricks and keeps the number of requests at one per plane.
- class zvdvc.io.gds.ShardedZarrReader(array)[source]¶
Bases:
DeviceReaderA sharded Zarr v3 array on a local store: the needed inner chunks’ stored bytes are read with kvikio and decompressed by nvCOMP in batches, then copied into place on the device.
- Parameters:
array (Any)
- MISSING = np.uint64(18446744073709551615)¶
zvdvc.io.pointcloud¶
Search points: import, zarr-vectors store, and per-tile reads.
Search points are stored as a zarr-vectors point cloud. Its chunk grid is zvDVC’s work partition. Tiles are unions of whole chunks, so the cells a worker reads are exactly the cells it later writes in the results store.
Store layout (level 0):
vertices/ (x, y, z) float32, voxel units
vertex_fragments/ one fragment per bin (zarr-vectors guidance, keeps pyramids useful)
vertex_attributes/point_id int64: CCPi label (``n`` column of .roi/.disp)
chunk_shapeis chosen socluster.tile_shapeis an integer multiple of it.Tile reads use
zarr_vectors.building.read_cells(level, cells, ["vertices", "vertex_attributes/point_id"]), one pooled read on the host whoseoffsetsare CSR over cells. Each cell’s bins are worked out on the host from those rows, and a tile’s points are a few MB against gigabytes of bricks, so they stay on the host read path;device="cuda"copies them up afterwards. zarr-vectors’ own device read (kvikio, nvCOMP) is not used here.Large clouds are written with zarr-vectors’ three-phase HPC pattern:
create_store+defer_presence, then workers write disjoint cells withwrite_chunk_vertices(..., record_presence=False), thenrebuild_presence.Only
zarr_vectors.api/zarr_vectors.buildingare used. Bin assignment (zarr_vectors.spatial.chunking.assign_bins) is internal upstream, so zvDVC assigns bins itself (bin_index()).
Cells and bins follow zarr-vectors: cell floor(x / chunk_shape) (store
bounds start at 0), and within a cell, fragment (bx * nby + by) * nbz + bz
for the bin b = floor((x - cell_origin) / bin_shape). A cell’s rows are its
fragments in order, each in input order. Bins are recomputed from the stored
float32 positions whenever they are needed, which reproduces them exactly, so
the results store can reuse the input’s fragments without reading fragment
metadata.
- class zvdvc.io.pointcloud.TilePoints(xyz: 'Any', point_id: 'Any', cells: 'list[CellCoord]', cell_offsets: 'Any', bin_offsets: 'Any', io: 'tuple[str, ...]' = ())[source]¶
Bases:
object- Parameters:
- zvdvc.io.pointcloud.bin_index(xyz, cell, chunk_shape, bin_shape)[source]¶
Fragment index of each point of
cell(C order over (x, y, z) bins, as zarr-vectors numbers them).
- zvdvc.io.pointcloud.cell_fragments(xyz, cell, chunk_shape, bin_shape)[source]¶
Row permutation putting a cell’s points in fragment order, and the (n_bins + 1,) fragment offsets.
- zvdvc.io.pointcloud.read_roi(path)[source]¶
Read a CCPi
.roior iDVC.txt/.csvpoint cloud.Returns
(point_id (N,) int64, xyz (N, 3) float64). The first point is CCPi’s default start point. Lines aren x y zseparated by tabs, spaces or commas; blank lines,#comments and non-numeric header lines are skipped.
- zvdvc.io.pointcloud.check_points(point_id, xyz, *, where)[source]¶
Refuse an empty cloud, repeated point ids (results are matched by id) and non-finite coordinates.
- zvdvc.io.pointcloud.default_bin_shape(chunk_shape)[source]¶
Two bins per axis (8 fragments per cell), zarr-vectors’ guidance for useful pyramids.
- zvdvc.io.pointcloud.write_pointcloud_store(path, xyz, point_id, *, bounds, chunk_shape, bin_shape=None)[source]¶
Write a zarr-vectors point cloud, one fragment per bin.
Uses the three-phase pattern (allocate +
defer_presence, write disjoint cells,rebuild_presence) in one process, so the same functions scale to a cluster by running phase 2 per partition.
- zvdvc.io.pointcloud.allocate_store(path, *, bounds, chunk_shape, bin_shape, attributes)[source]¶
Phase 1: create the store, level 0, the vertex and attribute arrays; defer presence. Returns the level.
- zvdvc.io.pointcloud.write_cell(level, cell, xyz, attributes, offsets)[source]¶
Phase 2: one cell’s vertices and attributes, split into fragments at
offsets; presence not recorded.
- zvdvc.io.pointcloud.finalize_store(path, *, n_points, pyramid=False)[source]¶
Phase 3: rebuild presence, record what is present, write level and multiscale metadata.
- class zvdvc.io.pointcloud.PointCloud(path)[source]¶
Bases:
objectRead side of a search-point store.
- Parameters:
path (str | Path)
- zvdvc.io.pointcloud.import_points(roi_path, store_path, *, volume_shape_zyx, chunk_shape)[source]¶
Convert a CCPi
.roiinto a point-cloud store bounded by the volume.
- zvdvc.io.pointcloud.chunk_shape_for(tile_shape_zyx, per_tile=4)[source]¶
Default cell size:
per_tilecells per tile edge (e.g. 256 for 1024^3 tiles).Divided exactly, so the tile is a whole number of cells even when its edge is not a multiple of
per_tile(cells are in voxel units and may be fractional).
zvdvc.io.results¶
DVC results as a zarr-vectors point cloud on the input’s chunk grid.
The results store mirrors the search-point store cell for cell and fragment
for fragment. Row r of cell c in the input is row r of cell c
here, so no index table is needed and a tile’s writes touch only that tile’s cells.
Vertex attributes (level 0):
name |
dtype |
cols |
meaning |
|---|---|---|---|
point_id |
int64 |
1 |
CCPi label |
status |
int8 |
1 |
|
objmin |
float32 |
1 |
objective at the solution (CCPi |
displacement |
float32 |
3 |
u, v, w (voxels) |
params |
float32 |
dof |
full parameter vector (CCPi order) |
n_iter |
uint8 |
1 |
Gauss-Newton iterations used |
seed |
float32 |
3 |
starting displacement (for audit / repair) |
strain |
float32 |
6 |
exx, eyy, ezz, exy, eyz, exz (M5, post) |
Writes follow zarr-vectors’ three-phase HPC pattern:
ResultStore.allocate()(coordinator, once):create_store,create_resolution_level,create_vertices_array, onecreate_attribute_arrayper row above, thendefer_presence. Workers never create arrays, because re-creating one inside a write session drops cells siblings have already written.ResultStore.write_tile()(workers, in parallel):write_chunk_vertices/write_chunk_attributeswithrecord_presence=Falseon the tile’s own cells only. Written cells are visible to readers straight away on a deferred level, which is whatzvdvc repairand resume rely on.ResultStore.finalize()(coordinator, once):rebuild_presence,refresh_arrays_present,update_level_metadata,write_multiscale_metadata, and optionallybuild_pyramidfor Neuroglancer overviews.
- class zvdvc.io.results.ResultStore(path, mode='r')[source]¶
Bases:
object- classmethod allocate(path, *, points, dof, template_digest=None, prefilter_sigma=0.0, fingerprint=None)[source]¶
Phase 1 (coordinator): create every array, declare presence deferred.
template_digest(zvdvc.geometry.templates.Template.digest()) is recorded so that a resumed or repaired run refuses to mix subvolume templates (check_template()).fingerprint(JSON data identifying the volumes, points and result-affecting settings) is recorded likewise forcheck_fingerprint().- Parameters:
- Return type:
- check_template(digest)[source]¶
Refuse to add results computed with another subvolume template than the ones already here.
- Parameters:
digest (str)
- Return type:
None
- check_prefilter(sigma)[source]¶
Refuse to add results computed from differently filtered volumes (
volumes.prefilter_sigma).- Parameters:
sigma (float)
- Return type:
None
- check_fingerprint(fingerprint)[source]¶
Refuse to add results for other volumes, points or settings than those this store was allocated for.
A store written before fingerprints were recorded is accepted with a warning.
- write_tile(tile, results)[source]¶
Phase 2 (worker): write one tile’s cells.
resultsmaps attribute name to (N, cols) arrays in tile row order.- Parameters:
tile (TilePoints)
- Return type:
None
- written_cells()[source]¶
Cells already on disk, used to resume after a crash or pre-emption.
A cell counts only if every result array holds it.
write_tilewritesstatuslast, so a worker killed half-way through a cell leaves a cell that does not count, and the resubmitted job rewrites it.
- read_neighbourhood(cell, *, halo=1, device='cuda')[source]¶
A cell and its neighbours, in one
zarr_vectors.building.read_neighbourhoodprefetch.
- reopen_for_writes()[source]¶
Phase 1 again (coordinator), for a store finalized before every cell was written.
finalize()ends the deferred-presence declaration, after whichrecord_presence=Falsewrites would stay invisible towritten_cells()andread_all(). Call before workers open the store.- Return type:
None
zvdvc.io.ccpi¶
CCPi DVC / iDVC file formats.
Used to (a) run zvDVC as a drop-in for the dvc executable that iDVC
launches (zvdvc ccpi dvc_config.txt), (b) run the CCPi baseline on zvDVC’s
test cases (M0), and (c) compare results point by point.
dvc_inkey<ws>value ### commentlines;#lines ignored. Keys as in iDVC’sdvc_config_template.txtand CCPiInputRead..dispTab-separated, header
n x y z status objmin u v w. Current CCPi writes displacements only; older files also carryphi the psiand strain columns, andread_disp()accepts both. Rows are in point-cloud order. One policy for every writer (write_disp()): a point that is notGOODgetsu v w = 0and a finiteobjmin(0 when it has none), as CCPi writes failed points; the raw values stay in the results store..statInput echo, run start/finish, points per second, and counts per status.
Observed behaviour of dvc 25.0.0 (conda ccpi-dvc, reports v22.0.0-19),
found by running it, not from its source:
A value keeps its line ending unless a
###comment follows it on the line (soreference_filename ref.rawfails with “cannot find file”);write_dvc_input()ends every line with a comment.num_points_to_processandstarting_pointare required although the manual lists them as optional.dvcexits 0 after input errors; the missing.dispis the signal. iDVC checks theQProcessexit status (normal exit or crash), not the exit code, so it too can only tell a failed run by the missing.disp.The
.dispholdsn x y z status objmin u v wonly, with no rotation or strain columns, even for 6/12-DOF runs.
- class zvdvc.io.ccpi.RunSummary(n_points: 'int', seconds: 'float', counts: 'dict[int, int]')[source]¶
Bases:
object
- zvdvc.io.ccpi.read_dvc_input(path)[source]¶
key valuepairs of a CCPi input file. Values keep inner spaces.Lines starting with
#are ignored, and a comment starts at###or at a#that follows whitespace. Unknown keys warn (CCPi ignores them silently).
- zvdvc.io.ccpi.run_config_from_dvc_input(params, *, base_dir='.')[source]¶
The
RunConfigequivalent to a CCPidvc_in(settings asread_dvc_input()returns them).Relative paths are resolved against
base_dir(the input file’s folder, asdvcresolves them against its working directory). The output store and work directory are<output_filename>.zarrvectorsand<output_filename>_zvdvc. Search settings follow CCPi’s behaviour: wavefront (CCPi-order) seeding and noCONVG_FAILreporting. The result is validated as a YAML config is (RunConfig.validate()); errors name thedvc_inkey.
- zvdvc.io.ccpi.ccpi_volume_layout(cfg)[source]¶
(shape_xyz, dtype, header_bytes)of the reference volume as CCPi must read it.CCPi reads a flat file of unsigned 8/16-bit voxels with a fixed header.
.npyqualifies (its header is the fixed header) when C-ordered; OME-Zarr must first be exported withzvdvc.io.volume.write_raw().
- zvdvc.io.ccpi.write_dvc_input(cfg, path, *, roi_path, output_base)[source]¶
Write a CCPi input file equivalent to
cfg, to run the CPU baseline on the same case (M0).
- zvdvc.io.ccpi.write_roi(path, point_id, xyz)[source]¶
CCPi point cloud: one
n<TAB>x<TAB>y<TAB>zline per point, no header.
- zvdvc.io.ccpi.read_disp(path)[source]¶
Structured array with fields
n, x, y, z, status, objmin, u, v, w(+ optional extra columns).
- zvdvc.io.ccpi.g(v)[source]¶
A number as C++
operator<<prints it by default (6 significant digits, like%g).
- zvdvc.io.ccpi.disp_row(n, xyz, status, objmin, uvw)[source]¶
One CCPi
append_resultline: default-format coordinates and objective, 6-decimal displacements.
- zvdvc.io.ccpi.write_disp(path, point_id, xyz, status, objmin, displacement, *, ccpi_precision=False)[source]¶
CCPi
.disp, with the one policy for points that are notGOOD: zero displacement and a finite objmin.zvDVC-only status codes are written as CCPi’s
NOT_SEARCHED. Numbers are written to 9 significant digits, or withccpi_precisionexactly as CCPi prints them (disp_row()), as the drop-in does.
- zvdvc.io.ccpi.write_stat(path, cfg, summary)[source]¶
Run summary in the spirit of CCPi’s
.stat: settings, time, rate and status counts.status <NAME>lines count zvDVC’s statuses; thenumber ...lines below them count CCPi’s codes, mapped as the.dispmaps them (THRESH_FAILandSINGULARarenot searched). This is not the layout iDVC parses; the drop-in (zvdvc.ccpi_dropin) writes that one.- Parameters:
cfg (RunConfig)
summary (RunSummary)
- Return type:
None
zvdvc.ccpi_dropin¶
A drop-in for CCPi’s dvc executable, so iDVC (or any script that runs dvc) uses zvDVC.
iDVC runs dvc <dvc_in> from PATH in its working directory, follows progress by
reading stdout lines that start with <count>/<total>, treats a normal process exit as
success, then reads <output_filename>.disp (tab separated, one header line) and
<output_filename>.stat, which it parses by line position (iDVC utilities.RunResults).
This module reproduces those files byte for byte in the layout of CCPi 22.0.0
(InputRead::echo_input, result_header, append_result and dvc.cpp), with
zvDVC’s results in them:
the
.statecho of the input, the point-cloud bounding box, run times, rate and counts;the
.disprows in processing order (distance from the starting point, as CCPi), for thenum_points_to_processpoints processed;x y z status objminin C++’s default (%g) format andu v wfixed to 6 decimals, as CCPi writes them;a progress line per point,
i/N label<TAB>x y z <TAB>Point_Good<TAB>obj= ....
As in CCPi, relative paths in dvc_in are relative to the working directory. The run is
the in-memory wavefront solve (CCPi’s order and seeding) on the default backend (the GPU
when there is one; ZVDVC_BACKEND overrides). One difference is deliberate: a point whose
subvolume leaves the image is Range_Fail, where CCPi interpolates wrapped or unset data
(docs/benchmarks/2026-09-26-case-A-real.md).
To use it from iDVC, put an executable named dvc that runs zvdvc-dvc "$@" ahead of
CCPi’s on PATH (docs/IDVC.md).
- zvdvc.ccpi_dropin.write_disp(path, point_id, xyz, status, objmin, disp)[source]¶
CCPi’s
.dispas CCPi prints it; failed points get zero displacement (blank_par_min), as every writer does.
- zvdvc.ccpi_dropin.stat_echo(params, n_points, bbox_min, bbox_max)[source]¶
InputRead::echo_input: the settings, point-cloud size and bounding box, and version.
- zvdvc.ccpi_dropin.stat_summary(start, finish, count, seconds, codes)[source]¶
The end of the
.stat(dvc.cpp): times, rate and status counts.
- zvdvc.ccpi_dropin.progress_line(i, total, label, xyz, status, objmin, uvw)[source]¶
dvc.cpp’s per-point console line; iDVC reads the count before the/.
- zvdvc.ccpi_dropin.run(dvc_in, *, backend=None, out=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)[source]¶
Run
dvc_inas CCPi would, with zvDVC; 0 on success.Every input is read and checked first. The
.dispand.statare written to temporary files and renamed into place only when the run succeeds (the.displast), so a failed run leaves earlier outputs as they were and never a new.disp, the only failure signal iDVC sees (zvdvc.io.ccpi). A failure prints oneinput file problem: ...orrun failed: ...line and returns 1.