Move clients to scripts
As said in meeting 002 we can start to move the clients
in a folder called scripts
.
What I did is copy multiModalRegistration.py
and made a link in the same folder to mmr
and add scripts/mmr
in setup.py
.
This way we can edit the .py
with the nice color syntax and have simple short command line to launch it.
clients
to move to scripts
:
-
multiModalRegistration.py -> mmr -
DICregularGrid.py -> rdic -
DICdiscrete.py -> ddic
I think only scripts with command line option parser should go there. For now we can keep the others in clients.
We could use this as an opportunity to check the scripts for good shortcut import a function call:
import spam.module # don't import submodules
spam.module.function() # skip submodule
For this the module __init__.py
has to contain from .submodule import *
And a bit of pep8 wouldn't hurt too.
What do you think? Do we have other clients ready? Do you agree with the short command line naming?