Closed echaussidon closed 3 years ago
The simplest fix is probably to replace rows == None
with rows is None
. Does that work for you @echaussidon?
@dkirkby I didn't even think of that, it naturally works and I get the same result than for "my solution" ! Let me now when you push the correction !
Thank you, Edmond
@echaussidon Thanks for noticing this! I just pushed David's suggested fix.
HI @dylanagreen,
I find a mistake in io.desi_load_coadd (maybe not a mistake but it does not work always). The problem comes from this lines https://github.com/desihub/QuasarNP/blob/64e7ff4c7308d252414736f0af9f00bb44c0921a/quasarnp/io.py#L431 where the test rows == None sometimes failed when rows is not None ...
Here what I use to circumvent this problem: