sequence
stringlengths
186
3.94k
docstring
stringlengths
11
171
module function_definition identifier parameters identifier block import_statement dotted_name identifier import_from_statement dotted_name identifier dotted_name identifier dotted_name identifier expression_statement assignment identifier call identifier argument_list attribute identifier identifier dictionary express...
Saves the list of installed repo XML settings files.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier expression_statement assignment subscript identifier string string_start string_content string_end call attribute att...
Adds artist and title from the track data, and downloads the cover and embeds it in the MP3 tags.
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier identifier identifier call attribute identifier identifier argument_list for_statement pattern_list identifier identifier identifier call identifier argument_list identifier identifier id...
Get effective n data for the variable.
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier call identifier argument_list attribute identifier identifier try_statement block expression_statement assignment identifier call attribute identifier identifier argument_list integer expres...
Handles the dot subsubcommand.
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list expression_statement assignment identifier subscript attribute identifier identifier integer expression_statement call attribute identifier identifier argument_l...
Get the previous summary and present it.
module function_definition identifier parameters typed_parameter identifier type identifier typed_parameter identifier type identifier type none block with_statement with_clause with_item as_pattern call identifier argument_list identifier string string_start string_content string_end as_pattern_target identifier block...
Writes text to a file.
module function_definition identifier parameters identifier identifier block assert_statement call identifier argument_list identifier identifier if_statement comparison_operator identifier attribute identifier identifier block if_statement comparison_operator identifier attribute identifier identifier block if_stateme...
Remove pane from this Window.
module function_definition identifier parameters identifier block expression_statement string string_start string_content string_end expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end if_statement identifier bl...
Transform the KEY_MAP paramiter into an attrlist for ldap filters
module function_definition identifier parameters identifier identifier block if_statement call attribute attribute identifier identifier identifier argument_list block expression_statement call identifier argument_list string string_start string_content string_end else_clause block expression_statement assignment attri...
Starts the alerter thread
module function_definition identifier parameters identifier list_splat_pattern identifier block if_statement not_operator identifier block return_statement comparison_operator subscript attribute attribute identifier identifier identifier attribute identifier identifier subscript attribute attribute identifier identifi...
Create a join condition, connect B and C
module function_definition identifier parameters identifier identifier block expression_statement assignment pattern_list identifier identifier expression_list unary_operator integer unary_operator integer expression_statement assignment identifier call attribute identifier identifier argument_list identifier if_statem...
Return the span of the first group that matches the pattern.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier subscript subscript subscript identifier string string_start string_content string_end identifier string string_start string_content string_end expression_statement assignment identifier call identifi...
Return the positions of a probe channel group.
module function_definition identifier parameters identifier identifier block expression_statement assignment attribute attribute identifier identifier identifier call identifier argument_list attribute attribute attribute identifier identifier identifier identifier expression_statement call attribute attribute identifi...
Event handler for entering selection mode, disables cell edits
module function_definition identifier parameters identifier identifier identifier default_parameter identifier true block if_statement attribute identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier expression_statement ...
Adjust cuts algorithm interactively.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier string string_start string_end identifier expression_statement assignment identifier call attribute identifier identi...
Remove redunant meta data from title and return it
module function_definition identifier parameters identifier type identifier block return_statement call attribute attribute identifier identifier identifier argument_list attribute identifier identifier binary_operator attribute identifier identifier string string_start string_content string_end
The NetCDF file path.
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none block expression_statement assignment identifier boolean_operator identifier string string_start string_end expression_statement assignment identifier call attribute identifier identifier argu...
Create a conda env
module function_definition identifier parameters identifier identifier dictionary_splat_pattern identifier block expression_statement string string_start string_content string_end return_statement call identifier argument_list identifier binary_operator attribute identifier identifier attribute identifier identifier
Set the final result in `last_metrics`.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier binary_operator string string_start string_content string_end tuple attribute identifier identifier call attribute identifier identifier argument_list identifier expression_statement assignment patter...
Returns a list of all policies defined for the specified scaling group.
module function_definition identifier parameters identifier block import_statement dotted_name identifier return_statement call attribute call attribute identifier identifier argument_list call attribute identifier identifier argument_list attribute identifier identifier identifier argument_list
Return the secure hash digest with sha1 algorithm for a numpy array
module function_definition identifier parameters identifier identifier identifier identifier default_parameter identifier none block expression_statement assignment identifier call identifier argument_list list_comprehension call identifier argument_list identifier for_in_clause identifier identifier for_statement patt...
Log metrics to summary writer and history.
module function_definition identifier parameters identifier default_parameter identifier false default_parameter identifier string string_start string_content string_end default_parameter identifier string string_start string_end default_parameter identifier string string_start string_end default_parameter identifier s...
It returns menu as ul
module function_definition identifier parameters typed_default_parameter identifier type generic_type identifier type_parameter type identifier none block expression_statement assignment identifier type generic_type identifier type_parameter type identifier attribute attribute identifier identifier identifier if_statem...
List all URLs registered with the app.
module function_definition identifier parameters identifier identifier identifier block if_statement parenthesized_expression boolean_operator boolean_operator attribute identifier identifier comparison_operator identifier attribute identifier identifier comparison_operator identifier attribute identifier identifier bl...
Decanonical ortholog name used
module function_definition identifier parameters identifier default_parameter identifier float default_parameter identifier none block if_statement not_operator call identifier argument_list identifier string string_start string_content string_end block expression_statement call attribute identifier identifier argument...
Return the contribution of each column.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list for_statement identifier attribute identifier identifier block expression_statement assignment identifier call attribute identifier identifier argume...
Given a todo item, pretty print it.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list keyword_argument identifier string string_start string_content string_end keyword_argument identifier string string_start string_content string_end k...
Extract entries from the xinetd config files.
module function_definition identifier parameters identifier default_parameter identifier string string_start string_content string_end default_parameter identifier none default_parameter identifier true block return_statement call call identifier argument_list string string_start string_content string_end argument_list...
attempts to cleanly remove skull from ``dset``
module function_definition identifier parameters identifier default_parameter identifier identifier block if_statement not_operator call identifier argument_list attribute identifier identifier block raise_statement call identifier argument_list string string_start string_content string_end return_statement call attrib...
Calculate trend coefficients for the specified order.
module function_definition identifier parameters identifier block expression_statement string string_start string_content string_end for_statement identifier call identifier argument_list attribute identifier identifier block expression_statement call attribute identifier identifier argument_list attribute identifier i...
start the pool's workers
module function_definition identifier parameters block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier call attribute identifier identifier argument_list if_statement comparison_operato...
Return True if an update is available on pypi
module function_definition identifier parameters identifier identifier identifier identifier identifier block expression_statement assignment identifier binary_operator unary_operator identifier identifier expression_statement assignment identifier list_comprehension subscript subscript attribute identifier identifier ...
Calculate the final coinc ranking statistic
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier integer block raise_statement call identifier argument_list call attribute concatenated_string string string_start string_content string_end string string_start string_end identifier argume...
Proximal factory of the quadratically perturbed functional.
module function_definition identifier parameters identifier identifier block return_statement list_comprehension call attribute identifier identifier argument_list identifier identifier for_in_clause identifier attribute identifier identifier
return the x-th column, starting at 0
module function_definition identifier parameters identifier identifier default_parameter identifier false default_parameter identifier true block expression_statement assignment identifier list expression_statement assignment identifier call identifier argument_list identifier if_statement call attribute attribute iden...
recursive glob, gets all files that match the pattern within the directory tree
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none block return_statement call attribute identifier identifier argument_list string string_start string_content string_end string string_start string_content str...
Gets a total count of recipients who have marked your email as spam.
module function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment attribute identifier identifier attribute identifier identifier try_statement blo...
Write to file using default waveset.
module function_definition identifier parameters identifier block return_statement list_comprehension call attribute identifier identifier argument_list for_in_clause identifier call attribute call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end identifie...
Returns a list of all cookies in cookie string format.
module function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block expression_statement call attribute attribute identifier identifier identifier argument_list call identifier argument_list list_splat identifier dictionary_splat identifier
Add a date factory facet
module function_definition identifier parameters identifier dictionary_splat_pattern identifier block if_statement call identifier argument_list identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier if_statement boolean_operator comparison_o...
Print out via pretty print
module function_definition identifier parameters identifier identifier block with_statement with_clause with_item call attribute identifier identifier argument_list block expression_statement assignment identifier call attribute identifier identifier argument_list integer keyword_argument identifier identifier return_s...
Construct a decoder for the next sentence prediction task
module function_definition identifier parameters identifier identifier block if_statement comparison_operator identifier attribute identifier identifier block raise_statement call attribute identifier identifier argument_list identifier return_statement subscript attribute identifier identifier identifier
Returns the reference with the specified name.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call identifier argument_list identifier if_statement comparison_operator attribute identifier identifier none block expression_statement call attribute identifier identifier argument_list ...
Send the request to get raw content.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute call attribute identifier identifier argument_list identifier argument_list identifier return_statement call attribute identifier identifier argument_list identifier
Runs a getReferenceSet request for the specified ID.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end string string_start string_content string_end if_statement comparison_operator string string_start stri...
Verify the provided claims to decide if authentication should be allowed.
module function_definition identifier parameters identifier list_splat_pattern identifier dictionary_splat_pattern identifier block if_statement comparison_operator attribute identifier identifier string string_start string_content string_end block if_statement boolean_operator identifier comparison_operator subscript ...
Add optparse or argparse option depending on CmdHelper initialization.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment pattern_list identifier identifier identifier identifier identifier return_statement list binary_operator integer identifier identifier binary_operator integer identifier identifier
Flip a bounding box horizontally around the y-axis.
module function_definition identifier parameters identifier default_parameter identifier false block expression_statement assignment identifier string string_start string_content string_end if_statement identifier block expression_statement augmented_assignment identifier string string_start string_content string_end e...
Perform a development update
module function_definition identifier parameters identifier default_parameter identifier integer block expression_statement call attribute identifier identifier argument_list identifier expression_statement assignment attribute identifier identifier integer expression_statement assignment attribute identifier identifie...
Initialize the CEMI frame for a group read operation.
module function_definition identifier parameters identifier identifier keyword_separator default_parameter identifier none block expression_statement assignment attribute identifier identifier await call attribute attribute identifier identifier identifier argument_list keyword_argument identifier attribute attribute i...
Format this block device.
module function_definition identifier parameters identifier typed_default_parameter identifier type generic_type identifier type_parameter type identifier type ellipsis tuple string string_start string_end type none block expression_statement call identifier argument_list await call attribute identifier identifier argu...
Waits for the next multipart message and asserts that it contains the given data.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end if_statement comparison_operator identifier attribute identifie...
Get timeline, reloading the site if needed.
module function_definition identifier parameters identifier identifier identifier block expression_statement call attribute call identifier argument_list identifier identifier identifier argument_list identifier identifier expression_statement assignment attribute identifier identifier call attribute identifier identif...
Add the given coroutine in the scheduler.
module function_definition identifier parameters identifier block if_statement boolean_operator not_operator attribute identifier identifier comparison_operator string string_start string_content string_end attribute identifier identifier block expression_statement assignment identifier subscript attribute identifier i...
Raise specific errors on some status codes.
module function_definition identifier parameters typed_parameter identifier type identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end identifier expression_statement assignment identifier call identifier argument_list expression_statement...
Get the Service state object for the specified id.
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier identifier call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier call identifier argument_list call i...
Convert a string representation of RA into a float in degrees.
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none block expression_statement assignment identifier list_comprehension subscript identifier identifier for_in_clause identifier identifier expression_statement assignment identifier list for_statement identi...
Extracts the entry `field` from each item in the supplied iterable, flattening any nested lists
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier dictionary for_statement identifier attribute attribute identifier identifier identifier block try_statement block expression_statement assignment identifier call identifier argument_list ca...
Create a map of all products produced by this or a dependency.
module function_definition identifier parameters identifier identifier identifier block import_statement aliased_import dotted_name identifier identifier expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement assignment identifier parenthesized_expression call...
Delete session entity type with the given entity type display name.
module function_definition identifier parameters identifier block expression_statement assignment identifier attribute identifier identifier if_statement comparison_operator identifier none block raise_statement call identifier argument_list concatenated_string string string_start string_content string_end string strin...
Perform a single step of the morphological Chan-Vese evolution.
module function_definition identifier parameters identifier default_parameter identifier string string_start string_content string_end default_parameter identifier integer block return_statement call identifier argument_list call attribute call attribute identifier identifier argument_list identifier identifier argumen...
Extract the output value from a calculation done with constant images
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end if_statement comparison_operator identifier none block expression_statement assignment attribute identifier identifier list e...
Close threads associated to parent_id
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier call attrib...
Configure a Search registry entry.
module function_definition identifier parameters identifier identifier identifier default_parameter identifier integer block if_statement comparison_operator identifier attribute identifier identifier block expression_statement assignment subscript attribute identifier identifier identifier list expression_statement ca...
Add a new listener to the dispatch
module function_definition identifier parameters identifier identifier block global_statement identifier if_statement comparison_operator identifier none block if_statement call identifier argument_list identifier string string_start string_content string_end block expression_statement assignment identifier attribute i...
A platform independent version of inet_pton
module function_definition identifier parameters identifier identifier dictionary_splat_pattern identifier block expression_statement assignment identifier list for_statement identifier identifier block expression_statement call attribute identifier identifier argument_list call attribute attribute identifier identifie...
Coerces array items with proper coercion.
module function_definition identifier parameters identifier block try_statement block expression_statement assignment pattern_list identifier identifier call attribute attribute attribute attribute identifier identifier identifier identifier identifier argument_list string string_start string_content string_end express...
Populates a User profile object with fields from the LDAP directory.
module function_definition identifier parameters identifier block try_statement block with_statement with_clause with_item as_pattern call identifier argument_list identifier string string_start string_content string_end as_pattern_target identifier block return_statement call attribute identifier identifier argument_l...
Read contents of config file.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier if_statement not_operator identifier block raise_statement call identifier argument_list concatenated_string string string_start string_content strin...
Exports signatures from current graph into a MetaGraphDef.
module function_definition identifier parameters identifier block expression_statement assignment identifier string string_start string_end expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier unary_operator integer expression_statement assignment identif...
Reads a domain name from the packet
module function_definition identifier parameters identifier block expression_statement assignment identifier list if_statement attribute identifier identifier block expression_statement call attribute identifier identifier argument_list tuple identifier string string_start string_content escape_sequence string_end expr...
Create tokens for setting is_noy_spec on describes
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement assignment attribute identifier identifier call identifier argument_list list call attribute identifier identifier argument_list call attribute identifier id...
Create a new URL id that is unique to the parent container
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list expression_statement call attribute identifier identifier argument_list expression_statement assignment identifier call attribute attribute identifier identifier identifie...
Run a single sequence
module function_definition identifier parameters identifier identifier block if_statement boolean_operator comparison_operator attribute identifier identifier attribute identifier identifier line_continuation boolean_operator comparison_operator attribute identifier identifier attribute identifier identifier comparison...
Produces a parameter from a function or method
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier list_comprehension subscript identifier string string_start string_content string_end for_in_clause identifier attribute identifier identifier expression_statement assignment identifier list_comprehen...
Validate we have a good dataset.
module function_definition identifier parameters identifier identifier block expression_statement call attribute identifier identifier argument_list parenthesized_expression call attribute concatenated_string string string_start string_content string_end string string_start string_content string_end identifier argument...
Install untrusted repo signing key
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier call identifier argument_list attribute identifier identifier expression_statement assignment attribute identifier identifier call identifier argument_list attribute identifier identifier
Convert Dataset to scipy's Compressed Sparse Column matrix.
module function_definition identifier parameters identifier block if_statement comparison_operator call identifier argument_list list_comprehension attribute attribute identifier identifier identifier for_in_clause identifier attribute identifier identifier float block return_statement true else_clause block return_sta...
checks if the structure object is charge balanced
module function_definition identifier parameters identifier block expression_statement call identifier argument_list attribute identifier identifier attribute identifier identifier expression_statement call attribute identifier identifier argument_list binary_operator binary_operator string string_start string_content ...
Create an example ckan extension for this environment and install it
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier binary_operator binary_operator attribute identifier identifier attribute identifier identifier integer expression_statement assignment attribute identifier identifier binary_operator binary...
Changes the coordinates as if the query sequence has been reverse complemented
module function_definition identifier parameters block expression_statement assignment identifier call identifier argument_list identifier string string_start string_content string_end expression_statement assignment identifier call identifier argument_list identifier if_statement comparison_operator attribute identifi...
Get the location of the server subpackage
module function_definition identifier parameters identifier identifier identifier identifier identifier block expression_statement assignment identifier list for_statement pattern_list identifier identifier call attribute identifier identifier argument_list block expression_statement assignment identifier call subscrip...
Create a group object from groupings of element objects.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment pattern_list identifier identifier call attribute attribute identifier identifier identifier argument_list identifier try_statement block expression_statement call identifier argument_list subscript i...
Check for an existing metrics file for the given BAM.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier dictionary pair string string_start string_content string_end call identifier argument_list call attribute attribute identifier identifier identifier argument_list string string_start strin...
Performs a single chunk upload.
module function_definition identifier parameters identifier block expression_statement assignment identifier list for_statement identifier call attribute attribute identifier identifier identifier argument_list block expression_statement call attribute identifier identifier argument_list identifier expression_statement...
Purge + download files returning files removed + added
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier list identifier for_statement identifier attribute identifier identifier block if_statement comparison_operator subscript identifier integer string string_start string_content string_end bl...
Callback function to handle variable number of arguments in optparse
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement call attribute attribute identifier identifier identifier argument_list call identifier argument_list keyword_argument identifie...
Creates a session object to be used for `push`, `install`, etc.
module function_definition identifier parameters identifier block if_statement not_operator attribute attribute attribute identifier identifier identifier identifier block return_statement call attribute string string_start string_content string_end identifier argument_list keyword_argument identifier attribute identif...
Substitute the root dir into the database DSN, for Sqlite
module function_definition identifier parameters identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end if_statement identifier block expression_statement assignment identifier subsc...
Raise exception on any error if user callback is missing
module function_definition identifier parameters block expression_statement assignment identifier call identifier argument_list call attribute identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier call identifier argument_list identifier string stri...
Factory to creates a SQLAlchemy queue store, pulling config values from the CoilMQ configuration.
module function_definition identifier parameters identifier identifier identifier block try_statement block expression_statement assignment identifier call identifier argument_list identifier except_clause identifier block expression_statement assignment identifier identifier expression_statement call attribute attribu...
Adjust the loglevel of the root-logger of this run.
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list identifier if_statement comparison_operator call identifier argument_list identifier integer block return_statement identifier expression_statement assignment identifier binary_oper...
Ellipsize the representation of the given object.
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_content string_end default_parameter identifier string string_start string_content string_end block expression_statement assignment identifier dictionary pair string string_start string_content...
Order to buy amount of bitcoins for market price.
module function_definition identifier parameters identifier block if_statement boolean_operator call attribute attribute identifier identifier identifier argument_list comparison_operator call attribute attribute identifier identifier identifier argument_list integer block expression_statement call attribute attribute ...
Function to enable or disable add class button.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list if_statement not_operator call attribute attribute identifier identifier identifier argument_list identifier block expression_statement call attribut...
Create a tomodir subdirectory structure in the given directory
module function_definition identifier parameters identifier block expression_statement call attribute identifier identifier argument_list call attribute string string_start string_content string_end identifier argument_list attribute attribute identifier identifier identifier expression_statement assignment identifier ...
Start a thread for this consumer.
module function_definition identifier parameters identifier block return_statement list identifier identifier identifier identifier identifier identifier identifier identifier identifier
Returns all of the supported releasers.
module function_definition identifier parameters identifier identifier identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call attribute identifier identifier argument_list subscript identifier string string_start string_content string_end identifier expression_statement ass...
Plot grouped GO IDs.
module function_definition identifier parameters identifier identifier block while_statement integer block expression_statement assignment identifier call attribute identifier identifier argument_list if_statement not_operator identifier block break_statement elif_clause not_operator call attribute identifier identifie...
parse lines from the fileinput and send them to the log_parsers
module function_definition identifier parameters identifier identifier default_parameter identifier none block if_statement comparison_operator identifier none block expression_statement assignment pattern_list identifier identifier call attribute attribute identifier identifier identifier argument_list identifier if_s...
Return dict from a file config