You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I use --occ '1 2', error occurs
ValueError: invalid literal for int() with base 10: "'1"
When I check opts.occ, it was ["'1"] instead of ['1 2'] or [1, 2] or ['1'. '2'].
It seems the parser does not work correctly to get the atom list.
The same issue also occurs with pydos.
If I use " instead of ', so "1 2", it looks fine. It printed,
opts.occ: ['1 2']
occ: 1, 2
occAtom: {1, 2}
I'm wondering if the code works okay with those occ variables!
Any help would be greatly appreciated!
Thank you!
Best regards,
Soonho
The text was updated successfully, but these errors were encountered:
In fact, the single and double quote in bash shell are almost identical for a string, there is no way that you can succeed with double quotes and not the single one. Could you please send me a screenshot of your execution and the error message?
Dear Dr. Zheng,
when I use --occ '1 2', error occurs
ValueError: invalid literal for int() with base 10: "'1"
When I check opts.occ, it was ["'1"] instead of ['1 2'] or [1, 2] or ['1'. '2'].
It seems the parser does not work correctly to get the atom list.
The same issue also occurs with pydos.
If I use " instead of ', so "1 2", it looks fine. It printed,
opts.occ: ['1 2']
occ: 1, 2
occAtom: {1, 2}
I'm wondering if the code works okay with those occ variables!
Any help would be greatly appreciated!
Thank you!
Best regards,
Soonho
The text was updated successfully, but these errors were encountered: