Closed gauravdiwan89 closed 7 years ago
I found this issue also! I have created a fix on a forked repo that I have made a pull request for.
While we wait for these changes to be made by the author, you can install the lightly modified version by using devtools::install_github('kmace/growthcurver')
Thanks for the bug fix! The code has been updated.
Hi,
I was using this package to analyze a few bacterial growth curves and I found a small bug in the SummarizeGrowthByPlate function. The function looks for a column titles 'time' and 'blank' and this is done using the grep function. The line of code is as follows:
The current code is summing up the column number which have the entries 'time' and 'blank'. Thus, if the 'blank' column is the 2nd column in the data frame, the condition fails and the code is stopped. I suggest the following correction for both these lines:
I have simply changed 'sum' to 'length'.
I think this will solve the issue.
Thanks!
Gaurav D