Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Minor annoyance] Program requires a trace to be open to use the stf.new_window* commands #20
I've written a parser, which reads the plain txt and then applies the relevant stimfit
I then have the parser put the np array into the stimfit gui window using
Also I've tested all variants of the
changed the title from
[Minor annoyance] Program requires a trace to b open to use the stf.new_window* commands
[Minor annoyance] Program requires a trace to be open to use the stf.new_window* commands
Jun 13, 2015
added a commit
Jun 14, 2015
My local cafe thinks this particular undocumented feature is great.
So I'm using Stimfit 0.14.10 on a windows 8 machine.
I updated the parser I'm using so that it automates the process of opening a blank file, processing my data, then switching to the blank file and closing it.
Although it would be kinda neat if I could get this sort of thing happening. Ie have python attempt to make a new window, if it fails, to the open up my dummy file and make the new window without bothering me with a pop-up window to tell me that it can't find an open file.
#for completeness v = np.random.rand(3,2) try: stf.new_window_matrix(v) except: stf.file_open(dummy_file)
At the moment the above code returns False if you run it in a new stimfit session