Unverified Commit 675b4eae authored by jlaura's avatar jlaura Committed by GitHub
Browse files

Fixes bug from config (#443)

* Fixes bug from config

* Fixes oid on overlap
parent 23a857b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1847,7 +1847,7 @@ WHERE

        sourceimages = sourcesession.execute(query_string).fetchall()

        with session_scope() as destinationsession:
        with self.session_scope() as destinationsession:
            destinationsession = self.Session()
            destinationsession.execute(Images.__table__.insert(), sourceimages)

+1 −1
Original line number Diff line number Diff line
@@ -226,7 +226,7 @@ def place_points_in_overlap(overlap,
                                                                 'geocent', 'latlon')

        point_geom = shapely.geometry.Point(x, y, z)
        point = Points(overlapid=oid,
        point = Points(overlapid=overlap.id,
                       apriori=point_geom,
                       adjusted=point_geom,
                       pointtype=2, # Would be 3 or 4 for ground