From 104b71dd79f3dfed85c78ee38a536a8c10e08096 Mon Sep 17 00:00:00 2001
From: Danilo Piparo <danilo.piparo@cern.ch>
Date: Fri, 21 Aug 2015 14:49:18 +0200
Subject: [PATCH] Disable the divide option for the moment

---
 main/python/rootprint.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/main/python/rootprint.py b/main/python/rootprint.py
index cb418cc1e2b..5a7fe4ea0f2 100755
--- a/main/python/rootprint.py
+++ b/main/python/rootprint.py
@@ -14,7 +14,7 @@ import sys
 COMMAND_HELP = "Print ROOT files contents on ps,pdf or pictures files"
 
 DIRECTORY_HELP = "put output files in a subdirectory named DIRECTORY."
-DIVIDE_HELP = "divide the canvas ont the format 'x'.'y' (ex: 2.2)"
+DIVIDE_HELP = "divide the canvas ont the format 'x','y' (ex: 2,2)"
 DRAW_HELP = "specify draw option"
 FORMAT_HELP = "specify output format (ex: pdf, png)."
 OUTPUT_HELP = "merge files in a file named OUTPUT (only for ps and pdf)."
@@ -40,7 +40,7 @@ def execute():
     # Collect arguments with the module argparse
     parser = cmdLineUtils.getParserFile(COMMAND_HELP, EPILOG)
     parser.add_argument("-d", "--directory", help=DIRECTORY_HELP)
-    parser.add_argument("--divide", help=DIVIDE_HELP)
+    #parser.add_argument("--divide", help=DIVIDE_HELP)
     parser.add_argument("-D", "--draw", default="",  help=DRAW_HELP)
     parser.add_argument("-f", "--outputFormat", help=FORMAT_HELP)
     parser.add_argument("-o", "--output", help=OUTPUT_HELP)
@@ -53,7 +53,8 @@ def execute():
 
     # Process rootPrint
     return cmdLineUtils.rootPrint(sourceList, directory = optDict["directory"], \
-                                  divide = optDict["divide"], draw = optDict["draw"], \
+                                  #divide = optDict["divide"], draw = optDict["draw"], \
+                                  draw = optDict["draw"], \
                                   outputFormat = optDict["outputFormat"], \
                                   output = optDict["output"], size = optDict["size"], \
                                   style = optDict["style"], verbose = optDict["verbose"])
-- 
GitLab