AlanRace / SpectralAnalysis

Software for the analysis and interactive exploration of spectral imaging data
https://alanrace.github.io/SpectralAnalysis/
Apache License 2.0
29 stars 9 forks source link

[Warning] when generating total spectrum #35

Closed inesboxexa closed 4 years ago

inesboxexa commented 4 years ago

Hi Alan,

I get the following warning sometimes:

Warning: Objects of com/alanmrace/JSpectralAnalysis/RegionOfInterest class exist - not clearing java

In javaclasspath>local_javapath (line 195) In javaclasspath (line 124) In javaaddpath (line 71) In isValidLicence (line 12) In canUseJSpectralAnalysis (line 6) In generateFastPreprocessingWorkflow (line 5) In PostProcessing/setUpFastMethods (line 145) In TotalSpectrum/process (line 26) In f_saving_spectra_details (line 57) Warning: Objects of com/alanmrace/jimzmlparser/imzml/ImzML class exist - not clearing java In javaclasspath>local_javapath (line 195) In javaclasspath (line 124) In javaaddpath (line 71) In isValidLicence (line 12) In canUseJSpectralAnalysis (line 6) In generateFastPreprocessingWorkflow (line 5) In PostProcessing/setUpFastMethods (line 145) In TotalSpectrum/process (line 26) In f_saving_spectra_details (line 57) Warning: Error occurred while executing the listener callback for event FastMethods defined for class TotalSpectrum: Error using num2str (line 45) Input to num2str must be numeric.

Error in f_saving_spectra_details>@(src,canUseFastMethods)disp(['! Using fast Methods? A: ',num2str(canUseFastMethods)]) (line 36) addlistener(spectrumGeneration, 'FastMethods', @(src, canUseFastMethods)disp(['! Using fast Methods? A: ' num2str(canUseFastMethods)]));

Error in PostProcessing/setUpFastMethods (line 159) notify(this, 'FastMethods', BooleanEventData(canUseFastMethods));

Error in TotalSpectrum/process (line 26) [canUseFastMethods, workflow] = this.setUpFastMethods(dataRepresentation);

Error in f_saving_spectra_details (line 57) totalSpectrum = spectrumGeneration.process(data); % create total spectrum

In PostProcessing/setUpFastMethods (line 159) In TotalSpectrum/process (line 26) In f_saving_spectra_details (line 57) com.alanmrace.JSpectralAnalysis.Spectrum@381cad29

It keep running but I though you might want to be aware of it.

Thanks, Teresa

AlanRace commented 4 years ago

I think this is caused by the old licencing system that was in place. I have just removed this in the latest committed version as it is no longer used. Can you confirm whether you are still seeing this warning please?

Thanks,

Alan

inesboxexa commented 4 years ago

Hey,

I haven’t seen yet again. Might be solved.

Thank you, Teresa

From: Alan Race [mailto:notifications@github.com] Sent: 11 August 2020 08:40 To: AlanRace/SpectralAnalysis SpectralAnalysis@noreply.github.com Cc: Teresa Murta teresa.murta@npl.co.uk; Author author@noreply.github.com Subject: [EXTERNAL] Re: [AlanRace/SpectralAnalysis] [Warning] when generating total spectrum (#35)

CAUTION: This email originated from outside of NPL. Do not click links or open attachments unless you recognize the sender and know the content is safe.

I think this is caused by the old licencing system that was in place. I have just removed this in the latest committed version as it is no longer used. Can you confirm whether you are still seeing this warning please?

Thanks,

Alan

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AlanRace/SpectralAnalysis/issues/35#issuecomment-671783927, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJCQ7MB263KCDADEKQOITJDSADYVJANCNFSM4PXXIR4Q.

Visit the NPL websitehttps://www.npl.co.uk/ and find out how our cutting-edge measurement science has a positive impact in the real world.


[http://resource.npl.co.uk/images/npl-logo.jpg]http://www.npl.co.uk/?utm_source=Email%20Footer&utm_medium=email&utm_campaign=Homepage Keep in touchhttp://www.npl.co.uk/contact [http://resource.npl.co.uk/images/twitter.jpg] http://www.twitter.com/npl [http://resource.npl.co.uk/images/facebook.jpg] http://www.facebook.com/npldigital [http://resource.npl.co.uk/images/youtube.jpg] http://www.youtube.com/npldigital


NPL Privacy Policyhttp://www.npl.co.uk/privacy-policy/

If you have received this message in error, please notify us and remove it from your system. NPL Management Ltd cannot guarantee that the e-mail or any attachments are free from viruses.

NPL Management Ltd is a company registered in England and Wales, number: 2937881 Registered office: National Physical Laboratory | Hampton Road | Teddington, Middlesex | UK | TW11 0LW