sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_drp_load) function_name_drp_load (parameters (identifier_package) identifier_package (identifier_resource) identifier_resource (default_parameter (identifier_confclass) identifier_confclass (None) None )default_parameter )...
Load the DRPS from a resource file.
(module (function_definition (function_name_get_matrix) function_name_get_matrix (parameters (identifier_self) identifier_self (identifier_indices) identifier_indices )parameters (block (expression_statement (assignment (identifier_new) identifier_new (cal...
Retrieve Saltelli matrix.
(module (function_definition (function_name___insert_frond_RF) function_name___insert_frond_RF (parameters (identifier_d_w) identifier_d_w (identifier_d_u) identifier_d_u (identifier_dfs_data) identifier_dfs_data )parameters (block (expression_statement (call ...
Encapsulates the process of inserting a frond uw into the right side frond group.
(module (function_definition (function_name_get_all_stations) function_name_get_all_stations (parameters (identifier_self) identifier_self (default_parameter (identifier_station_type) identifier_station_type (None) None )default_parameter )parameters (block (exp...
Returns information of all stations. @param<optional> station_type: ['mainline', 'suburban', 'dart']
(module (function_definition (function_name_fetchUrls) function_name_fetchUrls (parameters (identifier_cls) identifier_cls (identifier_url) identifier_url (identifier_data) identifier_data (identifier_urlSearch) identifier_urlSearch )parameters (block (expression_statemen...
Search all entries for given XPath in a HTML page.
(module (function_definition (function_name_get_stats_display_height) function_name_get_stats_display_height (parameters (identifier_self) identifier_self (identifier_curse_msg) identifier_curse_msg )parameters (block (expression_statement (identifier_r) identifier_r )e...
r"""Return the height of the formatted curses message. The height is defined by the number of '\n' (new line).
(module (function_definition (function_name__find_log_index) function_name__find_log_index (parameters (identifier_f) identifier_f )parameters (block (global_statement (identifier__last_asked) identifier__last_asked (identifier__log_cache) identifier__log_cache )globa...
Look up the index of the frequency f in the frequency table. Return the nearest index.
(module (function_definition (function_name_diskwarp_multi_fn) function_name_diskwarp_multi_fn (parameters (identifier_src_fn_list) identifier_src_fn_list (default_parameter (identifier_res) identifier_res (string_'first') string_'first' )default_parameter (default_para...
Helper function for diskwarp of multiple input filenames
(module (function_definition (function_name_split_signature) function_name_split_signature (parameters (identifier_klass) identifier_klass (identifier_signature) identifier_signature )parameters (block (if_statement (comparison_operator (identifier_signature) identi...
Return a list of the element signatures of the topmost signature tuple. If the signature is not a tuple, it returns one element with the entire signature. If the signature is an empty tuple, the result is []. This is useful for e. g. iterating over method parameters which are passed as...
(module (function_definition (function_name__perform_merge) function_name__perform_merge (parameters (identifier_self) identifier_self (identifier_other) identifier_other )parameters (block (if_statement (comparison_operator (call (identifier_len) identi...
Merges the longer string
(module (function_definition (function_name_SetWriteBack) function_name_SetWriteBack (parameters (identifier_self) identifier_self (identifier_filename) identifier_filename )parameters (block (try_statement (block (expression_statement (assignment ...
Sets the config file which will receive any modifications. The main config file can be made writable, but directing all Set() operations into a secondary location. This secondary location will receive any updates and will override the options for this file. Args: filename: A filename which will ...
(module (function_definition (function_name_fetch) function_name_fetch (parameters (identifier_self) identifier_self (default_parameter (identifier_async) identifier_async (False) False )default_parameter (default_parameter (identifier_callback) identifier_callb...
Fetch all information about the current object Args: async (bool): Boolean to make an asynchronous call. Default is False callback (function): Callback method that will be triggered in case of asynchronous call Returns: tuple: (current_fetcher, c...
(module (function_definition (function_name_setup_logging) function_name_setup_logging (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self (identifier_logge...
Set up self.logger This function is called after load_configuration() and after changing to new user/group IDs (if configured). Logging to syslog using the root logger is configured by default, you can override this method if you want something else.
(module (function_definition (function_name_get_field_label) function_name_get_field_label (parameters (identifier_self) identifier_self (identifier_field_name) identifier_field_name (default_parameter (identifier_field) identifier_field (None) None )default_parameter ...
Return a label to display for a field
(module (function_definition (function_name_append) function_name_append (parameters (identifier_self) identifier_self (identifier_frame_p) identifier_frame_p )parameters (block (return_statement (call (attribute (identifier_lib) identifier_lib ...
Add frame to the end of the message, i.e. after all other frames. Message takes ownership of frame, will destroy it when message is sent. Returns 0 on success. Deprecates zmsg_add, which did not nullify the caller's frame reference.
(module (function_definition (function_name_get_numeric_feature_names) function_name_get_numeric_feature_names (parameters (identifier_example) identifier_example )parameters (block (expression_statement (assignment (identifier_numeric_features) identifier_numeric_feature...
Returns a list of feature names for float and int64 type features. Args: example: An example. Returns: A list of strings of the names of numeric features.
(module (function_definition (function_name_get_access_tokens) function_name_get_access_tokens (parameters (identifier_self) identifier_self (identifier_authorization_code) identifier_authorization_code )parameters (block (expression_statement (assignment (identifie...
From the authorization code, get the "access token" and the "refresh token" from Box. Args: authorization_code (str). Authorisation code emitted by Box at the url provided by the function :func:`get_authorization_url`. Returns: tuple. (access_token, refresh_token) Rais...
(module (function_definition (function_name_clean_html) function_name_clean_html (parameters (identifier_context) identifier_context (identifier_data) identifier_data )parameters (block (expression_statement (assignment (identifier_doc) identifier_doc (cal...
Clean an HTML DOM and store the changed version.
(module (function_definition (function_name_cleanup_defenses) function_name_cleanup_defenses (parameters (identifier_self) identifier_self )parameters (block (expression_statement (call (identifier_print_header) identifier_print_header (argument_list ...
Cleans up all data about defense work in current round.
(module (function_definition (function_name__delete_agent) function_name__delete_agent (parameters (identifier_self) identifier_self (identifier_agent_addr) identifier_agent_addr )parameters (block (expression_statement (assignment (attribute (identifier...
Deletes an agent
(module (function_definition (function_name_core_profile_check) function_name_core_profile_check (parameters (identifier_self) identifier_self )parameters (type (None) None )type (block (expression_statement (assignment (identifier_profile_mask) identifier_p...
Core profile check. FOR DEBUG PURPOSES ONLY
(module (function_definition (function_name_get_uint_info) function_name_get_uint_info (parameters (identifier_self) identifier_self (identifier_field) identifier_field )parameters (block (expression_statement (assignment (identifier_length) identifier_length ...
Get unsigned integer property from the DMatrix. Parameters ---------- field: str The field name of the information Returns ------- info : array a numpy array of float information of the data
(module (function_definition (function_name_get_path) function_name_get_path (parameters (identifier_dest) identifier_dest (identifier_file) identifier_file (default_parameter (identifier_cwd) identifier_cwd (None) None )default_parameter )parameters (block ...
Get the writing path of a file.
(module (function_definition (function_name_metalarchives) function_name_metalarchives (parameters (identifier_song) identifier_song )parameters (block (expression_statement (assignment (identifier_artist) identifier_artist (call (identifier_normaliz...
Returns the lyrics found in MetalArchives for the specified mp3 file or an empty string if not found.
(module (function_definition (function_name_get_system_config_directory) function_name_get_system_config_directory (parameters )parameters (block (if_statement (comparison_operator (call (attribute (call (attribute (id...
Return platform specific config directory.
(module (function_definition (function_name__speak_none) function_name__speak_none (parameters (identifier_self) identifier_self (identifier_element) identifier_element )parameters (block (expression_statement (call (attribute (identifier_element) identi...
No speak any content of element only. :param element: The element. :type element: hatemile.util.html.htmldomelement.HTMLDOMElement
(module (function_definition (function_name_save) function_name_save (parameters (identifier_self) identifier_self (default_parameter (identifier_filename) identifier_filename (None) None )default_parameter (default_parameter (identifier_tc) identifier_tc ...
Write this workflow to DAX file
(module (function_definition (function_name_strip_encoding_cookie) function_name_strip_encoding_cookie (parameters (identifier_filelike) identifier_filelike )parameters (block (expression_statement (assignment (identifier_it) identifier_it (call (ide...
Generator to pull lines from a text-mode file, skipping the encoding cookie if it is found in the first two lines.
(module (function_definition (function_name_patch) function_name_patch (parameters (identifier_self) identifier_self (identifier_url) identifier_url (identifier_callback) identifier_callback (default_parameter (identifier_params) identifier_params (None) None )def...
Patch a URL. Args: url(string): URL for the request callback(func): The response callback function headers(dict): HTTP headers for the request Keyword Args: params(dict): Parameters for the request json(dict): JSON body for the request ...
(module (function_definition (function_name_intersects) function_name_intersects (parameters (identifier_self) identifier_self (identifier_other_grid_coordinates) identifier_other_grid_coordinates )parameters (block (expression_statement (assignment (identifier_ogc)...
returns True if the GC's overlap.
(module (function_definition (function_name_specAutoRange) function_name_specAutoRange (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_trace_range) identifier_trace_range (subscript (call...
Auto adjusts the visible range of the spectrogram
(module (function_definition (function_name_fix_missing_lang_tags) function_name_fix_missing_lang_tags (parameters (identifier_marc_xml) identifier_marc_xml (identifier_dom) identifier_dom )parameters (block (function_definition (function_name_get_lang_tag) function_name_get_...
If the lang tags are missing, add them to the MODS. Lang tags are parsed from `marc_xml`.
(module (function_definition (function_name_removeActor) function_name_removeActor (parameters (identifier_self) identifier_self (identifier_a) identifier_a )parameters (block (if_statement (not_operator (attribute (identifier_self) identifier_self ...
Remove ``vtkActor`` or actor index from current renderer.
(module (function_definition (function_name_sanity) function_name_sanity (parameters (identifier_request) identifier_request (identifier_sysmeta_pyxb) identifier_sysmeta_pyxb )parameters (block (expression_statement (call (identifier__does_not_contain_replica_sectio...
Check that sysmeta_pyxb is suitable for creating a new object and matches the uploaded sciobj bytes.
(module (function_definition (function_name_get_children) function_name_get_children (parameters (identifier_self) identifier_self (identifier_id_) identifier_id_ )parameters (block (expression_statement (assignment (identifier_id_list) identifier_id_list ...
Gets the children of the given ``Id``. arg: id (osid.id.Id): the ``Id`` to query return: (osid.id.IdList) - the children of the ``id`` raise: NotFound - ``id`` is not found raise: NullArgument - ``id`` is ``null`` raise: OperationFailed - unable to complete request ...
(module (function_definition (function_name_connect) function_name_connect (parameters (identifier_cls) identifier_cls (identifier_dbname) identifier_dbname )parameters (block (expression_statement (assignment (identifier_test_times_schema) identifier_test_times_sch...
Create a new connection to the SQLite3 database. :param dbname: The database name :type dbname: str
(module (function_definition (function_name_holiday_description) function_name_holiday_description (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_entry) identifier_entry (call (attribute...
Return the holiday description. In case none exists will return None.
(module (function_definition (function_name_open_url) function_name_open_url (parameters (identifier_self) identifier_self (identifier_url) identifier_url )parameters (block (try_statement (block (expression_statement (assignment (identifie...
Open's URL with apiToken in the headers
(module (function_definition (function_name__build_generator_list) function_name__build_generator_list (parameters (identifier_network) identifier_network )parameters (block (expression_statement (assignment (identifier_genos_mv) identifier_genos_mv (call ...
Builds DataFrames with all generators in MV and LV grids Returns ------- :pandas:`pandas.DataFrame<dataframe>` A DataFrame with id of and reference to MV generators :pandas:`pandas.DataFrame<dataframe>` A DataFrame with id of and reference to LV generators :pandas:`pandas.Da...
(module (function_definition (function_name_is_open) function_name_is_open (parameters (identifier_self) identifier_self (default_parameter (identifier_refresh) identifier_refresh (False) False )default_parameter )parameters (block (if_statement (identif...
Get curtains state. Refresh data from Vera if refresh is True, otherwise use local cache. Refresh is only needed if you're not using subscriptions.
(module (function_definition (function_name_rotate) function_name_rotate (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_item) identifier_item (call (attribute (attribute ...
Move the first address to the last position.
(module (function_definition (function_name_format_op_hdr) function_name_format_op_hdr (parameters )parameters (block (expression_statement (assignment (identifier_txt) identifier_txt (binary_operator (call (attribute (string_...
Build the header
(module (function_definition (function_name_write_networking_file) function_name_write_networking_file (parameters (identifier_version) identifier_version (identifier_pairs) identifier_pairs )parameters (block (expression_statement (assignment (identifier_vmnets) id...
Write the VMware networking file.
(module (function_definition (function_name_get_command) function_name_get_command (parameters (identifier_self) identifier_self (identifier_ctx) identifier_ctx (identifier_cmd_name) identifier_cmd_name )parameters (block (if_statement (comparison_operator (id...
gets the subcommands under the service name Parameters ---------- ctx : Context the context object passed into the method cmd_name : str the service name Returns ------- EventTypeSubCommand: returns subcommand if successful, No...
(module (function_definition (function_name_from_grpc) function_name_from_grpc (parameters (identifier_operation) identifier_operation (identifier_operations_stub) identifier_operations_stub (identifier_result_type) identifier_result_type (dictionary_splat_pattern (identifier_k...
Create an operation future using a gRPC client. This interacts with the long-running operations `service`_ (specific to a given API) via gRPC. .. _service: https://github.com/googleapis/googleapis/blob/\ 050400df0fdb16f63b63e9dee53819044bffc857/\ google/longrunning/operat...
(module (function_definition (function_name_generateAcceptHeader) function_name_generateAcceptHeader (parameters (list_splat_pattern (identifier_elements) identifier_elements )list_splat_pattern )parameters (block (expression_statement (assignment (identifie...
Generate an accept header value [str or (str, float)] -> str
(module (function_definition (function_name_set_mtime) function_name_set_mtime (parameters (identifier_self) identifier_self (identifier_name) identifier_name (identifier_mtime) identifier_mtime (identifier_size) identifier_size )parameters (block (expression_statement ...
Set modification time on file.
(module (function_definition (function_name_send_async) function_name_send_async (parameters (identifier_self) identifier_self (typed_parameter (identifier_queue_identifier) identifier_queue_identifier (type (identifier_QueueIdentifier) identifier_QueueIdentifier ...
Send a new ordered message to recipient. Messages that use the same `queue_identifier` are ordered.
(module (function_definition (function_name_liouvillian) function_name_liouvillian (parameters (identifier_H) identifier_H (default_parameter (identifier_Ls) identifier_Ls (None) None )default_parameter )parameters (block (expression_statement (identifie...
r"""Return the Liouvillian super-operator associated with `H` and `Ls` The Liouvillian :math:`\mathcal{L}` generates the Markovian-dynamics of a system via the Master equation: .. math:: \dot{\rho} = \mathcal{L}\rho = -i[H,\rho] + \sum_{j=1}^n \mathcal{D}[L_j] \rho Args: H...
(module (function_definition (function_name_ignore_code) function_name_ignore_code (parameters (identifier_self) identifier_self (identifier_code) identifier_code )parameters (block (if_statement (boolean_operator (comparison_operator (call ...
Check if the error code should be ignored. If 'options.select' contains a prefix of the error code, return False. Else, if 'options.ignore' contains a prefix of the error code, return True.
(module (function_definition (function_name_put_path) function_name_put_path (parameters (identifier_self) identifier_self (identifier_url) identifier_url (identifier_path) identifier_path )parameters (block (expression_statement (assignment (identifier_cache_...
Puts a resource already on disk into the disk cache. Args: url: The original url of the resource path: The resource already available on disk Raises: CacheError: If the file cannot be put in cache
(module (function_definition (function_name_get_suggested_repositories) function_name_get_suggested_repositories (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self ...
Method to procure suggested repositories for the user. :return: Iterator to procure suggested repositories for the user.
(module (function_definition (function_name_get_object_by_record) function_name_get_object_by_record (parameters (identifier_record) identifier_record )parameters (block (if_statement (not_operator (identifier_record) identifier_record )not_operator (block...
Find an object by a given record Inspects request the record to locate an object :param record: A dictionary representation of an object :type record: dict :returns: Found Object or None :rtype: object
(module (function_definition (function_name_createLocationEncoder) function_name_createLocationEncoder (parameters (identifier_t) identifier_t (default_parameter (identifier_w) identifier_w (integer_15) integer_15 )default_parameter )parameters (block (expressio...
A default coordinate encoder for encoding locations into sparse distributed representations.
(module (function_definition (function_name__update_evaluated_individuals_) function_name__update_evaluated_individuals_ (parameters (identifier_self) identifier_self (identifier_result_score_list) identifier_result_score_list (identifier_eval_individuals_str) identifier_eval_individuals_str...
Update self.evaluated_individuals_ and error message during pipeline evaluation. Parameters ---------- result_score_list: list A list of CV scores for evaluated pipelines eval_individuals_str: list A list of strings for evaluated pipelines operator_counts...
(module (function_definition (function_name__read_stc) function_name__read_stc (parameters (identifier_stc_file) identifier_stc_file )parameters (block (expression_statement (assignment (identifier_hdr) identifier_hdr (call (identifier__read_hdr_file...
Read Segment Table of Contents file. Returns ------- hdr : dict - next_segment : Sample frequency in Hertz - final : Number of channels stored - padding : Padding stamps : ndarray of dtype - segment_name : Name of ERD / ETC file segment - start_stamp : First samp...
(module (function_definition (function_name_requires_auth) function_name_requires_auth (parameters (identifier_func) identifier_func )parameters (block (decorated_definition (decorator (call (attribute (identifier_six) identifier_six ...
Handle authentication checks. .. py:decorator:: requires_auth Checks if the token has expired and performs authentication if needed.
(module (function_definition (function_name_do_proplist) function_name_do_proplist (parameters (identifier_self) identifier_self (identifier_subcmd) identifier_subcmd (identifier_opts) identifier_opts (list_splat_pattern (identifier_args) identifier_args )list_splat_patte...
List all properties on files, dirs, or revisions. usage: 1. proplist [PATH...] 2. proplist --revprop -r REV [URL] 1. Lists versioned props in working copy. 2. Lists unversioned remote props on repos revision. ${cmd_option_list}
(module (function_definition (function_name_distribution) function_name_distribution (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_slice_kwargs) identifier_slice_kwargs )dictionary_splat_pattern )parameters (block (expression_statem...
Calculates the number of papers in each slice, as defined by ``slice_kwargs``. Examples -------- .. code-block:: python >>> corpus.distribution(step_size=1, window_size=1) [5, 5] Parameters ---------- slice_kwargs : kwargs Keyw...
(module (function_definition (function_name_stream) function_name_stream (parameters (identifier_self) identifier_self (identifier_accountID) identifier_accountID (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (bloc...
Get a stream of Transactions for an Account starting from when the request is made. Args: accountID: Account Identifier Returns: v20.response.Response containing the results from submitting the request
(module (function_definition (function_name_flatten) function_name_flatten (parameters (identifier_input_list) identifier_input_list )parameters (block (for_statement (identifier_el) identifier_el (identifier_input_list) identifier_input_list (block (if_st...
Return a flattened genertor from an input list. Usage: input_list = [['a'], ['b', 'c', 'd'], [['e']], ['f']] list(flatten(input_list)) >> ['a', 'b', 'c', 'd', 'e', 'f']
(module (function_definition (function_name_search_shell) function_name_search_shell (parameters (identifier_self) identifier_self )parameters (block (with_statement (with_clause (with_item (attribute (identifier_self) identifier_self ...
Looks for a shell service
(module (function_definition (function_name_create_assign_context_menu) function_name_create_assign_context_menu (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_menu) identifier_menu (call ...
Create a context menu, then set the created QMenu as the context menu. This builds the menu with all required actions and signal-slot connections.
(module (function_definition (function_name_write_terminal) function_name_write_terminal (parameters (identifier_matrix) identifier_matrix (identifier_version) identifier_version (identifier_out) identifier_out (default_parameter (identifier_border) identifier_border (N...
\ Function to write to a terminal which supports ANSI escape codes. :param matrix: The matrix to serialize. :param int version: The (Micro) QR code version. :param out: Filename or a file-like object supporting to write text. :param int border: Integer indicating the size of the quiet zone. ...
(module (function_definition (function_name_XstarT_dot) function_name_XstarT_dot (parameters (identifier_self) identifier_self (identifier_M) identifier_M )parameters (block (if_statement (integer_0) integer_0 (block (pass_statement )pass_statement...
get dot product of Xhat and M
(module (function_definition (function_name_flatten) function_name_flatten (parameters (identifier_l) identifier_l )parameters (block (for_statement (identifier_el) identifier_el (identifier_l) identifier_l (block (if_statement (call ...
Flatten an arbitrarily nested sequence. Parameters ---------- l : sequence The non string sequence to flatten Notes ----- This doesn't consider strings sequences. Returns ------- flattened : generator
(module (function_definition (function_name_check_web_config) function_name_check_web_config (parameters (identifier_config_fname) identifier_config_fname )parameters (block (expression_statement (call (identifier_print) identifier_print (argument_list ...
Try to load the Django settings. If this does not work, than settings file does not exist. Returns: Loaded configuration, or None.
(module (function_definition (function_name_root_parent) function_name_root_parent (parameters (identifier_self) identifier_self (default_parameter (identifier_category) identifier_category (None) None )default_parameter )parameters (block (return_statement ...
Returns the topmost parent of the current category.
(module (function_definition (function_name_apply) function_name_apply (parameters (identifier_self) identifier_self (identifier_func) identifier_func (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern (identifier_k...
Apply the function to the transformed swifter object
(module (function_definition (function_name_run) function_name_run (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (parenthesized_expression (attribute (identifier_self) identifier_self (...
If the target table doesn't exist, self.create_table will be called to attempt to create the table.
(module (function_definition (function_name_add_waveform) function_name_add_waveform (parameters (identifier_self) identifier_self (identifier_waveform) identifier_waveform )parameters (block (if_statement (not_operator (call (identifier_isinstance) iden...
Add a waveform to the plot. :param waveform: the waveform to be added :type waveform: :class:`~aeneas.plotter.PlotWaveform` :raises: TypeError: if ``waveform`` is not an instance of :class:`~aeneas.plotter.PlotWaveform`
(module (function_definition (function_name_next) function_name_next (parameters (identifier_self) identifier_self )parameters (block (try_statement (block (expression_statement (assignment (identifier_results) identifier_results (c...
Returns the next sequence of results, given stride and n.
(module (function_definition (function_name_warning) function_name_warning (parameters (identifier_self) identifier_self (identifier_amplexception) identifier_amplexception )parameters (block (expression_statement (assignment (identifier_msg) identifier_msg ...
Receives notification of a warning.
(module (function_definition (function_name_append) function_name_append (parameters (identifier_self) identifier_self (identifier_ldap_filter) identifier_ldap_filter )parameters (block (if_statement (not_operator (call (identifier_isinstance) identifier...
Appends a filter or a criterion to this filter :param ldap_filter: An LDAP filter or criterion :raise TypeError: If the parameter is not of a known type :raise ValueError: If the more than one filter is associated to a NOT operator
(module (function_definition (function_name_current) function_name_current (parameters (identifier_cls) identifier_cls )parameters (block (expression_statement (assignment (identifier_name) identifier_name (call (attribute (identifier_s...
Helper method for getting the current peer of whichever host we're running on.
(module (function_definition (function_name_align) function_name_align (parameters (identifier_self) identifier_self (identifier_input_path) identifier_input_path (identifier_output_path) identifier_output_path (identifier_directions) identifier_directions (identifier_pipeline) i...
align - Takes input path to fasta of unaligned reads, aligns them to a HMM, and returns the aligned reads in the output path Parameters ---------- input_path : str output_path : str reverse_direction : dict A dictionary of read names, with the entries being t...
(module (function_definition (function_name__process_added_port_event) function_name__process_added_port_event (parameters (identifier_self) identifier_self (identifier_port_name) identifier_port_name )parameters (block (expression_statement (call (attribute ...
Callback for added ports.
(module (function_definition (function_name_set_components) function_name_set_components (parameters (identifier_self) identifier_self (identifier_params) identifier_params )parameters (block (for_statement (pattern_list (identifier_key) identifier_key (id...
Set the value of exogenous model elements. Element values can be passed as keyword=value pairs in the function call. Values can be numeric type or pandas Series. Series will be interpolated by integrator. Examples -------- >>> model.set_components({'birth_rate': 10}) ...
(module (function_definition (function_name_add) function_name_add (parameters (identifier_self) identifier_self (identifier_rd) identifier_rd (default_parameter (identifier_ttl) identifier_ttl (None) None )default_parameter )parameters (block (if_statemen...
Add the specified rdata to the rdataset. If the optional I{ttl} parameter is supplied, then self.update_ttl(ttl) will be called prior to adding the rdata. @param rd: The rdata @type rd: dns.rdata.Rdata object @param ttl: The TTL @type ttl: int
(module (function_definition (function_name__get_user) function_name__get_user (parameters (identifier_self) identifier_self (identifier_user) identifier_user )parameters (block (return_statement (call (attribute (string_' ') string_' ' (iden...
Generate user filtering tokens.
(module (function_definition (function_name_merge_query) function_name_merge_query (parameters (identifier_path) identifier_path (identifier_postmap) identifier_postmap (default_parameter (identifier_force_unicode) identifier_force_unicode (True) True )default_parameter...
Merges params parsed from the URI into the mapping from the POST body and returns a new dict with the values. This is a convenience function that gives use a dict a bit like PHP's $_REQUEST array. The original 'postmap' is preserved so the caller can identify a param's source if necessary.
(module (function_definition (function_name_get_correctness_for_response) function_name_get_correctness_for_response (parameters (identifier_self) identifier_self (identifier_response) identifier_response )parameters (block (for_statement (identifier_answer) identifier_answer...
get measure of correctness available for a particular response
(module (function_definition (function_name_scan_file) function_name_scan_file (parameters (identifier_self) identifier_self (identifier_this_file) identifier_this_file )parameters (block (expression_statement (assignment (identifier_params) identifier_params ...
Submit a file to be scanned by VirusTotal :param this_file: File to be scanned (32MB file size limit) :return: JSON response that contains scan_id and permalink.
(module (function_definition (function_name__get_websocket) function_name__get_websocket (parameters (identifier_self) identifier_self (default_parameter (identifier_reuse) identifier_reuse (True) True )default_parameter )parameters (block (if_statement ...
Reuse existing connection or create a new connection.
(module (function_definition (function_name_cli) function_name_cli (parameters (identifier_conf) identifier_conf )parameters (block (try_statement (block (expression_statement (assignment (identifier_config) identifier_config (call ...
OpenVPN status initdb method
(module (function_definition (function_name_log_status) function_name_log_status (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_duration) identifier_duration (binary_operator (call ...
Log a status message.
(module (function_definition (function_name_find_log_dir) function_name_find_log_dir (parameters (default_parameter (identifier_log_dir) identifier_log_dir (None) None )default_parameter )parameters (block (if_statement (identifier_log_dir) identifier_log_dir ...
Returns the most suitable directory to put log files into. Args: log_dir: str|None, if specified, the logfile(s) will be created in that directory. Otherwise if the --log_dir command-line flag is provided, the logfile will be created in that directory. Otherwise the logfile will be crea...
(module (function_definition (function_name_addLNT) function_name_addLNT (parameters (identifier_LocalName) identifier_LocalName (identifier_phenoId) identifier_phenoId (identifier_predicate) identifier_predicate (default_parameter (identifier_g) identifier_g (None) Non...
Add a local name for a phenotype from a pair of identifiers
(module (function_definition (function_name_close) function_name_close (parameters (identifier_self) identifier_self )parameters (block (try_statement (block (expression_statement (call (attribute (attribute (ide...
Closes the tunnel.
(module (function_definition (function_name_write) function_name_write (parameters (identifier_self) identifier_self (identifier_src) identifier_src (default_parameter (identifier_dest) identifier_dest (None) None )default_parameter )parameters (block (if_...
Schedules a write of the file at ``src`` to the ``dest`` path in this jar. If the ``src`` is a file, then ``dest`` must be specified. If the ``src`` is a directory then by default all descendant files will be added to the jar as entries carrying their relative path. If ``dest`` is specified it will be pr...
(module (function_definition (function_name_put) function_name_put (parameters (identifier_self) identifier_self (identifier_key) identifier_key (identifier_val) identifier_val (identifier_minutes) identifier_minutes )parameters (block (expression_statement (assig...
Store an item in the cache. :param key: The cache key :type key: str :param val: The cache value :type val: mixed :param minutes: The lifetime in minutes of the cached value :type minutes: int|datetime
(module (function_definition (function_name__set_ip) function_name__set_ip (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (attribute (identifier_self) identifier_self (identifier__ip) identifier__...
Resolve FQDN to IP address
(module (function_definition (function_name_flatten_reducer) function_name_flatten_reducer (parameters (typed_parameter (identifier_flattened_list) identifier_flattened_list (type (identifier_list) identifier_list )type )typed_parameter (typed_parameter ...
Flattens a list of COMPONENT instances to remove any lists or tuples of COMPONENTS contained within the list :param flattened_list: The existing flattened list that has been populated from previous calls of this reducer function :param entry: An entry to be reduced. Either a COMPONE...
(module (function_definition (function_name_add_pyspark_path) function_name_add_pyspark_path (parameters )parameters (block (try_statement (block (expression_statement (assignment (identifier_spark_home) identifier_spark_home (subscript ...
Add PySpark to the library path based on the value of SPARK_HOME.
(module (function_definition (function_name_provide_session) function_name_provide_session (parameters (identifier_self) identifier_self (default_parameter (identifier_start_new) identifier_start_new (False) False )default_parameter )parameters (block (if_statem...
Makes sure that session is still valid and provides session info :param start_new: If `True` it will always create a new session. Otherwise it will create a new session only if no session exists or the previous session timed out. :type start_new: bool :return: Current session info ...
(module (function_definition (function_name_ctr_geom) function_name_ctr_geom (parameters (identifier_geom) identifier_geom (identifier_masses) identifier_masses )parameters (block (import_statement (aliased_import (dotted_name (identifier_numpy) identifi...
Returns geometry shifted to center of mass. Helper function to automate / encapsulate translation of a geometry to its center of mass. Parameters ---------- geom length-3N |npfloat_| -- Original coordinates of the atoms masses length-N OR length-3N |npfloat_| -- ...
(module (function_definition (function_name_supply) function_name_supply (parameters (identifier_self) identifier_self (identifier_issuer) identifier_issuer )parameters (block (function_definition (function_name__retrieve_jwks) function_name__retrieve_jwks (parameters...
Supplies the `Json Web Key Set` for the given issuer. Args: issuer: the issuer. Returns: The successfully retrieved Json Web Key Set. None is returned if the issuer is unknown or the retrieval process fails. Raises: UnauthenticatedException: When this...
(module (function_definition (function_name_remember_forever) function_name_remember_forever (parameters (identifier_self) identifier_self (identifier_key) identifier_key (identifier_callback) identifier_callback )parameters (block (expression_statement (assignment ...
Get an item from the cache, or store the default value forever. :param key: The cache key :type key: str :param callback: The default function :type callback: mixed :rtype: mixed
(module (function_definition (function_name_calculate_input) function_name_calculate_input (parameters (identifier_self) identifier_self (identifier_buffer) identifier_buffer )parameters (block (if_statement (comparison_operator (attribute (identifier_Tr...
Calculate how many keystrokes were used in triggering this phrase.
(module (function_definition (function_name_access_service_descriptor) function_name_access_service_descriptor (parameters (identifier_price) identifier_price (identifier_consume_endpoint) identifier_consume_endpoint (identifier_service_endpoint) identifier_service_endpoint (identifier...
Access service descriptor. :param price: Asset price, int :param consume_endpoint: url of the service provider, str :param service_endpoint: identifier of the service inside the asset DDO, str :param timeout: amount of time in seconds before the agreement expires, int :param tem...