Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined variable "obj" or class "obj.Reporting.Error" #23

Closed
rickysax opened this issue Sep 1, 2017 · 7 comments
Closed

Undefined variable "obj" or class "obj.Reporting.Error" #23

rickysax opened this issue Sep 1, 2017 · 7 comments

Comments

@rickysax
Copy link

rickysax commented Sep 1, 2017

The plugin PTKLobes failed with the following error: Undefined function or variable 'PTKLobeMapForMRI'.
The plugin PTKLobes failed with the following error: Undefined function or variable 'PTKLobeMapForMRI'.
The plugin PTKSaveLobarAnalysisResults failed with the following error: Undefined variable "obj" or class "obj.Reporting.Error".
The plugin PTKSaveLungAnalysisResults failed with the following error: Undefined variable "obj" or class "obj.Reporting.Error".
The plugin PTKSaveADCAnalysisResults failed with the following error: Undefined variable "obj" or class "obj.Reporting.Error".
The plugin PTKSaveCoronalAnalysisResults failed with the following error: Undefined variable "obj" or class "obj.Reporting.Error".
The plugin PTKSaveLungAnalysisResults failed with the following error: Undefined variable "obj" or class "obj.Reporting.Error".
The plugin PTKAirwayDistanceTransform failed with the following error: Undefined variable "obj" or class "obj.Reporting.Error".
The plugin PTKCarina failed with the following error: Undefined variable "obj" or class "obj.Reporting.Error".
The plugin PTKAirwayDistanceTransform failed with the following error: Undefined variable "obj" or class "obj.Reporting.Error".

How can I solve this issue? In every class I have this same problem Undefined variable "obj" or class "obj.Reporting.Error"

@tomdoel
Copy link
Owner

tomdoel commented Sep 18, 2017

Hi. Thanks for reporting the errors!

It looks like you are using an MRI dataset. Unfortunately the analysis plugins (lobar analysis, lung analysis etc.) only work on CT datasets, because the algorithms are CT-based.

In future the analysis buttons will be hidden when an MRI is loaded, to avoid confusion.

There is a bug in the error reporting which you have helped me to find. This caused the above errors and I will fix this in the next release. It still won't work with MRI, but the errors should be more helpful.

@rickysax
Copy link
Author

rickysax commented Sep 18, 2017 via email

@tomdoel
Copy link
Owner

tomdoel commented Nov 19, 2017

I don't know, but have look on Matlab Central. You could also check out some of the popular free software packages to see if there are any plugins to help with segmenting and analysing MRI images

@PatrickSousa93
Copy link

Hi,

I'm having a similar problem, but with CT scans for every plugin I try.

The plugin PTKLeftAndRightLungs failed with the following error: Undefined function or variable 'reporting'.
The plugin PTKLobes failed with the following error: Undefined function or variable 'reporting'.
The plugin PTKAirways failed with the following error: Undefined function or variable 'reporting'.
The plugin PTKAirwaysLabelledByLobe failed with the following error: Undefined function or variable 'reporting'.
The plugin PTKLeftAndRightLungs failed with the following error: Undefined function or variable 'reporting'.

I tried it in my own CT scans and in LOLA11 too and it gave me always this message error.

How can I solve it?

Thanks,
Patrick Sousa

@tomdoel
Copy link
Owner

tomdoel commented Dec 18, 2017

Hi @PatrickSousa93. A recent bug fix in v0.7.9 might fix your problem, or if not, it might give you more information on your error.

@tomdoel
Copy link
Owner

tomdoel commented Jan 10, 2018

The original issue has now been resolved so I am closing this issue. The actual cause was that CT segmentation plugins cannot be used with MR data. In version 0.8 the CT segmentation plugins are now disabled for MR datasets to reduce confusion. The error messages reported above were due to a bug in the way the error messages were reported to the user, which has now been fixed.

@tomdoel tomdoel closed this as completed Jan 10, 2018
@rickysax
Copy link
Author

rickysax commented Jan 10, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants