Edirom-Online icon indicating copy to clipboard operation
Edirom-Online copied to clipboard

Fixing: Work title "not found", "fail" etc.

Open riedde opened this issue 1 year ago • 3 comments

Description, Context and related Issue

I introduced a function for joining strings and normalizing space because this combination is used several times and not consistent.

Refs #103 #337 #118

How Has This Been Tested?

Test have been done with the dataset of Baumann-Digital (Cantata, see https://doi.org/10.5281/zenodo.10072485) and WeGA-Klarinettenquintett. As no fail could be reproduced, the code snippets from the refered issues have been implemented and the upcoming errors have been fixed.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • [ ] I have performed a self-review of my code
  • [x] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.

riedde avatar Sep 11 '24 08:09 riedde

I have not tested in detail yet but only looked through the code. Except from one typo I would only complain about all the extra node selectors and would recommend to introduce yet another convenience function, i.e. a 1-arity version of eutil:joindAndNormalize following the model of string-join: https://www.w3.org/TR/xpath-functions-31/#func-string-join

Indeed,when at it a 1-arity version would be a good idea!

bwbohl avatar Sep 26 '24 08:09 bwbohl

I have not tested in detail yet but only looked through the code. Except from one typo I would only complain about all the extra node selectors and would recommend to introduce yet another convenience function, i.e. a 1-arity version of eutil:joindAndNormalize following the model of string-join: https://www.w3.org/TR/xpath-functions-31/#func-string-join

I did some approvements. Not tested yet, because of bad internet connection. I'll tell when this is done!

riedde avatar Oct 04 '24 11:10 riedde

Works on my machine ;-)

riedde avatar Oct 04 '24 12:10 riedde

@peterstadler I understand your intention and have switched the functions name.

riedde avatar Oct 09 '24 16:10 riedde

My suggestion for merging here would be to squash and merge since that'd get rid of several unnecessary commits (including the merge from dev). But if the policy is to keep everything I'm fine with that too …

peterstadler avatar Oct 10 '24 06:10 peterstadler

I see that "squash and merge" is not enabled for this repo. That's probably on purpose?

peterstadler avatar Oct 10 '24 20:10 peterstadler

with this merged, can we consider the referenced issues (#103, #118, #337) closed?

bwbohl avatar Dec 04 '24 10:12 bwbohl

I'll check that and if the issues are outdated I'll close them.

riedde avatar Dec 04 '24 13:12 riedde