Skip to content

Commit

Permalink
Fixes for the 1.1 simple list version.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Feb 7, 2024
1 parent 03afbe0 commit c4e57cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ Currently, **takane** provides validators for the following objects:
- `sequence_string_set`:
[1.0](https://github.com/ArtifactDB/takane/tree/gh-pages/docs/specifications/sequence_string_set/1.0.md).
- `simple_list`:
[1.0](https://github.com/ArtifactDB/takane/tree/gh-pages/docs/specifications/simple_list/1.0.md).
[1.0](https://github.com/ArtifactDB/takane/tree/gh-pages/docs/specifications/simple_list/1.0.md),
[1.1](https://github.com/ArtifactDB/takane/tree/gh-pages/docs/specifications/simple_list/1.1.md).
- `single_cell_experiment`:
[1.0](https://github.com/ArtifactDB/takane/tree/gh-pages/docs/specifications/single_cell_experiment/1.0.md).
- `spatial_experiment`:
Expand Down
2 changes: 1 addition & 1 deletion include/takane/simple_list.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ inline void validate(const std::filesystem::path& path, const ObjectMetadata& me
throw std::runtime_error("unknown format '" + format + "'");
}

if (version.ge(1, 1)) {
if (version.ge(1, 1, 0)) {
auto len_info = internal::extract_length(metamap);
if (len_info.first) {
if (len_info.second != len) {
Expand Down

0 comments on commit c4e57cd

Please sign in to comment.