ebfret / ebfret-gui

ebFRET (GUI version) – Empirical Bayes HMM analysis for multiple single-molecule FRET time series
ebfret.github.io
Other
11 stars 8 forks source link

File loading problem #25

Open aparente opened 7 years ago

aparente commented 7 years ago

Running Matlab 2016b on Mac OS Sierra 10.12.2 and cannot load files saved from iSMS (both in SMD or vbFRET .mat format).

Get error:

ebFRET

ans =

MainWindow with properties:

 handles: [1×1 struct]
controls: [1×1 struct]
  series: [0×0 struct]
analysis: [1×6 struct]
   plots: []

Reference to non-existent field 'series'.

Error in ebfret.ui.MainWindow/load_data (line 56) if all(cellfun(@isnumeric, {session.series.group}))

Error in ebfret.ui.MainWindow>@(source,event)load_data(self)

Error while evaluating Menu Callback

aparente commented 7 years ago

I have a feeling this is due to the load window on Mac not giving the option to select a file format. When I try to load this same dataset (in either SMD or vbFRET format) on a pc I get the "edge vector" error also listed on the issues page

jwvdm commented 7 years ago

I looked into the issue. It turns out that there was a problem in the initialization procedure that try to guess the means of states bases on the FRET histogram. I have now revised how this procedure is performed. The code for this lives in a new branch that you can find here:

https://github.com/ebfret/ebfret-gui/tree/xlim-fix

Could you download the version in this branch and verify that it solves your issue?

aparente commented 7 years ago

@jwvdm This issue was actually just because I was dumb and didn't see that I had to click "Options" from the file selection dialog to specify that it was SMD .mat format. The edge vector error was a different issue.