[Task] Solve the issue with GSAS tab reset
-
Locate where the error occurs.
File "/SNS/users/y8z/miniconda/envs/addie_env_3/lib/python3.6/site-packages/addie/main.py", line 772
-
Identify what causes the issue from the error message.
AttributeError: module 'addie.calculate_gr.event_handler' has no attribute 'do_reset_gsas_tab'
-
Go to ADDIE source code folder of local conda environment and it seems we are going to worry about the file
calculate_gr/event_handler.py
. -
Open that file with preferred text editor and see whether we can find the definition of
do_reset_gsas_tab
. -
If it is not defined, definitely we will have issue during program running.
-
-
Solve the issue.
-
Search for
do_reset_gsas_tab
in the whole ADDIE source codes. -
Point
Reset GSAS-tab
menu to wheredo_reset_gsas_tab
is defined.do_reset_gsas_tab
\rightarrow
BraggTree
\rightarrow
main_window.rietveld_ui.treeWidget_braggWSList
.
-
A live working session may be needed to work through this issue.