Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A Alex_Project
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Zhang, Yuanpeng
  • Alex_Project
  • Issues
  • #11

Closed
Open
Created Jun 16, 2021 by Zhang, Yuanpeng@y8z⭐Owner

[Task] Solve the issue with GSAS tab reset

  1. Locate where the error occurs.

    File "/SNS/users/y8z/miniconda/envs/addie_env_3/lib/python3.6/site-packages/addie/main.py", line 772
  2. 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.

  3. Solve the issue.

    • Search for do_reset_gsas_tab in the whole ADDIE source codes.

    • Point Reset GSAS-tab menu to where do_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.

Edited Jun 16, 2021 by Zhang, Yuanpeng
Assignee
Assign to
Time tracking