Developer Guide¶
Contributions are welcome! Please feel free to submit a Pull Request.
Setting Up for Development¶
git clone https://github.com/Yi5817/Genarris.git
cd Genarris
git submodule update --init --recursive
pip install -e .
Adding a New Energy Calculator¶
Create a new module under
gnrs/energy/.Implement a class that inherits from
EnergyCalculatorABC.Register the new calculator in
gnrs/core/registry.py.
See the gnrs.energy page for the base class interface.
Adding a New Optimizer¶
Create a new module under
gnrs/optimize/.Implement a class that inherits from
GeometryOptimizerABC.Register the new optimizer in
gnrs/core/registry.py.