NO2 plugin

Discuss with developer team, share useful tips, report bugs, request new features and anything else
Post Reply
deepchandra
Posts: 3
Joined: January 20th, 2020, 4:43 am

NO2 plugin

Post by deepchandra »

Hi,

I downloaded the plugin provided by " Hilton DC, Jones RS, Sjödin A. A method for rapid, non-targeted screening for environmental contaminants in household dust. J Chromatogr A. 2010 Oct 29;1217(44):6851-6." from the GC image forum.
I am trying to run the function to find out the NO2 compounds, however, the function is not working. I would appreciate if anyone has suggestions.

DS
qtao
Posts: 212
Joined: October 7th, 2011, 10:16 am

Re: NO2 plugin

Post by qtao »

The script is a direct translation. So it may not work if your data does not match the original author's data. Here is the description provided by the original author:

// Function: nitro();
// ;
// Purpose: Tests a spectrum for indication that it may be a nitro;
// compound.;
// Scope: This routine is for general application with the warning ;
// that the test is limited to test only for compounds showing;
// both loss of NO (30) && of NO2 (46) && m, m-30 || m-46 ;
// must be one of the three strongest ions in the spectrum. ;
// Some nitro compounds do ! show these losses, some show the ;
// molecular ion && losses, but ! at this intensity && ;
// some do ! show a molecular ion. But like fishing - we catch;
// what we can.;
// Passed values: none;
// Return: True if(the spectrum shows the characteristics of a nitro compound;
// described in the scope.;
You may want to check the script inside the plugin folder (e.g. "C:\GC Image\GC Image 2020r3 GCxGC (64-bit)\bin\plugin\Dons_script.plugin\Dons_script.js"). The script is written in JavaScript.

Besides the above nitro(), I would guess that the first_parent() function needs to be updated to your data.
qtao
Posts: 212
Joined: October 7th, 2011, 10:16 am

Re: NO2 plugin

Post by qtao »

If you encountered an "importPackage" error, open the js file with NotePad, delete the following line,

Code: Select all

importPackage(java.lang);
, and save. Then, refresh and re-run the function in CLIC Tool
deepchandra
Posts: 3
Joined: January 20th, 2020, 4:43 am

Re: NO2 plugin

Post by deepchandra »

Thanks a lot for the reply, I will check the first_parent function.
deepchandra
Posts: 3
Joined: January 20th, 2020, 4:43 am

Re: NO2 plugin

Post by deepchandra »

When I run the plugin, I get the "exception" error, I will check the script.
Post Reply