kmaterna / elastic_stresses_py

Simple coseismic stress and displacement calculator (a mini-Coulomb, but in Python)
MIT License
51 stars 15 forks source link

When I run the test script, it shows that attributeerror: 'list' object has no attribute 'lon' #6

Closed dream81 closed 3 years ago

kmaterna commented 3 years ago

Hello, thank you for telling me about this issue. I reproduced it and fixed it; it related to a change I made a few months ago, but accidentally left some of the functions using the old way. Thank you! The commit with the changes: 2329b2ce758b9100febce9f4568b9a037a9ca276

Pull again and let me know if it's still not working. Just FYI, when I work with the code, I sometimes flip certain outputs on/off with comments in output_manager.produce_outputs(). (Not the greatest, but I haven't gotten around to making them config-params yet.) So you might have to do that at the moment, if you want certain plots.

dream81 commented 3 years ago

Thank you @kmaterna. When I pull again and it works properly.