NishantTharani/LogSeqToObsidian

results are not deterministic

scratchmex opened this issue · 2 comments

I stumbled upon that sometimes the order of processing for the files is different and produces different results. I have realized it that sometimes the - TODO are not translated to - [ ] and sometimes they are. Same content, same line, just different executions.

Thanks for reporting. Any chance you could share an example file that results in this behavior? I'm keen to investigate this further.

I was able to reproduce with a simple todo:

- TODO test todo

sometimes it is left as it is and sometimes translated to

- [ ] test todo
~ ❯ python convert_notes.py --logseq <path> --output <path> --overwrite_output --ignore_dot_for_namespaces --convert_tags_to_links
~ ❯ python -V
Python 3.11.5