Skip to content

Commit

Permalink
fix incorrect use of drop=FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
grlloyd committed Jul 3, 2024
1 parent 6afe5ce commit 5f8675f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: metabolomicsWorkbenchR
Type: Package
Title: Metabolomics Workbench in R
Version: 1.14.1
Version: 1.14.2
Authors@R: c(
person(
c("Gavin","Rhys"),
Expand Down
2 changes: 1 addition & 1 deletion R/class_def.R
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ setMethod(f = 'do_query',
fq$count=NULL

SM=df[,colnames(fq),drop=FALSE]
df[,colnames(fq),drop=FALSE]=NULL
df[,colnames(fq)]=NULL

df=as.data.frame(t(df))
VM=data.frame(feature_id=rownames(df))
Expand Down

0 comments on commit 5f8675f

Please sign in to comment.