You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix_v = vec3u8([DictIO.GetEssential(self.FIX, is_fix) for is_fix in fix_v_str])
Trackback is as follows:
unhashable type: 'list'
File "E:\EX_library\GeoTaichi-fork\GeoTaichi\src\utils\ObjectIO.py", line 39, in GetEssential
if keyWord in dict:
File "E:\EX_library\GeoTaichi-fork\GeoTaichi\src\mpm\generator\LoadFromFile.py", line 146, in add_txt_body
fix_v = DictIO.GetEssential(self.FIX, fix_v_str)
File "E:\EX_library\GeoTaichi-fork\GeoTaichi\src\mpm\generator\LoadFromFile.py", line 69, in begin
self.add_txt_body(scene, self.myTemplate)
File "E:\EX_library\GeoTaichi-fork\GeoTaichi\src\mpm\GenerateManager.py", line 69, in read_body_file
generator.begin(scene)
File "E:\EX_library\GeoTaichi-fork\GeoTaichi\src\mpm\mainMPM.py", line 146, in add_body_from_file
self.generator.read_body_file(body, self.sims, self.scene)
File "E:\EX_library\GeoTaichi-fork\GeoTaichi\DGb.py", line 75, in <module>
mpm.add_body_from_file(body={"FileType":'TXT',
TypeError: unhashable type: 'list'
Thank you for your reply.
The text was updated successfully, but these errors were encountered:
Thank you for your reply! There are other problems in funtion MPM.add_body_from_file. I tried to fix them by myself. The detail I made change is in my pull requests. I have test it and it can works.
Dear Yihao-Shi:
I got some trouble in import material file when using mpm model.
Funtion MPM.add_body_from_file error
In src\mpm\generator\LoadFromFile.py line146 may fix as follow (the same as BodyGenerator):
Trackback is as follows:
Thank you for your reply.
The text was updated successfully, but these errors were encountered: