-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with TEP_tools #1
Comments
wha do i do?the erere isValueError Traceback (most recent call last) in main() ~/anaconda3/lib/python3.7/argparse.py in parse_args(self, args, namespace) ~/anaconda3/lib/python3.7/argparse.py in parse_known_args(self, args, namespace) ~/anaconda3/lib/python3.7/argparse.py in parse_known_args(self, arg_strings, namespace) ~/anaconda3/lib/python3.7/argparse.py in error(self, message) ~/anaconda3/lib/python3.7/argparse.py in print_usage(self, file) ~/anaconda3/lib/python3.7/argparse.py in format_usage(self) ~/anaconda3/lib/python3.7/argparse.py in format_help(self) ~/anaconda3/lib/python3.7/argparse.py in format_help(self) ~/anaconda3/lib/python3.7/argparse.py in (.0) ~/anaconda3/lib/python3.7/argparse.py in _format_usage(self, usage, actions, groups, prefix) ValueError: unsupported format character 'p' (0x70) at index 8 |
Hi,
Which version of python is good for your code? It does not work with python 2.7 and 3.6. Some of my errors with python 3.6 are given below. This came out when I compiled "python eltep.py".
Traceback (most recent call last):
File "eltep.py", line 174, in
main()
File "eltep.py", line 126, in main
options = parser.parse_args()
File "/Users/arpita/anaconda2/envs/py36/lib/python3.6/argparse.py", line 1734, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/Users/arpita/anaconda2/envs/py36/lib/python3.6/argparse.py", line 1766, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/Users/arpita/anaconda2/envs/py36/lib/python3.6/argparse.py", line 2001, in _parse_known_args
', '.join(required_actions))
File "/Users/arpita/anaconda2/envs/py36/lib/python3.6/argparse.py", line 2391, in error
self.print_usage(_sys.stderr)
File "/Users/arpita/anaconda2/envs/py36/lib/python3.6/argparse.py", line 2361, in print_usage
self._print_message(self.format_usage(), file)
File "/Users/arpita/anaconda2/envs/py36/lib/python3.6/argparse.py", line 2327, in format_usage
return formatter.format_help()
File "/Users/arpita/anaconda2/envs/py36/lib/python3.6/argparse.py", line 282, in format_help
help = self._root_section.format_help()
File "/Users/arpita/anaconda2/envs/py36/lib/python3.6/argparse.py", line 213, in format_help
item_help = join([func(*args) for func, args in self.items])
File "/Users/arpita/anaconda2/envs/py36/lib/python3.6/argparse.py", line 213, in
item_help = join([func(*args) for func, args in self.items])
File "/Users/arpita/anaconda2/envs/py36/lib/python3.6/argparse.py", line 299, in _format_usage
usage = usage % dict(prog=self._prog)
ValueError: unsupported format character 'p' (0x70) at index 8
2-- OPENMX prints transmittance data in the following format that has 10 columns. However your code "eltran.py" gives an error as "The number of column is not proper."
transmission coefficient (%)
index: energy-grid=1, xx=2, xy=3, xz=4, yx=5, yy=6, yz=7, zx=8, zy=9, zz=10
#energy-grid(eV) xx xy xz yx yy yz zx zy zz
0.00000 54.7712624 0.0035605 75.3858312 0.0032551 49.4875763 0.0026457 75.3858388 0.0030068 50.2707027
0.00100 54.7713014 0.0204062 75.3854962 0.0111275 49.4876346 0.0446505 75.3855039 0.0613031 50.2708441
Hope to here from you soon.
Thank you.
The text was updated successfully, but these errors were encountered: