zhuminjie / OpenSeesPyDoc

OpenSeesPy Documentation
http://openseespydoc.readthedocs.io
Other
146 stars 106 forks source link

module 'openseespy.opensees' has no attribute 'testNorm' #188

Closed YexiangYan closed 4 years ago

YexiangYan commented 4 years ago

Dear Dr. Zhu: When I run the following command, I get an error:

import openseespy.opensees as op
op.testNorm()

The error is "module 'openseespy.opensees' has no attribute 'testNorm".

Is the python interface of this command not provided yet? I tried this command in tcl format and it can be run. I use the latest version of openseespy.

Thank you for providing such an excellent tool !

mhscott commented 4 years ago

Is it this command to get the convergence test norms?

Tcl_CreateCommand(interp, "testNorms", &getCTestNorms,

From: Yexiang Yan notifications@github.com Sent: Wednesday, June 3, 2020 7:53 PM To: zhuminjie/OpenSeesPyDoc OpenSeesPyDoc@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [zhuminjie/OpenSeesPyDoc] module 'openseespy.opensees' has no attribute 'testNorm' (#188)

Hello, Dr.Zhu. When I run the following command, I get an error:

import openseespy.opensees as op

op.testNorm()

The error is "module 'openseespy.opensees' has no attribute 'testNorm".

Is the python interface of this command not provided yet? I tried this command in tcl format and it can be run. I use the latest version of openseespy.

thank you !

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/zhuminjie/OpenSeesPyDoc/issues/188, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADEIU7CXKS53YIXLKVWIBW3RU4EBFANCNFSM4NSGYXQA.

zhuminjie commented 4 years ago

It is called getCTestNorms right now. But looks like the document calls it testNorm. I will fix the name as the document. For now, you can call getCTestNorms until it's updated.

YexiangYan commented 4 years ago

Dear Prof. Scott and Dr. Zhu:
The code has run successfully by using 'getCTestNorms'. Thank you very much.