Initializing help system before first use

AppInterface.delete_work_dir

AppInterface.delete_work_dir


Purpose
Delete the internal working directory of the xpressinsight package.
Synopsis
delete_work_dir(self)
Further information
1. In test mode, this function deletes the internal working directory. It is recommended to call this function at the beginning of a test, such that the test does not load data from the working directory of a previous test run.
2. If the working directory does not exist, the function returns immediately. If the working directory cannot be deleted, e.g., because another application has a lock on a file, the function raises an exception.
3. Setting this property when insight.test_mode is False will cause the model to abort with a runtime error.
Related topics

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.