McSAS3GUI is a graphical user interface for the McSAS3 software. This guide will walk you through the steps necessary to clone, set up, and run the McSAS3GUI application.
Ensure you have the following software installed on your system:
-
Clone the Repositories
First, clone the repositories for McSAS3GUI and McSAS3:
git clone https://github.com/toqduj/McSAS3GUI.git git clone https://github.com/BAMresearch/McSAS3.git
-
Switch to the
refactoring
Branch in McSAS3Change to the McSAS3 directory and switch to the
refactoring
branch:cd McSAS3 git switch refactoring
Navigate back to the McSAS3GUI directory:
cd ../McSAS3GUI
-
(Optional) Deactivate Conda Environment
If you're using conda, make sure to deactivate any active environment:
conda deactivate
-
Create a Virtual Environment
Set up a Python virtual environment:
python3.12 -m venv .venv
-
Activate the Virtual Environment
Activate the newly created virtual environment:
source .venv/bin/activate
-
Install Dependencies
Upgrade pip and install required McSAS3GUI dependencies:
pip install --upgrade pip pip install -r requirements.txt
-
Install McSAS3 in Editable Mode
Install the McSAS3 package in editable mode:
pip install -e ../McSAS3/
Once all dependencies are installed, you can run the McSAS3GUI application with the following command (from the McSAS3GUI directory):
python src/main.py
We welcome contributions! Please ensure your code follows the project's coding style and includes relevant tests and documentation.
This project is licensed under the MIT license