msimet / Stile

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

Fix bug in correlation functions with no sep_units kwarg #118

Open msimet opened 6 years ago

msimet commented 6 years ago

A tiny PR here: correlation functions without 'sep_units' in the correlation function parameters dict currently throw an error (since we assume that kwarg is there, and append it to the name of the radius parameter so we keep track of it--but it's not required if you're doing things in pixel distances). This PR just checks that that key exists before it does the appending.

Pardon the name of the branch, I made this when 116 was going to be the name of this PR, but now it's 118!