Newer
Older
# Third-party imports
from neomodel import StructuredNode, StringProperty, IntegerProperty, UniqueIdProperty, RelationshipTo, DateTimeProperty, BooleanProperty
class LigandsFitting(StructuredNode):
"""
Defines node properties and relationships
Provides data serializer
"""
# Properties
uuid=StringProperty(unique_index=True, default=uuid4)
dp_step_name = StringProperty()
created_at=DateTimeProperty()
updated_at=DateTimeProperty()
pipedream_id=IntegerProperty()
score=IntegerProperty()
fitting_success=BooleanProperty()
@property
def serialize(self):
"""
Serializer for node properties
"""