Developing Matflow
Matflow: An API for fully reproducible computational material science workflows
A guide to developing your own tasks and schemas for matflow
Gerard’s repository on this is an excellent place to start: https://github.com/LightForm-group/matflow-user-documentation
- Configure matflow-new as in instructions here using
requirements.txt
- Navigate to a local dir where you have read/write access and git clone matflow-new into it:
git clone https://github.com/hpcflow/matflow-new.git .
- Install locally cloned
matflow-new
in egg mode using pippip install -e ./matflow-new
(egg mode means if you make changes then python will use the latest code you have written for this library) - Best practice is to first change branch to a new one describing your addition/change to the code. Do this off the develop branch as thats usually the furthest ahead.
- Now you can make changes to code freely. Best practice is to test the code before committing.
- When youve added your change and it works, commit your changes to code, push your branch to github and submit a pull request to merge your feature/change with develop branch of repo.
- Request to owner of repo pull request into main if its a feature worth having in the software and its been thouroughly tested.