# HG changeset patch # User tomnl # Date 1525443649 14400 # Node ID 606b7a3e89fc1d4fbdb40ab6cd9c5a0787c54c9f # Parent baee92500726f85e48a91f8e1b6afc791e3e747f planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit fe424320c0b41d5eb18ed36892750ee9ae41bc0b-dirty diff -r baee92500726 -r 606b7a3e89fc cameradims.R --- a/cameradims.R Fri May 04 06:32:45 2018 -0400 +++ b/cameradims.R Fri May 04 10:20:49 2018 -0400 @@ -79,6 +79,11 @@ df <- df[df$i>opt$intensity_filter,] +if (nrow(df)==0){ + print('No peaks left after filtering') + quit() +} + if (opt$rule_type=='extended_large'){