[PNM][util] Check for versions of porespy and openpnm in python scripts + updating scripts to new versions
Problem
The extract_pore_network_with_porespy.py and openpnm2dgf.py- script can not be executed with the recent versions of porespy (v.2.2.2) and openpnm (v.3.1.2). And it is also not clear which versions were used for running those.
Suggestion
- find out, which versions of porespy and openpnm were used to run the scripts
- check for the right versions of porespy and openpnm in the scripts (or at least state in a comment which versions were used)
- add a
requirements.txt
in theutil
folder to be able to directly install the right versions of porespy and openpnm - update scripts to use the most recent versions of porespy and openpnm