Skip to content

Commit

Permalink
Make sure that v00-16-06 files can be read with the master branch (#461)
Browse files Browse the repository at this point in the history
* Add v00-16-06 test files

* Make the reader read v00-16-06 files correctly

* Bump patch version to 99 for development
  • Loading branch information
tmadlener authored Jul 25, 2023
1 parent 6b8eeb1 commit 25e5e3a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project(podio)
#--- Version -------------------------------------------------------------------
SET( ${PROJECT_NAME}_VERSION_MAJOR 0 )
SET( ${PROJECT_NAME}_VERSION_MINOR 16 )
SET( ${PROJECT_NAME}_VERSION_PATCH 6 )
SET( ${PROJECT_NAME}_VERSION_PATCH 99 )

SET( ${PROJECT_NAME}_VERSION "${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH}" )

Expand Down
2 changes: 1 addition & 1 deletion src/ROOTFrameReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ void ROOTFrameReader::initCategory(CategoryInfo& catInfo, const std::string& cat

// For backwards compatibility make it possible to read the index based files
// from older versions
if (m_fileVersion <= podio::version::Version{0, 16, 5}) {
if (m_fileVersion <= podio::version::Version{0, 16, 6}) {
std::tie(catInfo.branches, catInfo.storedClasses) =
createCollectionBranchesIndexBased(catInfo.chain.get(), *catInfo.table, *collInfo);
} else {
Expand Down
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ set(legacy_test_versions
v00-16
v00-16-02
v00-16-05
v00-16-06
)

### Define the actual tests
Expand Down

0 comments on commit 25e5e3a

Please sign in to comment.