biocatiit/musclex

1.14.0 - DI- Issues with setting R-min and R-max

rmadhura-iit opened this issue · 8 comments

I am not able to set the R-min and R-max on DI. Attached is a screenshot of the error, along with the error output on CLI.

I also included the error code here.

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/matplotlib/cbook/__init__.py", line 387, in process proxy(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/matplotlib/cbook/__init__.py", line 227, in __call__ return mtd(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/musclex/ui/CPImageWindow.py", line 752, in imgClicked self.ROI[0] = max(rmin, self.ROI[0]) TypeError: 'NoneType' object has no attribute '__getitem__'
1 14-rminrmax-settingissue

More issues:

When i click "Process Entire Folder", after running through a few images, processing stops with the following error message:

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/musclex/ui/CPImageWindow.py", line 869, in batchProcBtnToggled self.processFolder() File "/usr/local/lib/python2.7/dist-packages/musclex/ui/CPImageWindow.py", line 942, in processFolder self.nextImage() File "/usr/local/lib/python2.7/dist-packages/musclex/ui/CPImageWindow.py", line 1115, in nextImage self.onImageChanged() File "/usr/local/lib/python2.7/dist-packages/musclex/ui/CPImageWindow.py", line 1029, in onImageChanged self.processImage() File "/usr/local/lib/python2.7/dist-packages/musclex/ui/CPImageWindow.py", line 1042, in processImage self.updateUI() File "/usr/local/lib/python2.7/dist-packages/musclex/ui/CPImageWindow.py", line 1094, in updateUI self.updateImageTab() File "/usr/local/lib/python2.7/dist-packages/musclex/ui/CPImageWindow.py", line 1255, in updateImageTab model = self.cirProj.info['average_ring_model'] KeyError: 'average_ring_model'

I had to revert to 1.13.11 because analysis would halt at a certain image, different one each time, and wouldnt let me go forward.

Hi,

I have just fixed these two bugs in the 1.14.1 release. Please check that.

Thanks

Hi,
I upgraded to 1.14.1. The calibration settings function seems to be broken. The initial readout is fine. The program detects and center based on rings, but when I choose a calibrant (Silver behenate in this instance), and chose the ring to calibrate against, the settings are not getting updated, and the center moves to a the same spot, that is not the center, as you can see in the screenshot here - The little white dot on the bottom left of the screen is the detected center after doing the calibration.

This was never a problem in previous versions.

1 14 1-calibrationissue

Hi,
Can you send a copy of this image to me? I'm sure that in the latest several releases the calibration part has not been modified. By the way, finding center is the first thing done in the analysis, so the center is not detected based on rings.
Thanks.

I sent the calibration file to you over email because GitHub does not accept tif files here.

I have also not noticed this error until just now, but since 1.13.11 there seems to a be a problem with persistence when we use the "Select Rings Manuall" option. The selection is applied only to the current image and when I click the "Process Entire Folder" button, the program defaults to R-min and R-max.

Hi,

I'm not sure if I tested right as you did.

Scanning Diffraction test on AgBeh-0725-Shot1_0001.tif.

  1. original result without calibration
    image
  2. setting by calibration image
  • before
    image
  • after
    image
  1. result with calibration
    image
    the result looks the same as before, but we can see the differences in the console.

As for the persistence of "Select rings manually", I think it has never been supported so far.

Thanks.