[codeface] [PATCH 6/8] Add default for global graph query

  • From: Mitchell Joblin <joblin.m@xxxxxxxxx>
  • To: codeface@xxxxxxxxxxxxx
  • Date: Sat, 31 May 2014 12:39:33 +0200

- There actually should not be a need to indicate a cluster
  method since global graphs have no method applied to them

Signed-off-by: Mitchell Joblin <mitchell.joblin.ext@xxxxxxxxxxx>
---
 codeface/R/query.r | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/codeface/R/query.r b/codeface/R/query.r
index 09c8742..4e7fc32 100644
--- a/codeface/R/query.r
+++ b/codeface/R/query.r
@@ -234,7 +234,7 @@ query.cluster.ids <- function(conf, range.id, 
cluster.method) {
 
 ## Cluster -1 is not a proper cluster, but contains the global
 ## collaboration structure
-query.global.collab.con <- function(con, pid, range.id, cluster.method) {
+query.global.collab.con <- function(con, pid, range.id, cluster.method="Spin 
Glass Community") {
   dat <- dbGetQuery(con, str_c("SELECT id FROM cluster WHERE ",
                                "projectId=", pid, " AND releaseRangeId=",
                                range.id, " AND clusterMethod=",
-- 
1.8.3.2


Other related posts:

  • » [codeface] [PATCH 6/8] Add default for global graph query - Mitchell Joblin