robocrystallographer
robocrystallographer copied to clipboard
Issue with self.get_component_makeup_summary() for few materials
I tried to dump textual description of a few MP crystals and found for a few crystals like 'VSe2', 'MoW3(SeS3)2', 'Mo3W(Se3S)2' etc I am getting the following error :
Traceback (most recent call last):
File "/dstore/home/kdas/Crystal_Multi_Modal/src_text/script_mat_desc.py", line 41, in
Why it is happening?
Hi, I encountered the same issue when attempting to generate the description for VSe2. Have you managed to resolve the problem?
Hi, I found the same issue when deal with all two two-dimensional structures, --no-makeup args maybe help to obtain results, but the two-dimensional descriptions are missing.
There is an alternative approach that can be used to modify the source code as well:
vi .../xx/robocrys/describe/describer.py +247
comp_desc += " oriented in the {} {}".format(
orientations[0], s_direction
#en.join(orientations), s_direction
)
@pincher-chen Hello! I encountered the same issue when attempting to generate the description. I have a question. Would modifying the code as you suggested ignore cases where there are multiple elements in orientations because you only used orientations[0]? Thank you for your kind response!
Hi, I found the same issue when deal with all two two-dimensional structures, --no-makeup args maybe help to obtain results, but the two-dimensional descriptions are missing.
There is an alternative approach that can be used to modify the source code as well:
vi .../xx/robocrys/describe/describer.py +247
comp_desc += " oriented in the {} {}".format( orientations[0], s_direction #en.join(orientations), s_direction )
Thanks for raising this. It has been fixed in the most recent version.