RNA-FRETools / MASH-FRET

MATLAB package to analyze single-molecule FRET data
https://rna-fretools.github.io/MASH-FRET/
GNU General Public License v3.0
8 stars 2 forks source link

Video Processing is not able to open .pma file #64

Closed kaura2 closed 4 years ago

kaura2 commented 4 years ago

Describe the bug I cannot load a .pma video file. MatLab produces an error code saying

Error using zeros Size inputs must be integers.

Error in readPma (line 116) h.movie.movie = zeros([pixelY pixelX frameLen]);

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Video Processing'
  2. Click on 'Load'
  3. Choose any .pma file
  4. See error

Error Code See attachment

Expected behavior I expect for an image to load corresponding to the .pma file so that I may create trace files with a .mash format for further processing.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context I am newly trying this software in the hopes of using BOBA FRET for further analysis of histograms. However, we use the Single.exe software for data acquisition providing video files in the .pma format so I thought to convert my traces by starting with the original video processing.

Your contact kaura2@vcu.edu Capture

mca-sh commented 4 years ago

Hello kaura2, Reading .pma files was not tested since 5 or more years, so thank you for reporting the bug. May I have a short version of your file or any similar file to fix the error?

kaura2 commented 4 years ago

Hello! Thank you for your speedy reply. Is there an email address that I can send the file to? I am having some trouble attaching the file below.

mca-sh commented 4 years ago

Yes, you can use: melodiehadzic@protonmail.com

kaura2 commented 4 years ago

Thank you. I have sent the a short .pma file to the email address provided.

mca-sh commented 4 years ago

Hello kaura2, Thank you for your cooperation! The bug is fixed: I tried the common procedure with your file and everything worked from my side. I will close the issue now (you can download/clone this branch: https://github.com/RNA-FRETools/MASH-FRET/tree/MASH-code-15). Please, do not hesitate to open a new issue if something goes wrong.

If you need help with MASH, you can use the documentation. If you can't find the information you need in the documentation, please contact me. Also, any honest feedback on MASH-FRET (especially from first-timers) are highly appreciated :)