Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Apr 8, 2024
2 parents 9c08d85 + 537b1f7 commit 9319743
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ Versioned according to [Semantic Versioning](http://semver.org/).

## Unreleased

## [2.63.3] - 2024-03-07

Added:

* `make uninstall-workaround` compantion to `make install-workaround`, #119

Fixed:

* `OcrdMets.add_file`: fix finding existing el_pagediv, #1199


## [2.63.2] - 2024-03-05

Fixed:
Expand Down Expand Up @@ -2027,6 +2038,10 @@ Fixed
Initial Release

<!-- link-labels -->
<<<<<<< HEAD
=======
[2.63.3]: ../../compare/v2.63.3..v2.63.1
>>>>>>> master
[2.63.2]: ../../compare/v2.63.2..v2.63.1
[2.63.1]: ../../compare/v2.63.1..v2.63.0
[2.63.0]: ../../compare/v2.63.0..v2.62.0
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ build-workaround: pyclean

# test that the aliased packages work in isolation and combined
test-workaround: build-workaround
for dist in $(BUILD_ORDER);do pip uninstall --yes $$dist;done
$(MAKE) uninstall-workaround
for dist in $(BUILD_ORDER);do \
pip install dist/$$dist-*.whl ;\
ocrd --version ;\
Expand All @@ -368,3 +368,7 @@ test-workaround: build-workaround
ocrd --version ;\
make test ;\
for dist in $(BUILD_ORDER);do pip uninstall --yes $$dist;done

uninstall-workaround:
for dist in $(BUILD_ORDER);do $(PIP) uninstall --yes $$dist;done

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.63.2
2.63.3
2 changes: 1 addition & 1 deletion src/ocrd_models/ocrd_mets.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ def set_physical_page_for_file(self, pageId : str, ocrd_file : OcrdFile,

el_pagediv = None
if self._cache_flag:
if pageId in self._page_cache:
if pageId in self._page_cache[METS_PAGE_DIV_ATTRIBUTE.ID]:
el_pagediv = self._page_cache[METS_PAGE_DIV_ATTRIBUTE.ID][pageId]
else:
el_pagediv = el_seqdiv.find('mets:div[@ID="%s"]' % pageId, NS)
Expand Down

0 comments on commit 9319743

Please sign in to comment.