lightkurve errors in the MCMC example
Running the MCMC example (https://fleck.readthedocs.io/en/latest/fleck/bayes/mcmc.html) and there are issues with lightkurve.
search_lightcurvefile() is deprecated and needs to be changed to search_lightcurve()
Also some issue with the files downloaded in the example:
these few lines
coord = SkyCoord.from_name('V1298 Tau')
slcf = search_lightcurve(coord, mission='K2')
lc = slcf.download_all()
result in this error
LightkurveError: Data product f/Users/wiwa8630/.lightkurve/cache/mastDownload/HLSP/hlsp_k2sc_k2_llc_210818897-c04_kepler_v2_lc/hlsp_k2sc_k2_llc_210818897-c04_kepler_v2_lc.fits of type K2SC is not supported in this version of Lightkurve.
I can fix the first part in the docs but I'm unsure about the LightkurveError.
If you print slcf from your example, you'll see the files that you've retrieved:
The problem is that when the example code was written, there were fewer options available for download. Some of the newer files don't work in lightkurve.
You can fix this if you add the author kwarg to search_lightcurve. The docs were written with the data that you'd get from search_lightcurve(coord, mission='K2', author='K2').
Want to make a PR to fix that?