A set of tools to manipulate PORIS instruments:
- graph2poris.py: Creates a PORIS model in ODS format from a PORIS diagram in GraphML.
- poris2xml.py: Creates a PORIS xml file from a PORIS model in ODS format.
Dependences:
pip3 install pyexcel_ods
pip3 install bs4
pip3 install pathlib
pip3 install lxml
Usage:
-
python3 graph2poris.py MyDevice.graphml # A MyDevice.ods file will be created.
-
python3 poris2xml.py MyDevice.ods # A MyDevice.xml file will be created.
For windows:
From .\models execute winporispanel.bat MyDevice
For dummies:
be careful on updating the AstroPorisPlayer repo containing the java vm: git submodule update --init --recursive