msimet / Stile

Stile: the Systematics Tests In Lensing pipeline
BSD 3-Clause "New" or "Revised" License
9 stars 6 forks source link

Fixes to usage of randoms in correlation functions #85

Open msimet opened 8 years ago

msimet commented 8 years ago

Just tried to run something that had a random catalog and got yelled at by Stile, so I think that needs fixing!

It's a pretty easy fix--the problem is that TreeCorr Catalog objects don't have a len(), so checks for existence weren't working properly.