In the tutorials, the working_dir was often created via utils.mkdir(...., reset=True). When people use this on folders with other data, the content of the folder can get removed. To not bring people to the idea of using this, we use now on almost all tutorials the utils.gettempdir(..., reset=True) option. In some cases, utils.mkdir(...., reset=True) is still used, but then I added a warning in the code (as suggested by @fmaussion):
Beware! If you use reset=True in utils.mkdir, ALL DATA in this folder will be deleted! Use with caution!
In the tutorials, the working_dir was often created via
utils.mkdir(...., reset=True)
. When people use this on folders with other data, the content of the folder can get removed. To not bring people to the idea of using this, we use now on almost all tutorials theutils.gettempdir(..., reset=True)
option. In some cases,utils.mkdir(...., reset=True)
is still used, but then I added a warning in the code (as suggested by @fmaussion):Thanks to Kim Cholibois for reporting this issue!