-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugenhancementmedium-effortRequires more than a few lines of code to fixRequires more than a few lines of code to fix
Description
Was unable to use the analysis.correlate_experiments() due to a NameError.
Line 1003 referenced in the traceback is the only occurrence of isin_array in analysis.py module, so either it was defined in a different module and not called correctly, or is not defined at all.
The experiments passed were test-of-concept using the same data set, but with different thresholds for the peak finding. The experiment sessions seem to work fine otherwise.
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-27-a7140606d294> in <module>
----> 1 analysis.correlate_experiments((pyrimidinetest,pyrimidine))
...\Anaconda\envs\pst\lib\site-packages\pyspectools\spectra\analysis.py in correlate_experiments(experiments, thres_prox, index)
1001 experiment.line_lists["Peaks"].frequencies
1002 )
-> 1003 mask = isin_array(base_freqs, comp_freqs, thres_prox)
1004 # Convert to boolean mask
1005 mask.dtype = bool
NameError: name 'isin_array' is not defined
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugenhancementmedium-effortRequires more than a few lines of code to fixRequires more than a few lines of code to fix