Skip to content

Commit 4c017b2

Browse files
committed
Add clearer logging to seurat wrapper code
1 parent 9abb3e2 commit 4c017b2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

jbrowse/src/org/labkey/jbrowse/model/JsonFile.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,9 @@ else if (TRACK_TYPES.gff.getFileType().isType(finalLocation) || TRACK_TYPES.gtf.
836836
File exe = JBrowseManager.get().getJbrowseCli();
837837
SimpleScriptWrapper wrapper = new SimpleScriptWrapper(log);
838838
wrapper.setWorkingDir(targetFile.getParentFile());
839+
840+
//TODO: eventually remove this. see: https://github.com/GMOD/jbrowse-components/issues/2354#issuecomment-926320747
841+
wrapper.addToEnvironment("DEBUG", "*");
839842
wrapper.execute(Arrays.asList(exe.getPath(), "text-index", "--force", "--quiet", "--attributes", StringUtils.join(attributes, ","), "--file", targetFile.getPath()));
840843
if (!ixx.exists())
841844
{

singlecell/resources/chunks/Functions.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ bindArgs <- function(fun, seuratObj, allowableArgNames = NULL, disallowedArgName
99
}
1010
else if (!is.null(allowableArgNames)) {
1111
if ((name %in% allowableArgNames) && exists(name)) {
12+
print(paste0('Binding argument: ', name, ': ', get(name)))
1213
boundArgs[[name]] <- get(name)
1314
}
1415
}
1516
else if (exists(name)) {
17+
print(paste0('Binding argument: ', name, ': ', get(name)))
1618
boundArgs[[name]] <- get(name)
1719
}
1820
}
1921

20-
print(paste0('Binding arguments: ', paste0(names(boundArgs), collapse = ',')))
2122
formals(fun)[names(boundArgs)] <- boundArgs
2223

2324
fun

0 commit comments

Comments
 (0)