mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-07 05:53:37 +01:00
Moved qp_import_trexio.py
This commit is contained in:
parent
6d1cf74e09
commit
b8804f058a
@ -13,12 +13,17 @@ Options:
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import trexio
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from functools import reduce
|
from functools import reduce
|
||||||
from ezfio import ezfio
|
from ezfio import ezfio
|
||||||
from docopt import docopt
|
from docopt import docopt
|
||||||
|
|
||||||
|
try:
|
||||||
|
import trexio
|
||||||
|
except ImportError:
|
||||||
|
print("Error: trexio python module is not found. Try python3 -m pip install trexio")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
QP_ROOT = os.environ["QP_ROOT"]
|
QP_ROOT = os.environ["QP_ROOT"]
|
Loading…
Reference in New Issue
Block a user