Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Generic interface lattice#327

Merged
mehdisadeghi merged 7 commits into
masterfrom
generic-interface-lattice
Nov 7, 2016
Merged

Generic interface lattice#327
mehdisadeghi merged 7 commits into
masterfrom
generic-interface-lattice

Conversation

@stefanoborini

Copy link
Copy Markdown
Contributor

Built on top of #326. Please review that first.

Implements the generic interface for the Lattice object.

@codecov-io

codecov-io commented Oct 19, 2016

Copy link
Copy Markdown

Current coverage is 67.97% (diff: 97.26%)

No coverage report found for master at 95afad3.

Powered by Codecov. Last update 95afad3...9171988

@mehdisadeghi mehdisadeghi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wrote some comments on #326 which applies here as well.

"""

@abstractmethod
def count_of(self, item_type): # pragma: no cover

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider that when/if we define Edge, Point, Particle, Bond, Face, Cell and Node in the metadata (some of them are already defined), we have to get rid of CUDSItem enum.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean as CUBA keywords? In that case, we'll have to change the implementation and the accepting value. I'd say we have to keep this as is, or we ruin the current interface, so it's just a step in that direction.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I totally agree with you. However, we have to come back to this later.

@mehdisadeghi mehdisadeghi merged commit 7751937 into master Nov 7, 2016
@mehdisadeghi mehdisadeghi deleted the generic-interface-lattice branch November 7, 2016 12:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants