Revert "Create new Fit relationship with fits that current fit is projected onto (see #90)"

This reverts commit a2727d5f47.
This commit is contained in:
blitzmann
2014-05-03 00:40:13 -04:00
parent a2727d5f47
commit fb9da5ec8d

View File

@@ -65,12 +65,5 @@ mapper(Fit, fits_table,
primaryjoin = projectedFits_table.c.victimID == fits_table.c.ID,
secondaryjoin = fits_table.c.ID == projectedFits_table.c.sourceID,
secondary = projectedFits_table,
collection_class = HandledProjectedFitList),
# projectedOnto is not currently used and probably won't be
# It simply makes data clean-up easier. See GH issue #90
"_Fit__projectedOnto" : relation(Fit,
primaryjoin = fits_table.c.ID == projectedFits_table.c.sourceID,
secondaryjoin = fits_table.c.ID == projectedFits_table.c.victimID == fits_table.c.ID,
secondary = projectedFits_table,
collection_class = HandledProjectedFitList)
})