This too helps refactoring AiiDA plugins for
the transition from aiida-core v0.x to aiida-core v1.0.
It makes use of the Bowler refactoring tool.
The aiida-plugin-migrator only runs under python3
(but it does not depend on aiida-core).
git clone https://github.com/aiidateam/aiida-plugin-migrator
cd aiida-plugin-migrator
pip install -e .
# need latest bowler fixes
pip install git+https://github.com/facebookincubator/Bowler.git@master
This adds aiida-plugin-migrator.py to the PATH.
aiida-plugin-migrator.py /path/to/plugin/code
Backwards-incompatible changes have been documented in:
- the AiiDA wiki
- the documentation
- this comment (for
aiida.utils)
As the plugin migrator is improved, please keep the Wiki updated.