@@ -777,7 +777,8 @@ class Annotations(Base):
777777 AnnotatorID = Column ('annotatorid' , ForeignKey (People .PersonID ))
778778 CitationID = Column ('citationid' , ForeignKey (Citations .CitationID ))
779779
780- PersonObj = relationship (People )
780+ # PersonObj = relationship(People)
781+ AnnotatorObj = relationship (People )
781782 CitationObj = relationship (Citations )
782783
783784
@@ -889,7 +890,6 @@ class ReferenceMaterials(Base):
889890
890891class CalibrationStandards (Base ):
891892
892-
893893 BridgeID = Column ('bridgeid' , Integer , primary_key = True , nullable = False )
894894 ActionID = Column ('actionid' , Integer , ForeignKey (Actions .ActionID ), nullable = False )
895895 ReferenceMaterialID = Column ('referencematerialid' , Integer , ForeignKey (ReferenceMaterials .ReferenceMaterialID ),
@@ -898,18 +898,9 @@ class CalibrationStandards(Base):
898898 ActionObj = relationship (Actions )
899899 ReferenceMaterialObj = relationship (ReferenceMaterials )
900900
901- # ResultNormalizationValues = Table(
902- # u'resultnormalizationvalues', Base.metadata,
903- # Column(u'resultid', ForeignKey(Results.ResultID), primary_key=True),
904- # Column(u'normalizedbyreferencematerialvalueid', ForeignKey('odm2.referencematerialvalues.referencematerialvalueid'),
905- # nullable=False),
906- # schema='odm2'
907- # )
908-
909901
910902class ReferenceMaterialValues (Base ):
911903
912-
913904 ReferenceMaterialValueID = Column ('referencematerialvalueid' , Integer , primary_key = True , nullable = False )
914905 ReferenceMaterialID = Column ('referencematerialid' , ForeignKey (ReferenceMaterials .ReferenceMaterialID ),
915906 nullable = False )
@@ -923,12 +914,10 @@ class ReferenceMaterialValues(Base):
923914 ReferenceMaterialObj = relationship (ReferenceMaterials )
924915 UnitObj = relationship (Units )
925916 VariableObj = relationship (Variables )
926- #ResultsObj = relationship(Results, secondary=ResultNormalizationValues)
927917
928918
929919class ResultNormalizationValues (Base ):
930920
931-
932921 ResultID = Column (u'resultid' , ForeignKey (Results .ResultID ), primary_key = True )
933922 ReferenceMaterialValueID = Column (u'referencematerialvalueid' ,
934923 ForeignKey (ReferenceMaterialValues .ReferenceMaterialValueID ),
@@ -940,7 +929,6 @@ class ResultNormalizationValues(Base):
940929
941930class ResultsDataQuality (Base ):
942931
943-
944932 BridgeID = Column ('bridgeid' , Integer , primary_key = True , nullable = False )
945933 ResultID = Column ('resultid' , ForeignKey (Results .ResultID ), nullable = False )
946934 DataQualityID = Column ('dataqualityid' , ForeignKey (DataQuality .DataQualityID ), nullable = False )
@@ -954,7 +942,6 @@ class ResultsDataQuality(Base):
954942# ################################################################################
955943class ExtensionProperties (Base ):
956944
957-
958945 PropertyID = Column ('propertyid' , Integer , primary_key = True , nullable = False )
959946 PropertyName = Column ('propertyname' , String (255 ), nullable = False )
960947 PropertyDescription = Column ('propertydescription' , String (500 ))
@@ -978,7 +965,6 @@ class ActionExtensionPropertyValues(Base):
978965
979966class CitationExtensionPropertyValues (Base ):
980967
981-
982968 BridgeID = Column ('bridgeid' , Integer , primary_key = True , nullable = False )
983969 CitationID = Column ('citationid' , ForeignKey (Citations .CitationID ), nullable = False )
984970 PropertyID = Column ('propertyid' , ForeignKey (ExtensionProperties .PropertyID ), nullable = False )
0 commit comments