oeway / thunder-storm

Automatically exported from code.google.com/p/thunder-storm
Other
0 stars 0 forks source link

Macro : Starting from an empty Imagej session, Results window is not catched for further processing #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. From Fiji a fresh-started Fiji, execute de following macro, replacing 
Path-to-your-CSV by the path to a ThunderSTORM CSV file:

run("Import results", "append=false startingframe=1 rawimagestack= 
filepath=[Path-to-your-CSV] livepreview=false fileformat=[CSV (comma 
separated)]");
run("Visualization", "imleft=0 imtop=0 imwidth=256 imheight=256 
renderer=[Normalized Gaussian] magnification=4.0 dxforce=false colorizez=false 
dx=20.0 threed=false");

What is the expected output? What do you see instead?
The CSV loc file should be imported, and a reconstruction created
Instead the file is imported, the results window is displayed, but then I get 
the following error: 
Requires 'results' window open!

What version of the product are you using? On what operating system?
ThunderSTORM daily build 04/04/14 (the bug was always there) with Fiji, ImageJ 
1.48t, java 1.6.0_65 under OSX 10.9.2

Please provide any additional information below.

Original issue reported on code.google.com by lechrist...@gmail.com on 4 Apr 2014 at 2:50

GoogleCodeExporter commented 9 years ago
OK I have found something :

It fails because the Results window is not the active window when you call the 
Visualization.

if you force
selectWindow("ThunderSTORM: results");
just before every call for a Visualization in your macro it works. But it's a 
bit complicated to figure out...

Original comment by lechrist...@gmail.com on 4 Apr 2014 at 3:09

GoogleCodeExporter commented 9 years ago
Thanks for feedback.
It should be fixed in commit 49dddefa150d (version dev-2014-04-07-b1). 

Original comment by vmodrose...@gmail.com on 7 Apr 2014 at 10:20