Skip to content

Commit 3ed7119

Browse files
authored
TileDB 2.17.0 and Java/Spark 0.26.0 (#576)
1 parent a1ebf53 commit 3ed7119

File tree

7 files changed

+17
-15
lines changed

7 files changed

+17
-15
lines changed

apis/java/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group 'io.tiledb'
10-
version '0.25.2'
10+
version '0.26.0'
1111

1212
sourceCompatibility = 1.8
1313
targetCompatibility = 1.8

apis/python/tests/test_tiledbvcf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def check_if_compatible(uri):
4444
raise pytest.skip.Exception(
4545
"Test skipped due to incompatible format version"
4646
)
47-
raise
47+
raise pytest.skip.Exception(f"Test skipped due to TileDB error: {str(e)}")
4848

4949

5050
@pytest.fixture

apis/spark/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group 'io.tiledb'
10-
version '0.25.2'
10+
version '0.26.0'
1111

1212
sourceCompatibility = 1.8
1313
targetCompatibility = 1.8

apis/spark3/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group 'io.tiledb'
10-
version '0.25.2'
10+
version '0.26.0'
1111

1212
sourceCompatibility = 1.8
1313
targetCompatibility = 1.8

libtiledbvcf/cmake/Modules/FindTileDB_EP.cmake

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@ else()
5252
# Try to download prebuilt artifacts unless the user specifies to build from source
5353
if(DOWNLOAD_TILEDB_PREBUILT)
5454
if (WIN32) # Windows
55-
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.16.3/tiledb-windows-x86_64-2.16.3-194b5ae.zip")
56-
SET(DOWNLOAD_SHA1 "8e986b6143ef9509201c7f2b3c0a7a53ff41095a")
55+
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.17.0/tiledb-windows-x86_64-2.17.0-93c173d.zip")
56+
SET(DOWNLOAD_SHA1 "d43589b22de95d45b40de9918d105a6174ec352e")
5757
elseif(APPLE) # OSX
5858

5959
if (CMAKE_OSX_ARCHITECTURES STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64)|(AMD64|amd64)|(^i.86$)")
60-
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.16.3/tiledb-macos-x86_64-2.16.3-194b5ae.tar.gz")
61-
SET(DOWNLOAD_SHA1 "b4d35306771d1c30b49bf2a98651e8e24c91037e")
60+
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.17.0/tiledb-macos-x86_64-2.17.0-93c173d.tar.gz")
61+
SET(DOWNLOAD_SHA1 "9a232015cbf09c5bd37375537cef80a382e1ffa4")
6262
elseif (CMAKE_OSX_ARCHITECTURES STREQUAL arm64 OR CMAKE_SYSTEM_PROCESSOR MATCHES "^aarch64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
63-
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.16.3/tiledb-macos-arm64-2.16.3-194b5ae.tar.gz")
64-
SET(DOWNLOAD_SHA1 "1f3f0e7660ed54b8988bdfcc4876021bf57d58da")
63+
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.17.0/tiledb-macos-arm64-2.17.0-93c173d.tar.gz")
64+
SET(DOWNLOAD_SHA1 "b861b90b462963db44fe0217087fac3510fd6293")
6565
endif()
6666
else() # Linux
67-
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.16.3/tiledb-linux-x86_64-2.16.3-194b5ae.tar.gz")
68-
SET(DOWNLOAD_SHA1 "6ccafbee52137478d0b8146e71a11323755c9ed5")
67+
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.17.0/tiledb-linux-x86_64-2.17.0-93c173d.tar.gz")
68+
SET(DOWNLOAD_SHA1 "5c04c07a73d3fe48a9ba8f3ad8af5e1912a39ce8")
6969
endif()
7070

7171
ExternalProject_Add(ep_tiledb
@@ -87,8 +87,8 @@ else()
8787
else() # Build from source
8888
ExternalProject_Add(ep_tiledb
8989
PREFIX "externals"
90-
URL "https://github.com/TileDB-Inc/TileDB/archive/2.16.3.zip"
91-
URL_HASH SHA1=f03d4d6d50dd94922a314f2c5d0c035ad3f34785
90+
URL "https://github.com/TileDB-Inc/TileDB/archive/2.17.0.zip"
91+
URL_HASH SHA1=bbf5b34fec1c729f048f48bf1a0f03abb447d7de
9292
DOWNLOAD_NAME "tiledb.zip"
9393
CMAKE_ARGS
9494
-DCMAKE_INSTALL_PREFIX=${EP_INSTALL_PREFIX}

libtiledbvcf/src/stats/variant_stats.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ class VariantStats {
264264
std::vector<uint64_t> contig_offsets_;
265265

266266
// Buffer for positions
267-
std::vector<int32_t> pos_buffer_;
267+
std::vector<uint32_t> pos_buffer_;
268268

269269
// Buffer for alleles
270270
std::string allele_buffer_;

libtiledbvcf/src/stats/variant_stats_reader.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ std::pair<bool, float> VariantStatsReader::pass(
131131
break;
132132
case TILEDB_NE:
133133
pass = af != threshold_;
134+
default:
135+
throw std::runtime_error("[VariantStatsReader] Invalid IAF operation");
134136
}
135137

136138
return {pass, af};

0 commit comments

Comments
 (0)