drphilmarshall / OM10

Tools for working with the Oguri & Marshall (2010) mock catalog of strong gravitational lenses
MIT License
8 stars 19 forks source link

select_random not updating Nlenses? #60

Open jennykim1016 opened 7 years ago

jennykim1016 commented 7 years ago

I thought self.Nlenses in db.py are the number of lenses in db.sample (I assumed so because all the method operates on db.sample). In this case, shouldn't the method select_random change the size of Nlenses variable as db.sample's size is changing? Thanks!