Skip to content
Snippets Groups Projects
Commit f39391cf authored by root's avatar root
Browse files

Converted to uuid4

parent 67eceb91
No related branches found
No related tags found
No related merge requests found
Showing
with 41 additions and 23 deletions
No preview for this file type
No preview for this file type
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class autoPROC(StructuredNode):
uid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
tool_name=StringProperty()
\ No newline at end of file
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class Buster(StructuredNode):
uid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
tool_name=StringProperty()
\ No newline at end of file
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
# from api.models.ocf_model import OCF
# from api.models.storagehost_model import StorageHost
......@@ -7,7 +8,7 @@ from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdPro
class Construct(StructuredNode):
uuid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
name=StringProperty()
# Relationships
......
......@@ -7,8 +7,8 @@ from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdPro
class Coordinates(StructuredNode):
coordinates_source=StringProperty(unique_index=True, required=True)
coordinates_filesize=StringProperty(unique_index=True, required=True)
coordinates_filepath=StringProperty(unique_index=True, required=True)
coordinates_filesize=StringProperty()
coordinates_filepath=StringProperty()
# Relationships
input_as_ref=RelationshipTo('api.models.dpstep_model.DPStep', 'INPUT_AS_REFERENCE')
......
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo, DateTimeProperty, BooleanProperty
from uuid import uuid4
class LigandsFitting(StructuredNode):
uid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
dp_step_name = StringProperty()
created_at=DateTimeProperty()
updated_at=DateTimeProperty()
......
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class mmCIFFile(StructuredNode):
uid=UniqueIdProperty()
coordinates_filetype=StringProperty(unique_index=True, required=True)
\ No newline at end of file
uuid=StringProperty(unique_index=True, default=uuid4)
coordinates_filetype=StringProperty()
\ No newline at end of file
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class MTZfile(StructuredNode):
uid=UniqueIdProperty()
rsf_filetype = StringProperty(unique_index=True, required=True)
uuid=StringProperty(unique_index=True, default=uuid4)
rsf_filetype = StringProperty()
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class PDBFile(StructuredNode):
uid=UniqueIdProperty()
coordinates_filetype=StringProperty(unique_index=True, required=True)
\ No newline at end of file
uuid=StringProperty(unique_index=True, default=uuid4)
coordinates_filetype=StringProperty()
\ No newline at end of file
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo, DateTimeProperty
from uuid import uuid4
class PostRefinement(StructuredNode):
uid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
dp_step_name=StringProperty()
pipedream_id=IntegerProperty()
created_at=DateTimeProperty()
......
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo, DateTimeProperty
from uuid import uuid4
class ReductionScaling(StructuredNode):
uid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
dp_step_name=StringProperty()
created_at=DateTimeProperty()
updated_at=DateTimeProperty()
\ No newline at end of file
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class Reference(StructuredNode):
uid=UniqueIdProperty()
\ No newline at end of file
uuid=StringProperty(unique_index=True, default=uuid4)
\ No newline at end of file
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo, DateTimeProperty
from uuid import uuid4
class Refinement(StructuredNode):
uid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
dp_step_name=StringProperty()
created_at=DateTimeProperty()
updated_at=DateTimeProperty()
\ No newline at end of file
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class Rhofit(StructuredNode):
uid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
tool_name=StringProperty()
\ No newline at end of file
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class ScalepackFile(StructuredNode):
uid=UniqueIdProperty()
rsf_filetype=StringProperty(unique_index=True, required=True)
uuid=StringProperty(unique_index=True, default=uuid4)
rsf_filetype=StringProperty()
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class StatisticalReport(StructuredNode):
uid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
report_name=StringProperty()
\ No newline at end of file
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class SummaryHtml(StructuredNode):
uid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
report_name=StringProperty()
\ No newline at end of file
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class SummaryOut(StructuredNode):
uid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
report_name=StringProperty()
\ No newline at end of file
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
from uuid import uuid4
class User(StructuredNode):
uid=UniqueIdProperty()
# uuid=UniqueIdProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
name=StringProperty()
surname=StringProperty()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment