Skip to content

Commit 28f1346

Browse files
committed
[main] Remove rootbrowse.py
1 parent d01b399 commit 28f1346

File tree

3 files changed

+0
-91
lines changed

3 files changed

+0
-91
lines changed

core/base/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,9 @@ generateManual(haddMan ${CMAKE_SOURCE_DIR}/main/src/hadd-argparse.py ${CMAKE_BIN
242242
generateManual(rootclingMan ${CMAKE_SOURCE_DIR}/core/dictgen/src/rootcling-argparse.py ${CMAKE_BINARY_DIR}/man/rootcling.1)
243243

244244
#---addRootPyCmdMan---------------------------------------------------------------------------
245-
#generateManual(rootbrowseMan ${CMAKE_SOURCE_DIR}/main/python/rootbrowse.py ${CMAKE_BINARY_DIR}/man/rootbrowse.1)
246245
#generateManual(rootcpMan ${CMAKE_SOURCE_DIR}/main/python/rootcp.py ${CMAKE_BINARY_DIR}/man/rootcp.1)
247246
#generateManual(rootdrawtreeMan ${CMAKE_SOURCE_DIR}/main/python/rootdrawtree.py ${CMAKE_BINARY_DIR}/man/rootdrawtree.1)
248247
#generateManual(rooteventselectorMan ${CMAKE_SOURCE_DIR}/main/python/rooteventselector.py ${CMAKE_BINARY_DIR}/man/rooteventselector.1)
249-
#generateManual(rootlsMan ${CMAKE_SOURCE_DIR}/main/python/rootls.py ${CMAKE_BINARY_DIR}/man/rootls.1)
250248
#generateManual(rootmkdirMan ${CMAKE_SOURCE_DIR}/main/python/rootmkdir.py ${CMAKE_BINARY_DIR}/man/rootmkdir.1)
251249
#generateManual(rootmvMan ${CMAKE_SOURCE_DIR}/main/python/rootmv.py ${CMAKE_BINARY_DIR}/man/rootmv.1)
252250
#generateManual(rootprintMan ${CMAKE_SOURCE_DIR}/main/python/rootprint.py ${CMAKE_BINARY_DIR}/man/rootprint.1)

main/python/cmdLineUtils.py

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -789,40 +789,6 @@ def deleteRootObject(rootFile, pathSplit, interactive, recursive):
789789
# End of help strings
790790
##########
791791

792-
##########
793-
# ROOTBROWSE
794-
795-
796-
def _openBrowser(rootFile=None):
797-
browser = ROOT.TBrowser()
798-
if ROOT.gSystem.InheritsFrom("TMacOSXSystem") or browser.IsWeb():
799-
print("Press ctrl+c to exit.")
800-
try:
801-
while True:
802-
if ROOT.gROOT.IsInterrupted() or ROOT.gSystem.ProcessEvents():
803-
break
804-
sleep(0.01)
805-
except (KeyboardInterrupt, SystemExit):
806-
pass
807-
else:
808-
input("Press enter to exit.")
809-
810-
811-
def rootBrowse(fileName=None):
812-
if fileName:
813-
rootFile = openROOTFile(fileName)
814-
if not rootFile:
815-
return 1
816-
_openBrowser(rootFile)
817-
rootFile.Close()
818-
else:
819-
_openBrowser()
820-
return 0
821-
822-
823-
# End of ROOTBROWSE
824-
##########
825-
826792
##########
827793
# ROOTCP
828794

main/python/rootbrowse.py

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)