kima-org / kima

A data analysis framework for exoplanet detection
http://www.kima.science
MIT License
4 stars 1 forks source link

Allow kima.load_results to run even if the input data has moved from original directory #12

Closed Kamuish closed 5 months ago

Kamuish commented 7 months ago

I propose one of two possible solutions:

1) Allow to pass a new folder to load_results, to search in there for the corresponding rdb files 2) Create a copy of the input files in the output directory of KIMA

I think that the second option would be the preferred one, what is your feeling @j-faria ?

j-faria commented 5 months ago

load_results now works even if the datafile(s) are not there anymore, because it uses model.data.

This is tested here.

I'm closing this issue, but let me know if it comes up again.