franpoz / SHERLOCK

Easy and versatile open-source code to explore Kepler, K2 and TESS data in the search for exoplanets
MIT License
20 stars 7 forks source link

Can't run object_ids_example #112

Closed melissa-hobson closed 4 months ago

melissa-hobson commented 4 months ago

I'm trying to run the example scripts, and running into issues with lcbuilder, the "objectinfo" module doesn't have a "MissionFfiCoordsObjectInfo":

Screenshot from 2024-07-23 10-49-46

I am running a new install of Sherlock in a python 3.10.4 venv (I saw conda was recommended, but conda unfortunately doesn't work on our cluster). I installed Sherlock using the pip install -r requirements.txt line. I also tried upgrading lcbuilder, but get the same error.

martindevora commented 4 months ago

Hello! Thanks for reporting this. It happens probably because some of the examples are outdated.

We encourage the usage of the yaml based execution of sherlock but we still try to document the programmatic api specifically for its integration to any other software tools. What would your use case be?

I have updated the programmatical examples right now. I haven't tried all of them but they seem to be running at the very beginning without launch errors. Please try them again and let me know in case you encountered any further issue.

Thanks for trying the tool. Regards.

melissa-hobson commented 4 months ago

Hello, thanks for the quick response! Everything seems to be working now. My use case is mainly searching for and vetting candidates in TESS data; I'll use the yaml-based mode if that's what's recommended, I mainly wanted to run some of the programmatic examples to check everything was properly installed.

martindevora commented 4 months ago

Nice! Let me know in case you need additional assistance. I'll close the issue as resolved. Kind regards.