You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when installing and running unit tests, the tutorial notebooks are executed using the local default database. Over time, this db will become clogged by thousands of transport problems. It would be better to use temporary database instead.
This could be achieved by replacing the line "mp = ix.Platform(dbtype='HSQLDB')"
in any notebook by: "mp = ix.Platform(dbprops=os.path.expanduser(os.path.join('~', '.local', 'ixmp', 'unittest')), dbtype='HSQLDB')".
Where all files starting with unittest in ~\.local\ixmp will be deleted after the last unit test.
Note that changing this in the notebook itself would defeat the purpose...
The text was updated successfully, but these errors were encountered:
Currently, when installing and running unit tests, the tutorial notebooks are executed using the local default database. Over time, this db will become clogged by thousands of transport problems. It would be better to use temporary database instead.
This could be achieved by replacing the line
"mp = ix.Platform(dbtype='HSQLDB')"
in any notebook by:
"mp = ix.Platform(dbprops=os.path.expanduser(os.path.join('~', '.local', 'ixmp', 'unittest')), dbtype='HSQLDB')"
.Where all files starting with
unittest
in~\.local\ixmp
will be deleted after the last unit test.Note that changing this in the notebook itself would defeat the purpose...
The text was updated successfully, but these errors were encountered: