Installation Guide¶
Follow these steps to set up the ts-workflow-examples
package on your local machine.
1. Create and Activate Conda Environment¶
Create a new Conda environment with Python 3.10:
Activate the newly created environment:
2. Clone the Repository and Install Dependencies¶
Clone the repository from GitHub:
Navigate to the cloned repository:Install the package in editable mode:
Install the additional requirements for testing:
3. Running Example Scripts¶
Navigate to one of the directories that contains example scripts inside the src/ts-workflow-examples directory. For example, to run a script from the geodesic_ts_with_hessian directory:
Run the desired script (for example, using_newtonnet.py):
Note: Ensure that you are in the correct directory as the paths inside the input files are relative. This will allow the inputs and ML models provided with the repository to run correctly.