Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Reading/writing numerical values #9

Closed
rettinghaus opened this issue Jun 9, 2022 · 4 comments
Closed

Reading/writing numerical values #9

rettinghaus opened this issue Jun 9, 2022 · 4 comments

Comments

@rettinghaus
Copy link

All cases where we have integer or decimal attribute values are treated as empty with value "0". That makes it impossible to explicitly set encoded values to zero in Verovio (e.g. beam@slope).

@lpugin
Copy link

lpugin commented Jun 9, 2022

No, we override the default in many places
https://github.com/rism-digital/libmei/blob/develop/tools/includes/vrv/config.yml

@lpugin lpugin closed this as completed Jun 9, 2022
@rettinghaus
Copy link
Author

We override positive integer values by setting the default to -1. But this will not work with e.g. @trans.diat.

@lpugin
Copy link

lpugin commented Jun 9, 2022

Could you explain why it would not work if you change it in config.yml? Sorry, I don't understand

@rettinghaus
Copy link
Author

Oh, I overlooked the VRV_UNSET possiblity. Sorry.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants