Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove residual problems #12

Closed
y19880621 opened this issue Dec 6, 2017 · 2 comments
Closed

Remove residual problems #12

y19880621 opened this issue Dec 6, 2017 · 2 comments
Assignees

Comments

@y19880621
Copy link

In xrtQook gui, after removing a renamed "screen" by right click menu and running again, there occurs an error as follows:

Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Anaconda2\lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Anaconda2\lib\site-packages\xrt\multipro.py", line 275, in run
raycing_output = raycing.run.run_process(self.card.beamLine)
File "D:/OneDrive/Codes/XRT/test/Beamline/NanoProbe/StepByStep.py", line 153, in run_process
'Screen_tmp1_BeamLocal': Screen_tmp1_BeamLocal}
NameError: global name 'Screen_tmp1_BeamLocal' is not defined

Then I checked the ".xml" file and found that the "Screen_tmp1_BeamLocal" still existed under . After deleting that line, the program runs properly.

@y19880621
Copy link
Author

... still existed under " Beams type="prop" ".

@yxrmz yxrmz self-assigned this Dec 6, 2017
yxrmz referenced this issue Dec 6, 2017
Renamed beams could not be deleted from the beamLine.beamsDict
@yxrmz
Copy link
Collaborator

yxrmz commented Dec 6, 2017

Thanks for the feedback, the bug should be gone now.

@yxrmz yxrmz closed this as completed Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants