Comments (2)
Hi @MakaEdgar
Thanks for bringing this to our attention. I can perfectly reproduce your error on my machine as well. The root problem is the call to ase.build.bulk
, which we are simply putting a wrapper around.
The code immediately before the raised error is this (ase.build.bulk.py -- lines 76-81) :
if xref == 'cubic':
# P and Mn are listed as 'cubic' but the lattice constants
# are 7 and 9. They must be something other than simple cubic
# then. We used to just return the cubic one but that must
# have been wrong somehow. --askhl
raise RuntimeError('Only simple cubic ("sc") supported')
I don't have any deep understanding of this, but it looks like it's a known problem over at ASE.
I'm disinclined to start patching over ASE deficiencies by adding extra stuff onto our ASE wrapper functions; I'd rather wait until the problem is solved at the source.
In the meantime, I can offer a simple (albeit a bit ugly and annoying!) workaround:
from pyiron import Project
pr = Project("Mn_fix")
workaround_Mn = pr.create.structure.bulk(name="Fe", a=3.02, crystalstructure="bcc")
# create.structure.bulk is just our new syntax for create_ase_bulk
workaround_Mn[:] = "Mn"
from pyiron_atomistics.
FWIW, this is known in ASE world here and here.
from pyiron_atomistics.
Related Issues (20)
- No JTH potential for Si HOT 27
- [conda package] `emmet` cannot find `custodian` when `pyiron_atomistics` is imported HOT 8
- sphinx eigenvalue parser problem fix (again) HOT 2
- Vasprun parser doesn't parse everything that is intended
- [Pre-bug/Awareness] Vasp changed POSCAR, added "/" after species specification HOT 1
- pr.import_from_path is not correctly importing vasp job HOT 7
- would be nice if pyiron can parse a failed lammps job HOT 5
- LAMMPS interactive indicies bug
- What's the problem with VASP outcar parser? HOT 1
- How to make SPHInX input writer independent of pyiron while using `DataContainer` HOT 6
- Why are Lammps(?) jobs printing "r"??? HOT 3
- Separate animation module HOT 1
- Which one is the recommended kernel to use Pyiron? HOT 4
- Cannot run metadynamics calculation HOT 3
- Next release patch or minor? HOT 1
- DO NOT update to calphy 1.2.17 HOT 1
- Lammps input impossible to subclass nicely HOT 1
- Changes to lammps output hdf5 HOT 1
- Indexing Atoms broken on __getitem__
- Lammps not sorting atoms correctly HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyiron_atomistics.