Tony-sama / pylfit

Python implementation of the main algorithms of the Learning From Interpretation Transitions (LFIT) framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Absence of folder 'tmp'

Madeleine-Eyraud opened this issue · comments

Describe the bug
When running an example file for the first time, the transitions don't save to tmp/output.csv because the tmp folder doesn't exist by default.

To Reproduce
Steps to reproduce the behavior:

  1. Download all the files and folders from the github repository
  2. Run an example python file (I did run '')
  3. See error
    Screenshot from 2023-12-11 17-08-11

Expected behavior
Get the final message : 'Saving transitions to csv... Saved to tmp/output.csv' (I got it after creating a 'tmp' folder).

In the example files, add a verification that the tmp folder exists, and if not then create it.