()
| 18 | use nodedb_types::{OPEN_UPPER, Surrogate}; |
| 19 | |
| 20 | fn genomic_schema() -> nodedb_array::ArraySchema { |
| 21 | ArraySchemaBuilder::new("genome") |
| 22 | .dim(DimSpec::new( |
| 23 | "chrom", |
| 24 | DimType::Int64, |
| 25 | Domain::new(DomainBound::Int64(0), DomainBound::Int64(24)), |
| 26 | )) |
| 27 | .dim(DimSpec::new( |
| 28 | "pos", |
| 29 | DimType::Int64, |
| 30 | Domain::new(DomainBound::Int64(0), DomainBound::Int64(300_000_000)), |
| 31 | )) |
| 32 | .attr(AttrSpec::new("qual", AttrType::Float64, true)) |
| 33 | .tile_extents(vec![1, 1_000_000]) |
| 34 | .build() |
| 35 | .unwrap() |
| 36 | } |
| 37 | |
| 38 | fn simple_schema() -> nodedb_array::ArraySchema { |
| 39 | ArraySchemaBuilder::new("s") |
no test coverage detected