Closed iskren-y-g closed 5 years ago
I found out that this occurs only if I run it within ipython or in a notebook. It is not crashing if I run it in a terminal from script, e.g. python my_pydis_script.py
Well that's interested! I haven't tried the interactive stuff out in the Notebook environment, but it doesn't surprise me that breaks, given how clumsy it was to develop originally.!
It does make me wonder if we should be supporting the notebook explicitly as the "best" data reduction environment... especially since some of the interactive programming can be easier using the web browser...
If I get the time to dig into this, I'd try to make it work, unless you guys are on it before. It is super useful to have it run in ipython or in a jupyter notebook, because it's easy to teach and share ...
It is really nice what you've done so far. With a bit of tweaking, it can become a really nice tool.
Hi guys,
I think that there is a problem with the InteracWave() class when running interactively HeNeAr_fit. For me (MacOS with python 3.6.9 and everything updated), it never enters in the OnClick() event and it exits immediately with the message that I paste below. I guess that it has something to do with the connect/disconnect instance? Is there an easy fix to this?
Cheers, Iskren
Using INTERACTIVE HeNeAr_fit mode:
1) Click on HeNeAr lines in plot window 2) Enter corresponding wavelength in terminal and press
If mis-click or unsure, just press leave blank and press
3) To delete an entry, click on label, enter "d" in terminal, press
4) Close plot window when finished
You have identified 0 lines
TypeError Traceback (most recent call last)