Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comments in transformation rules #13

Open
widc opened this issue Oct 10, 2016 · 1 comment
Open

comments in transformation rules #13

widc opened this issue Oct 10, 2016 · 1 comment

Comments

@widc
Copy link

widc commented Oct 10, 2016

It would be good to have to the possibility to comment out some portion of the transformation rule.

The commenting prefix of the Manchester syntax ("#") is not working in the transformation rule - Generation of axioms terminates prematurely with the "Encountered <LOCATION_SPECIFICATION> # at line ..." error message.

Rationale:
I have several similar worksheets in an Excel file, and a specific file with the transformation rule for each spreadsheet. It is expected that the structure of the worksheets will converge in the future - new columns will be added to the worksheets where they are missing so far. Therefore, I'd like to have prepared but commented-out parts of the rules which are not applicable yet for the given worksheet.

@martinjoconnor
Copy link
Member

Note that MM will drop sub-expressions with missing values so comments may not be necessary.

See:

https://github.com/protegeproject/mapping-master/wiki/MappingMasterDSL#missing-value-handling

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

No branches or pull requests

3 participants