Skip to content
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

Examples for creating unique displacement configurations #80

Open
nhew1994 opened this issue Aug 20, 2024 · 3 comments
Open

Examples for creating unique displacement configurations #80

nhew1994 opened this issue Aug 20, 2024 · 3 comments

Comments

@nhew1994
Copy link

Hi, this is Nigel Hew. I am a postdoc for Penn State. Do you have any examples I can try to enumerate unique displacement configurations?

@wsmorgan
Copy link
Owner

There is a sample fcc cell in the inputs directory. If that's not what your after then I may be able to come up with one if you can be more specific about your needs.

@nhew1994
Copy link
Author

Thanks @wsmorgan. I will try that and get back to you.

@nhew1994
Copy link
Author

nhew1994 commented Oct 3, 2024

Hi @wsmorgan. I've been trying out some examples as specified in the README. It seems that:

  • makeStr.py has to be replaced by phenumStr.py in the README
  • phenumStr.py expects a struct_enum.out file, but if you do enumeration.py -enum it creates a file named enum.out instead.
  • After running enumeration.py -visualize -shape, I get the following error

Concentrations are being restricted.
Traceback (most recent call last):
File "/jet/home/nhew/.conda/envs/dfttk/bin/enumeration.py", line 399, in
_script_enum(args)
File "/jet/home/nhew/.conda/envs/dfttk/bin/enumeration.py", line 390, in _script_enum
_plot_HNFs(args,testmode=testmode)
File "/jet/home/nhew/.conda/envs/dfttk/bin/enumeration.py", line 14, in _plot_HNFs
HNF_shapes(args["input"],args["lattice"],args["show"],testmode=testmode)
File "/jet/home/nhew/.conda/envs/dfttk/lib/python3.12/site-packages/phenum/visualize.py", line 37, in HNF_shapes
with open(enum,"r") as inf:
^^^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType

Regards,
Nigel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants