Package madgraph :: Package interface :: Module amcatnlo_run_interface :: Class CmdExtended
[hide private]
[frames] | no frames]

Class CmdExtended

source code

                           object --+        
                                    |        
       common_run_interface.HelpToCmd --+    
                                        |    
                           object --+   |    
                                    |   |    
common_run_interface.CheckValidForCmd --+    
                                        |    
                       object --+       |    
                                |       |    
            extended_cmd.CheckCmd --+   |    
                                    |   |    
                       object --+   |   |    
                                |   |   |    
             extended_cmd.HelpCmd --+   |    
                                    |   |    
                       object --+   |   |    
                                |   |   |    
         extended_cmd.CompleteCmd --+   |    
                                    |   |    
                   object --+       |   |    
                            |       |   |    
     extended_cmd.OriginalCmd --+   |   |    
                                |   |   |    
            extended_cmd.BasicCmd --+   |    
                                    |   |    
                     extended_cmd.Cmd --+    
                                        |    
        common_run_interface.CommonRunCmd --+
                                            |
                                           CmdExtended
Known Subclasses:

Particularisation of the cmd command for aMCatNLO

Nested Classes [hide private]
  InvalidCmd
a class for the invalid syntax call
  ConfigurationError
expected error for wrong command

Inherited from common_run_interface.CommonRunCmd: RunWebHandling

Instance Methods [hide private]
 
__init__(self, me_dir, options, *arg, **opt)
Init history and line continuation
source code
 
get_history_header(self)
return the history header
source code
 
stop_on_keyboard_stop(self)
action to perform to close nicely on a keyboard interupt
source code
 
postcmd(self, stop, line)
Update the status of the run for finishing interactive command
source code
 
nice_user_error(self, error, line)
If a ME run is currently running add a link in the html output
source code
 
nice_config_error(self, error, line)
If a ME run is currently running add a link in the html output
source code
 
nice_error_handling(self, error, line)
If a ME run is currently running add a link in the html output
source code

Inherited from common_run_interface.CommonRunCmd: __del__, add_error_log_in_html, ask_edit_cards, ask_madanalysis5_run_configuration, check_madanalysis5, check_param_card, complete_check_events, complete_compute_widths, complete_decay_events, complete_madanalysis5_hadron, complete_print_results, complete_reweight, complete_systematics, configure_directory, configure_run_mode, copy_lhapdf_set, create_plot, do_EOF, do_check_events, do_compute_widths, do_decay_events, do_delphes, do_exit, do_madanalysis5_hadron, do_open, do_pgs, do_print_results, do_quit, do_reweight, do_set, do_systematics, do_treatcards, find_model_name, gen_card_html, generate_Pythia8_HwU_plots, get_Pdir, get_available_tag, get_characteristics, get_lhapdf_libdir, get_lhapdf_pdfsets_list, get_lhapdf_pdfsetsdir, get_lhapdf_version, get_model, get_pdf_input_filename, get_pid_final_initial_states, help_print_result, help_systematics, install_lhapdf_pdfset, keep_cards, link_lhapdf, load_results_db, make_make_all_html_results, post_set, run_hep2lhe, run_madanalysis5, set_configuration, split_arg, store_result, store_scan_result, update_make_opts, update_status, write_RunWeb

Inherited from common_run_interface.HelpToCmd: help_compute_widths, help_decay_events, help_delphes, help_pgs, help_plot, help_set, help_shower, help_treatcards

Inherited from common_run_interface.CheckValidForCmd: check_check_events, check_compute_widths, check_decay_events, check_delphes, check_open, check_set, check_treatcards, get_events_path

Inherited from extended_cmd.Cmd: ask, avoid_history_duplicate, check_answer_in_input_file, check_import, cmdloop, compile, default, define_child_cmd_interface, do_display, do_help, do_history, do_import, do_save, emptyline, error_handling, exec_cmd, get_stored_line, import_command_file, no_notification, onecmd, onecmd_orig, postloop, precmd, preloop, run_cmd, store_line, write_configuration

Inherited from extended_cmd.CheckCmd: check_history, check_save

Inherited from extended_cmd.HelpCmd: help_EOF, help_display, help_help, help_history, help_quit, help_save

Inherited from extended_cmd.CompleteCmd: complete_display, complete_history, complete_save

Inherited from extended_cmd.BasicCmd: complete, deal_multiple_categories, getTerminalSize, print_suggestions, set_readline_completion_display_matches_hook

Inherited from extended_cmd.OriginalCmd: columnize, complete_help, completedefault, completenames, get_names, parseline, print_topics

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from common_run_interface.CommonRunCmd: ask_edit_card_static, detect_card_type, find_available_run_name, get_MadAnalysis5_interpreter, get_lhapdf_pdfsets_list_static, install_lhapdf_pdfset_static, runMA5, static_check_param_card, static_compute_widths, update_make_opts_full, writeRunWeb

Inherited from extended_cmd.Cmd: timed_input

Inherited from extended_cmd.BasicCmd: list_completion, path_completion

Class Variables [hide private]
  next_possibility = {'start': []}
  debug_output = 'ME5_debug'
  error_debug = 'Please report this bug on https://bugs.launchpa...
  config_debug = 'If you need help with this issue, please, cont...
  keyboard_stop_msg = 'stopping all operation\n in or...

Inherited from common_run_interface.CommonRunCmd: helporder, options_configuration, options_madevent, options_madgraph, sleep_for_error

Inherited from extended_cmd.Cmd: PluginCandidate, allow_notification_center, dirlist, history_header, onedir, plugin_path

Inherited from extended_cmd.Cmd (private): _display_opts

Inherited from extended_cmd.OriginalCmd: doc_header, doc_leader, identchars, intro, lastcmd, misc_header, nohelp, prompt, ruler, undoc_header, use_rawinput

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, me_dir, options, *arg, **opt)
(Constructor)

source code 

Init history and line continuation

Overrides: object.__init__

get_history_header(self)

source code 

return the history header

Overrides: extended_cmd.Cmd.get_history_header

stop_on_keyboard_stop(self)

source code 

action to perform to close nicely on a keyboard interupt

Overrides: extended_cmd.Cmd.stop_on_keyboard_stop

postcmd(self, stop, line)

source code 

Update the status of the run for finishing interactive command

Overrides: extended_cmd.OriginalCmd.postcmd

nice_user_error(self, error, line)

source code 

If a ME run is currently running add a link in the html output

Overrides: extended_cmd.Cmd.nice_user_error

nice_config_error(self, error, line)

source code 

If a ME run is currently running add a link in the html output

Overrides: extended_cmd.Cmd.nice_config_error

nice_error_handling(self, error, line)

source code 

If a ME run is currently running add a link in the html output

Overrides: extended_cmd.Cmd.nice_error_handling

Class Variable Details [hide private]

error_debug

Value:
'''Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in \'%(debug)s\'.
Please attach this file to your report.'''

config_debug

Value:
'''If you need help with this issue, please, contact us on https://ans\
wers.launchpad.net/mg5amcnlo
'''

keyboard_stop_msg

Value:
'''stopping all operation
            in order to quit MadGraph5_aMC@NLO please enter exit'''