2018-03-08 10:05:06 +00:00
|
|
|
#!/bin/bash
|
2021-05-18 22:38:48 +02:00
|
|
|
/usr/bin/env ipython3 --profile=solopath -i $(dirname $0)/solopath.py -- "$@"
|
2018-03-08 10:05:06 +00:00
|
|
|
|
|
|
|
|
# Use this script to execute a python module directly, i.e.
|
|
|
|
|
# import it correctly and then execute its main(argv) function if it has one
|
|
|
|
|
# This is meant for testing purposes etc
|
|
|
|
|
|
|
|
|
|
# Allowed syntax:
|
|
|
|
|
# eda/python/solo$ ../solopath hetept/data.py -e FAR
|
|
|
|
|
# eda/python$ ./solopath solo.hetept.data -e FAR
|
|
|
|
|
|
|
|
|
|
|
2019-11-15 14:26:53 +01:00
|
|
|
# Of course you can also directly call ipython -i solopath.py -- module.py -o -a -e etc
|