def open_help(page='index', anchor=None): # unfortunately, anchors don't work under windows: # http://stackoverflow.com/questions/6374761/python-webrowser-open-url-with-bookmarks-like-www-something-com-file-htmltop webbrowser.open(get_help_path(page, anchor, need_url=True))
testsuites={}, testsuite_paths=testsuite_paths) else: JsonExplorer(args.explorable, testsuites={}, testsuite_paths=testsuite_paths) tk.mainloop() # parser {{{1 parser = argparse.ArgumentParser(description=''' analyse .fastq file and report specific mutations in a .json file; additional output is displayed on stdout and log information is printed on stderr -- for additional see %s ''' % get_help_path()) subparsers = parser.add_subparsers(help='main command to execute') parser.add_argument('-d', '--debug', action='store_true', help='output log information at a debug level') parser.add_argument('-q', '--quiet', action='store_true', help='only output warnings/errors to stderr/log') parser.add_argument('-x', '--excepthook', action='store_true', help='catch exception and launch debugger') parser.add_argument('-l', '--log', help='append log to specified file (similar to redirecting stderr, but without progress bar)') parser.add_argument('-t', '--testsuite-directory', action='append', help='specify a directory that contains subdirectories from which testsuites can be loaded; these are added to the pool of testsuites that can later be selected (scan, info) or that are autoloaded (illustrate, explore, update)') # version {{{2