Closed kadrlica closed 4 years ago
This is relevant here: https://github.com/DarkEnergySurvey/ugali/blob/master/ugali/analysis/source.py#L100
where I needed to change if isinstance(srcmdl,str):
to if isinstance(srcmdl,(basestring,str,unicode)):
since the srcmdl was u'./mcmc/juicy_i_mcmc.yaml'
(a unicode string)
Closed by #63
We need a more robust way to check for strings. I think that putting an
isstr
function inutils.fileio.py
like suggested in this answer would be a reasonable solution.