-
Notifications
You must be signed in to change notification settings - Fork 2
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
ModuleNotFoundError: No module named 'invcryrep' #106
Comments
Hi @adosar , The easiest option for usage now would be to pin slices to a previous version, while I update our package. |
Hi @n0w0f, After pinning the from mattext.representations import TextRep
from pymatgen.core import Structure
# Load structure from a CIF file
from_file = "NaCl.cif"
structure = Structure.from_file(from_file, "cif")
# Initialize TextRep Class
text_rep = TextRep.from_input(structure)
requested_reps = [
"cif_p1",
"slices",
"atom_sequences",
"atom_sequences_plusplus",
"crystal_text_llm",
"zmatrix"
]
# Get the requested text representations
requested_text_reps = text_rep.get_requested_text_reps(requested_reps) # This returns None. This is the structure file
This is the log
|
@adosar Thanks for reporting this ! I indeed see that meanwhile maybe you can use
Some of the representation is failing which could be the cause for |
Hello,
After installing
mattext
I am facing the following issue:I suspect that this may be related to how the
xtal2txt
package loadsslices
as mentioned here.The text was updated successfully, but these errors were encountered: