Displaying 12 results from an estimated 12 matches for "levelname".
Did you mean:
levelnames
2010 Mar 30
1
Adding RcppFrame to RcppResultSet causes segmentation fault
...actor. In the current implementation the
// level names are copied to every factor value (and factors
// in the same column must have the same level names). The level names
// for a particular column will be factored out (pardon the pun) in
// a future release.
int numLevels = 2;
std::string *levelNames = new std::string[2];
levelNames[0] = std::string("pass"); // level 1
levelNames[1] = std::string("fail"); // level 2
// First row (this one determines column types).
std::vector<ColDatum> row1(numCol);
row1[0].setStringValue("a");
row1[1].setDoubleValue(...
2010 Mar 14
1
Improve lattice XYPLOT graphic
Hi,
How I could improve this graphic?
http://www.divshare.com/download/10754700-f81
I would like to write groups labels in each panel and override the
labels from object.
I am try this code:
xyplot(percentagem.mortos~tempo|trat, data=bio.ens, type="a",
? ? ? auto.key=list(points=FALSE, lines=TRUE, columns=3),
? ? ? ylim=c(0,100),scales = list(x = list(at = c(48, 72, 96), labels
? ?
2011 Feb 23
1
Easily switchable factor levels
..."Del Norte County, CA"). Different data
sets use slightly different forms and putting them all together is a
pain.
So I was wondering about ways to attach multiple sets of level codes
to a factor. It would work something like this:
> foo=multifactor(sample(letters,5),levels=letters,levelname="lower")
> foo
[1] m u i z b
Levels: a b c d ... y z
> levels(foo,"upper") = LETTERS
> uselevels(foo,"upper")
> foo
[1] M U I Z B
Levels: A B C D E F....Z
> uselevels(foo,"lower")
> foo
[1] m u i z b
Levels: a b c d ....z
In t...
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
...if ramdisk:
@@ -693,9 +695,19 @@ def format_simple(kernel, ramdisk, args,
s += sep
return s
+def init_log():
+ logger = logging.getLogger()
+ handler = logging.handlers.SysLogHandler(address=''/dev/log'')
+ file_format = (''[%(asctime)s %(process)d] %(levelname)s ''
+ ''(%(module)s:%(lineno)d) %(message)s'')
+ handler.setFormatter(logging.Formatter(file_format))
+ logger.addHandler(handler)
+ logger.setLevel(logging.DEBUG)
+
if __name__ == "__main__":
+ init_log()
sel = None
-
+...
2010 Feb 11
1
[PATCH] Provides a reference implementation management server.
...f you create additional handlers, add them as a key to [handlers]
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+# If you create additional formatters, add them as a key to [formatters]
+[formatter_generic]
+format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
+datefmt = %H:%M:%S
diff --git a/server/ez_setup/README.txt b/server/ez_setup/README.txt
new file mode 100644
index 0000000..77c986d
--- /dev/null
+++ b/server/ez_setup/README.txt
@@ -0,0 +1,14 @@
+This directory exists so that Subversion-based projects can share a sing...
2009 Oct 12
1
First draft: node storage admin
This patch provides the ability to create a "dir" type storage pool, and to add
and remove volumes for existing pools.
2009 Oct 27
1
Storage admin patches
This set of patches supercedes the previous set, and has been rebased
with changes from upstream.
2009 Nov 09
1
Rebased again...
This patch again rebases on upstream and should apply on next as of right now.
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...f you create additional handlers, add them as a key to [handlers]
-[handler_console]
-class = StreamHandler
-args = (sys.stderr,)
-level = NOTSET
-formatter = generic
-
-# If you create additional formatters, add them as a key to [formatters]
-[formatter_generic]
-format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
-datefmt = %H:%M:%S
diff --git a/server/ez_setup/README.txt b/server/ez_setup/README.txt
deleted file mode 100644
index 77c986d..0000000
--- a/server/ez_setup/README.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-This directory exists so that Subversion-based projects can share a...
2009 Oct 14
0
[PATCH node] Provides a new storage administration system to the managed node.
...b/nodeadmin/utils.py
index 55a838c..28ccb8b 100644
--- a/nodeadmin/utils.py
+++ b/nodeadmin/utils.py
@@ -17,9 +17,19 @@
# also available at http://www.gnu.org/copyleft/gpl.html.
import logging
+import re
logging.basicConfig(level=logging.DEBUG,
format='%(asctime)s %(levelname)-8s %(message)s',
datefmt='%a, %d %b %Y %H:%M:%S',
filename='/var/log/ovirt-nodeadmin.log',
filemode='w')
+
+def string_is_not_blank(value):
+ if len(value) > 0: return True
+ return False
+
+def str...
2009 Oct 21
1
Storage administration and refactoring of domain admin
This pair of patches provide a new storage admin interface. Then, on top of that,
it refactors the domain administration pieces to now properly use storage pools
and volumes when defining a new VM.
2009 Sep 16
1
Replacement that includes utils.py
The previous patch was missing this file. Resending.