Closed orionlee closed 3 years ago
I checked the codes, it looks like an existing behavior since v1.0.0. As it is, LATTE would skip a tic if the data directory contains any file / directory that contains the TIC: it checks for *<tic>*
.
E.g., in my setup, LATTE skips it because
<tic>_something_extra
but it still contains the TIC['./dataLATTE\\149601126_sector27-8', './dataLATTE\\input149601126_sector27-8-only.csv']
Is there some reason it needs to check against *<tic>*
rather than just the <tic>
?
Relevant codes: https://github.com/noraeisner/LATTE/blob/5eea005668f67b1e98e554c557119508c8e92805/LATTE/__main__.py#L583-L586
Good point! The code has been changed so that it only searches for the tic id and not alternative names.
In
LATTE-dev
branch, when running in batch mode, it seems to incorrectly believe there are existing files and skip.The workflow:
149601126
to149601126_trial1
For the second run, LATTE complained "This file already exists", even though I renamed the output directory in step 3.
The workaround: specify
--o
Version: It happened in current
LATTE-dev
branch. I did recall encountering such issue withv1.0.0
but am not 100% sure.