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

'cif2cell' is not recognized as an internal or external command, operable program or batch file. #169

Open
Dalabomba opened this issue Nov 1, 2024 · 2 comments

Comments

@Dalabomba
Copy link

Hi! I was studying Geometric GNN and trying to use your network to predict one paticular property. My dataset was in cif form. However when i added --file_format cif to make the network predict on cif it would present error as in the following screenshots.
I have already installed cif2cell and other requisites in my virtual env.

To Reproduce
My command line is
python -u train_alignn.py --root_dir "./SuperCon3D/order_Tc_split_1" --epochs 3 --batch_size 2 --config "./SuperCon3D/order_Tc_split_1/config_example.json" --output_dir "./SuperCon3D/temp" --file_format cif

Screenshots
image
the Chinese characters here means " 'cif2cell' is not recognized as an internal or external command,
operable program or batch file.
"

Package information

  • Windows 11
  • cif2cell == 2.1.0

I would be grateful if you could help me!!!

@Dalabomba
Copy link
Author

Dalabomba commented Nov 1, 2024

I tried to use cif2cell alone in GitBash, and it worked and successfully created a POSCAR file of a given cif file. But it indeed can't work in cmd. So what's wrong here?

@bdecost
Copy link
Collaborator

bdecost commented Nov 12, 2024

hi - sorry for taking a bit to get back to you.

the cif2cell functionality is implemented in this call to os.system in jarvis-tools here

to get this working I would recommend checking if cif2cell is in the system path. My guess is that you have cif2cell installed in a location that is not on the paths that python searches.

I'm not totally how this works on windows systems, on unix you would check that cif2cell is in one of the directories listed by os.environ["PATH"].

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