Due to the large size and time-consuming nature of EDF files, we recommend users to run our provided Python script locally to generate the database. Once the script has finished running, you can upload the generated database (out.db) through this page to complete the SBII automation batch calculation.
This program is based on Python 3.9.6, and all required packages are listed in 'requirements.txt'.
Open a terminal or command prompt and navigate to the directory where the 'requirements.txt' is located.
After setting up the environment, follow these steps to generate the database:
To create a database from paired EDF and XML files (please ensure that each pair of filenames, excluding the extension, are identical), place them in the same folder, e.g., 'test/'.
Put the 'mainCreateDB.py' script in the parent directory of 'test/', such as 'SBII/'.
Navigate to the 'SBII/' folder in the command line: cd yourPath/SBII/
Run the command: python3 mainCreateDB.py test/