Open jessieolough opened 7 months ago
I'll take a look at what might be going on, but I'll note that persistent homology is better in every sense compared to the local maxima-based peak detection. We've only kept that functionality around since it was used in the 2022 paper, but realistically should just deprecate it.
Hi,
I am currently working on running the DEIMoS commands within a Python script from the DEIMoS environment terminal and saving the relevant outputs in the working directory. This has worked well so far for the functions in the Peak Detection tutorial except down to the
partitions.map()
function. When this function is run in the script, the followingRunTimeError
message is infinitely repeated:The function works perfectly well when run independently directly in Python in the terminal and gives the expected
True
output whenall(ms1_peaks_partitioned == ms1_peaks)
is run after it.I am unsure what would be causing this issue when run in the script and any help would be much appreciated.
Many thanks, Jess
Here is the entire script I am running for reference: