Opened 9 years ago
Closed 9 years ago
#77 closed defect (fixed)
A bug on DiffractionSimulator'
Reported by: | zhangjr | Owned by: | yanll |
---|---|---|---|
Priority: | critical | Milestone: | pre-alpha |
Component: | general | Version: | 0.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Parent ID: | Parent Tickets: | ||
Estimated Number of Hours: | 0.0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Description
Traceback (most recent call last):
File "/opt/shared/home/zhangjr/git/GPPDfly/src/viewer/menuBar.py", line 149, in diffraction_simulator
self.parent.updateDiffractionSimulator()
File "main.py", line 111, in updateDiffractionSimulator
self.upRightTab.updateDiffractionSimulator()
File "/opt/shared/home/zhangjr/git/GPPDfly/src/viewer/mainTab.py", line 46, in updateDiffractionSimulator
self.histogramPage.startDiffractionSimulator()
AttributeError?: 'CSNSHistogramPage' object has no attribute 'startDiffractionSimulator'
Subtickets
Change History (4)
comment:1 Changed 9 years ago by zhangjr
comment:2 Changed 9 years ago by zhangjr
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 9 years ago by zhangjr
- Resolution fixed deleted
- Status changed from closed to reopened
comment:4 Changed 9 years ago by zhangjr
- Resolution set to fixed
- Status changed from reopened to closed
Note: See
TracTickets for help on using
tickets.
add function in viewer/histogram.py
def startDiffractionSimulator():
To be explained:
if sourceID==0: read data from NEON
elif sourceID==2: read data from simulator
else: not finished yet