Open orionlee opened 4 years ago
The format of all_targets_...txt
is changed.
Workaround for users who have been using LATTE v1 is to make it re-generate all required metadata
~/data_LATTE
, the metadata is in ~/data_LATTE/data
~/data_LATTE_new
python -m LATTE --new-path
python -m LATTE --new-data
~/data_LATTE_new/data
data
with the new one, then re-specify LATTE's data directory with python -m LATTE --new-path
When I tried to run LATTE for TIC 65263849 from sector 2, I got the
KeyError: 'Camera'
during parsing data/all_targets_S002_v1.txtInspecting the
data/all_targets_S002_v1.txt
file in question, it looks like the following (not a csv):The file was created back when I was using LATTE v1.0.0
Comparing the file against recent target files generated from LATTE-dev, it seems that the format was changed to comma-separated.
The code as-is is equipped to handle the comma-separated one, but not the old tab-separated format with comment