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

[DO NOT MERGE] Ordered positions #13

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

jesper-friis
Copy link
Collaborator

Added ordering to lattice vector a, b and c.

@CasperWA
Copy link
Contributor

CasperWA commented Feb 1, 2021

This seems very useful. We should add cartesian site positions as well and a common parent class "site position" or similar. I'll make an issue for this.

I can't seem to find where I can inspect the cardinality changes in Protégé, could you help me with this?

@CasperWA
Copy link
Contributor

CasperWA commented Feb 1, 2021

This seems very useful. We should add cartesian site positions as well and a common parent class "site position" or similar. I'll make an issue for this.

I can't seem to find where I can inspect the cardinality changes in Protégé, could you help me with this?

Ah, I have found where it is. It's implicit in the number of, e.g., Number or FractionalPositionAs. So FranctionalPosition hasSpatialDirectPart exactly 1 FractionalPositionB means a cardinality of exactly 1 of FranctionalPositionB. Can you give an example where the cardinality is different from 1 then, because I see some changes that the cardinality is 3 in the git diff.
Shouldn't e.g., Shape3Vector have cardinality 3 of Number or similar?

@jesper-friis
Copy link
Collaborator Author

You have several good points here.

First there is a mistake - we are breaking the non-transitivity of direct parthood. FranctionalPosition should not have FranctionalPositionA, FranctionalPositionB and FranctionalPositionC as spatial direct parts - they are spatial direct parts of its quantity value.

EMMO seems to miss the restriction Shape3Vector hasSpatialDirectPart exactly 3 Number. I guess it is among the PRs under review for EMMO. I will check...

For the crystallography ontology, I think that the solution is to create a subclass Shape3Vector for fractional positions that has spatial direct parts FranctionalPositionA, FranctionalPositionB and FranctionalPositionC.

FranctionalPositionA, FranctionalPositionB and FranctionalPositionC.

Changed FractionalPositionA to a real.
@jesper-friis
Copy link
Collaborator Author

I updated the PR by adding a FractionalPositionVector with spatial direct parts FranctionalPositionA, FranctionalPositionB and FranctionalPositionC.

@CasperWA
Copy link
Contributor

CasperWA commented Apr 9, 2021

@jesper-friis Could you determine whether this and also #14 need to be rebased and implemented or if they should be closed?

@CasperWA
Copy link
Contributor

@jesper-friis Could you determine whether this and also #14 need to be rebased and implemented or if they should be closed?

This is still relevant and should be implemented either in this or a future PR.

@CasperWA
Copy link
Contributor

This should be "moved" to the domain-crystallography repo.

@CasperWA CasperWA changed the title Ordered positions [DO NOT MERGE] Ordered positions Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants