macronucleus / Chromagnon

Image correction software for chromatic shifts in fluorescence microscopic images
GNU General Public License v2.0
21 stars 5 forks source link

Threading exception on Linux #20

Closed jstitlow closed 5 years ago

jstitlow commented 5 years ago

Hello, Just upgraded to v0.70 and I get the following error when attempting to run on Linux system:

Exception in thread Thread-1: Traceback (most recent call last): File "/usr/people/bioc1301/miniconda3/envs/chromagnon/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/people/bioc1301/miniconda3/envs/chromagnon/lib/python2.7/site-packages/Chromagnon/threads.py", line 127, in run max_shift = parms[10] IndexError: list index out of range

Was testing in a conda environment that worked with v0.69 (here is the conda_spec file).

Any ideas? Thanks Atsushi!

macronucleus commented 5 years ago

Yes, the code was broken. Your conda environment looks okay. My apologies and thank you for reporting. I have fixed the source code (v0.71). Could you reinstall Chromagnon? Binary releases for linux are still broken, but I am going to release a newer version soon (v0.80), so I will combine this fix into the next release.

jstitlow commented 5 years ago

Awesome! The code works.

FYI, several errors are thrown at initialisation and for deprecation:

(chromagnon) bioc1301@mprocessor1:~/src/Chromagnon$ chromagnon ~/tmp/chromagnon/aligned/20190517_MB077c_myrSNAP_CamKIIYFP_YFP647n_JF549_viol_1h_p1lMB.tif -R ~/tmp/chromagnon/cal/20190517_MB077c_myrSNAP_CamKIIYFP_YFP647n_JF549_viol_1h_p1lMB_cal.tif -E dv