# Path: pyDFTutils/queue/commander.py
# def zenobe_run_wannier90(spin=None, **kwargs):
#     if spin is None:
#         command = '/home/acad/ulg-phythema/hexu/.local/bin/wannier90.x wannier90.win'
#     elif spin == 'up':
#         command = '/home/acad/ulg-phythema/hexu/.local/bin/wannier90.x wannier90.up.win'
#     elif spin == 'dn' or spin == 'down':
#         command = '/home/acad/ulg-phythema/hexu/.local/bin/wannier90.x wannier90.dn.win'
#     else:
#         raise NotImplementedError("spin should be None|up|dn")
#     mycommander = zenobe_wannier90(command=command, **kwargs)
#     mycommander.run()


from pyDFTutils.queue.commander import zenobe_run_wannier90
import sys
#!/usr/bin/env python
if __name__=='__main__':
    if len(sys.argv)==2:
        spin = sys.argv[1]
    else:

# Path: pyDFTutils/queue/commander.py
# def zenobe_run_wannier90(spin=None, **kwargs):
#     if spin is None:
#         command = '/home/acad/ulg-phythema/hexu/.local/bin/wannier90.x wannier90.win'
#     elif spin == 'up':
#         command = '/home/acad/ulg-phythema/hexu/.local/bin/wannier90.x wannier90.up.win'
#     elif spin == 'dn' or spin == 'down':
#         command = '/home/acad/ulg-phythema/hexu/.local/bin/wannier90.x wannier90.dn.win'
#     else:
#         raise NotImplementedError("spin should be None|up|dn")
#     mycommander = zenobe_wannier90(command=command, **kwargs)
#     mycommander.run()


# Path: scripts/run_wannier.py
from pyDFTutils.queue.commander import zenobe_run_wannier90
import sys

#!/usr/bin/env python
if __name__=='__main__':
    if len(sys.argv)==2:
        spin = sys.argv[1]
    else:

        spin=None