Commit 21a70b73 authored by Lauren Adoram-Kershner's avatar Lauren Adoram-Kershner Committed by GitHub
Browse files

Merge pull request #368 from USGS-Astrogeology/jlaura-patch-1-1

Update acn_overlaps
parents 142f4960 ec08c606
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -38,11 +38,8 @@ def main(msg, config):
    session.close()
    
    print('Placing points in overlap', id)
    points = place_points_in_overlap(nodes, overlap.geom, msg["cam_type"],
    points = place_points_in_overlap(nodes, geom, msg["cam_type"],
                                     msg['distribute_points_kwargs'])
    session.add_all(points)
    session.commit()
    session.close()
    
    print('Adding {} points to the database.'.format(len(points)))
    Points.bulkadd(points)