sequence
stringlengths
186
3.94k
docstring
stringlengths
11
171
module function_definition identifier parameters identifier identifier default_parameter identifier integer block expression_statement assignment identifier binary_operator binary_operator binary_operator string string_start string_content string_end identifier binary_operator string string_start string_content string_...
Return text inside an ascii textbox
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end attribute identifier identifier if_statement identifier block expression_statement call attribute identifier ident...
matches the multiline version of a comment
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement call attribute identifier identifier argument_list call attribute string string_start string_content string_end identifier argum...
To modify the category of the post, and kind.
module function_definition identifier parameters identifier identifier identifier identifier block if_statement comparison_operator identifier call identifier argument_list attribute attribute identifier identifier identifier block return_statement call identifier argument_list attribute identifier identifier expressio...
Acknowledge a streamer value as received from the remote side.
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none block if_statement call identifier generator_expression call identifier argument_list identifier tuple attribute identifier identifier identifier for_in_clause tuple_pattern identifier identif...
Return single-level dictionary from dictionary of dictionaries.
module function_definition identifier parameters identifier default_parameter identifier none block if_statement not_operator identifier block expression_statement assignment identifier identifier if_statement identifier block expression_statement assignment identifier call attribute attribute identifier identifier ide...
Matches based on range cluster
module function_definition identifier parameters identifier identifier identifier block if_statement identifier block expression_statement call attribute identifier identifier argument_list string string_start string_content string_end identifier identifier if_statement call identifier argument_list identifier identifi...
Add a foreign device to the FDT.
module function_definition identifier parameters identifier identifier identifier identifier block if_statement identifier block expression_statement call attribute identifier identifier argument_list identifier else_clause block if_statement attribute identifier identifier block expression_statement call attribute ide...
Write the data to a PLY file.
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_content string_end default_parameter identifier unary_operator integer block expression_statement assignment identifier call attribute identifier identifier argument_list return_statement call ...
Open a file on the remote system and return a file-like object.
module function_definition identifier parameters identifier block expression_statement assignment attribute identifier identifier call identifier argument_list identifier keyword_argument identifier call attribute identifier identifier argument_list string string_start string_content string_end keyword_argument identif...
Setup the buttons of the outline explorer widget toolbar.
module function_definition identifier parameters identifier block return_statement dictionary pair string string_start string_content string_end binary_operator binary_operator attribute identifier identifier string string_start string_content string_end call identifier argument_list attribute identifier identifier pai...
Return a dict representation of KnwKBRVAL.
module function_definition identifier parameters identifier identifier identifier identifier block return_statement call attribute attribute attribute identifier identifier identifier identifier argument_list string string_start string_content string_end keyword_argument identifier identifier keyword_argument identifie...
Return a fully-qualified table string.
module function_definition identifier parameters identifier identifier default_parameter identifier false block if_statement boolean_operator comparison_operator identifier string string_start string_content string_end not_operator identifier block expression_statement assignment identifier attribute attribute identifi...
Convert the given data to plotting units.
module function_definition identifier parameters identifier identifier default_parameter identifier none block if_statement call attribute identifier identifier argument_list identifier block return_statement call attribute identifier identifier argument_list keyword_argument identifier call identifier argument_list st...
Redirects the user to success page with informative message
module function_definition identifier parameters identifier block try_statement block if_statement call attribute identifier identifier argument_list block expression_statement call attribute identifier identifier argument_list attribute identifier identifier else_clause block with_statement with_clause with_item as_pa...
Try to load metadata from file.
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_content string_end block expression_statement assignment identifier call identifier argument_list identifier keyword_argument identifier identifier keyword_argument identifier true expression_s...
Return the list of stories written by this staff member
module function_definition identifier parameters identifier default_parameter identifier integer block expression_statement assignment identifier identifier if_statement boolean_operator identifier comparison_operator string string_start string_content string_end identifier block expression_statement assignment pattern...
Separates out the quality score from the accepted content_type
module function_definition identifier parameters identifier block for_statement identifier call attribute identifier identifier argument_list identifier block if_statement boolean_operator not_operator call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end ...
Yield directory file names.
module function_definition identifier parameters block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end while_statement true block for_statement identifier expression_list identifier identifier identifier ide...
Detect the version control system used for the current directory.
module function_definition identifier parameters identifier default_parameter identifier attribute identifier identifier block return_statement call identifier argument_list attribute identifier identifier identifier keyword_argument identifier identifier keyword_argument identifier attribute identifier identifier
Get a list of local bifurcation angles in a collection of neurites
module function_definition identifier parameters identifier identifier identifier block if_statement call identifier argument_list identifier attribute identifier identifier block return_statement identifier if_statement not_operator call identifier argument_list identifier identifier block expression_statement call at...
Check if value is a valid datetime object or JSON datetime string
module function_definition identifier parameters identifier default_parameter identifier none block if_statement not_operator attribute attribute attribute identifier identifier identifier identifier block return_statement if_statement comparison_operator identifier none block expression_statement assignment identifier...
This notifies the parent flow of our termination.
module function_definition identifier parameters identifier block expression_statement assignment identifier dictionary expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list identifier string string_start string_content string_end with_statement with_clause w...
Read kioslaverc into data dictionary.
module function_definition identifier parameters identifier identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier dictionary pair string string_start string_content string_e...
Render Datatables expected JSON format
module function_definition identifier parameters identifier identifier default_parameter identifier none block return_statement call attribute identifier identifier argument_list binary_operator parenthesized_expression binary_operator attribute identifier identifier attribute identifier identifier identifier keyword_a...
Adds a network to dhcp agent.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier expression_statement assignment identifier subscript attribute identifier identifier integer expression_statement assignment identifier subscript att...
Computes number of mean crossings for each variable in a segmented time series
module function_definition identifier parameters identifier block return_statement boolean_operator not_operator attribute identifier identifier call identifier generator_expression comparison_operator attribute identifier identifier attribute attribute identifier identifier identifier for_in_clause identifier attribut...
True if we can execute the callback.
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end expression_statement augmented_assignment identifier string string_start string_content strin...
Timestamp for placing into filepaths.
module function_definition identifier parameters identifier block if_statement comparison_operator identifier integer block raise_statement identifier if_statement comparison_operator identifier integer block expression_statement assignment identifier call identifier argument_list binary_operator integer identifier if_...
Return a signed or unsigned int
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end string string_start string_end expression_statement assignment identifier attribute identifie...
Generate a valid slug, in case the given one is taken
module function_definition identifier parameters identifier identifier identifier default_parameter identifier none block if_statement comparison_operator identifier none block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list call attribute attribute ide...
Split a VCF file into separate files by chromosome.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call identifier argument_list list_splat call identifier argument_list identifier expression_statement assignment identifier call identifier argument_list list_splat identifier expression_s...
For a given haab-tzolk'in combination, and a Julian day count, find the next occurrance of the combination after the date
module function_definition identifier parameters identifier default_parameter identifier integer default_parameter identifier integer default_parameter identifier float default_parameter identifier integer default_parameter identifier integer default_parameter identifier string string_start string_content string_end de...
Return the tm of `seq` as a float.
module function_definition identifier parameters identifier block with_statement with_clause with_item as_pattern call attribute attribute attribute identifier identifier identifier identifier argument_list attribute identifier identifier string string_start string_content string_end as_pattern_target identifier block ...
Prepare the master to expect a signing request
module function_definition identifier parameters identifier block function_definition identifier parameters identifier default_parameter identifier string string_start string_end block import_statement dotted_name identifier expression_statement call attribute identifier identifier argument_list lambda call attribute i...
Prompt for a new filename via terminal.
module function_definition identifier parameters identifier block if_statement comparison_operator identifier integer block return_statement identifier if_statement comparison_operator identifier integer block return_statement identifier if_statement comparison_operator identifier integer block return_statement identif...
Return the Catalyst datatype from the size of integers.
module function_definition identifier parameters identifier type none block function_definition identifier parameters identifier block if_statement identifier block expression_statement assignment identifier call attribute identifier identifier argument_list identifier identifier expression_statement call attribute ide...
Pose a dialog to name and create a workspace.
module function_definition identifier parameters default_parameter identifier string string_start string_content string_end default_parameter identifier string string_start string_content string_end default_parameter identifier integer block expression_statement assignment identifier list string string_start string_con...
Clean function to know how much time took the execution of one statement
module function_definition identifier parameters identifier identifier default_parameter identifier string string_start string_content string_end block expression_statement assignment attribute identifier identifier call identifier argument_list identifier keyword_argument identifier identifier
start logging raw bytes to the given logfile, without timestamps
module function_definition identifier parameters block import_statement dotted_name identifier identifier identifier expression_statement call attribute attribute attribute identifier identifier identifier identifier argument_list import_statement dotted_name identifier identifier identifier expression_statement assign...
The main function for salt-api
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 attribute identifier identifier expression_statement call attribute attribute identi...
A combined MultiDict with POST and GET parameters.
module function_definition identifier parameters identifier identifier block expression_statement string string_start string_content string_end for_statement identifier attribute identifier identifier block expression_statement assignment identifier tuple attribute identifier identifier attribute identifier identifier ...
Returns True if the given section conflicts with this time range.
module function_definition identifier parameters identifier identifier block if_statement boolean_operator comparison_operator attribute identifier identifier string string_start string_content string_end comparison_operator attribute identifier identifier string string_start string_content string_end block return_stat...
Get the total length of the whole reference sequence
module function_definition identifier parameters identifier identifier identifier identifier block if_statement comparison_operator identifier attribute identifier identifier block raise_statement call identifier argument_list binary_operator parenthesized_expression concatenated_string string string_start string_conte...
Wrapper to call a list's method from one of the events
module function_definition identifier parameters identifier block expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identif...
Find a unique identifier for each feature, create it if needed.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier attribute identifier identifier expression_statement assignment identifier list expression_statement assignment identifier call attribute identifier identifier argument_list string string_s...
Parse mol object and write a line to the csv file
module function_definition identifier parameters identifier block try_statement block expression_statement assignment identifier subscript attribute identifier identifier string string_start string_content string_end except_clause identifier block return_statement false expression_statement assignment identifier call a...
Called to scroll text
module function_definition identifier parameters identifier identifier default_parameter identifier none block if_statement comparison_operator identifier attribute identifier identifier block raise_statement call identifier argument_list call attribute string string_start string_content string_end identifier argument_...
Return a tornado Future that will resolve when the requested state is set
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end expression_statement assignment identifier call attribute identifier identifier argument_list for_statement identif...
Move scheduled jobs into queues.
module function_definition identifier parameters typed_parameter identifier type identifier type identifier block if_statement not_operator call attribute attribute identifier identifier identifier argument_list identifier block raise_statement call identifier argument_list concatenated_string string string_start strin...
Ensures the provided file is a yaml file
module function_definition identifier parameters identifier identifier block try_statement block expression_statement call attribute identifier identifier argument_list call attribute attribute identifier identifier identifier argument_list identifier integer except_clause identifier block pass_statement expression_sta...
Write data to file
module function_definition identifier parameters block expression_statement assignment identifier string string_start string_content string_end for_statement identifier call attribute call attribute identifier identifier argument_list call identifier argument_list identifier identifier argument_list string string_start...
Iterator over all available ROOT classes
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier call attribute identifier identifier argument_list binary_operator concatenated_string string string_start string_content string_end string string_start string_content string_end attribut...
Drop all existing tables.
module function_definition identifier parameters identifier default_parameter identifier string string_start string_content string_end default_parameter identifier none default_parameter identifier binary_operator attribute identifier identifier attribute identifier identifier default_parameter identifier none default_...
Return an iterator of policy changes along a commit lineage in a repo.
module function_definition identifier parameters identifier identifier block return_statement call identifier generator_expression call attribute identifier identifier argument_list identifier identifier for_in_clause identifier identifier
Does this filename match any of the regular expressions?
module function_definition identifier parameters block expression_statement assignment identifier dictionary with_statement with_clause with_item as_pattern call identifier argument_list call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end string string_s...
Get the version number without importing the mrcfile package.
module function_definition identifier parameters identifier identifier identifier identifier identifier identifier block expression_statement assignment identifier dictionary pair string string_start string_content string_end identifier pair string string_start string_content string_end identifier pair string string_st...
Adds a person to a client. Password is optional and if not supplied, an invitation will be emailed to the person
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list string string_start string_content string_end if_statement not_operator call attribute attribute identifier identifier identifier argument_list attribute identi...
Write the Nginx configuration file for this Site
module function_definition identifier parameters identifier block for_statement identifier attribute identifier identifier block for_statement identifier identifier block if_statement comparison_operator identifier identifier block raise_statement call identifier argument_list identifier if_statement comparison_operato...
Check the value of the config attributes.
module function_definition identifier parameters identifier default_parameter identifier true block expression_statement assignment identifier call attribute attribute identifier identifier identifier argument_list call identifier argument_list identifier if_statement boolean_operator identifier not_operator call attri...
Return the absolute path to a data file within the data directory.
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none block expression_statement assignment identifier boolean_operator identifier attribute identifier identifier expression_statement assignment identifier condit...
Create a clone of timeseries
module function_definition identifier parameters identifier identifier default_parameter identifier list default_parameter identifier list block return_statement call attribute identifier identifier argument_list string string_start string_content string_end identifier call identifier argument_list identifier list_spla...
Execute a Lua script server side.
module function_definition identifier parameters identifier identifier block if_statement attribute identifier identifier block expression_statement call attribute attribute identifier identifier identifier argument_list string string_start string_content string_end return_statement expression_statement assignment attr...
Connects to the specified given connection using the given auth key.
module function_definition identifier parameters identifier identifier block try_statement block expression_statement call attribute attribute identifier identifier identifier argument_list dictionary_splat attribute identifier identifier except_clause as_pattern tuple attribute identifier identifier attribute identifi...
Create metric from raw json body.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call identifier argument_list expression_statement assignment identifier binary_operator integer call identifier argument_list list_comprehension binary_operator integer call identifier arg...
Send unsubscribe COMMAND to server.
module function_definition identifier parameters identifier type none block while_statement not_operator attribute identifier identifier block try_statement block expression_statement assignment pattern_list identifier identifier identifier call attribute attribute identifier identifier identifier argument_list keyword...
processes entries in the queue until told to stop
module function_definition identifier parameters identifier default_parameter identifier none default_parameter identifier none default_parameter identifier none default_parameter identifier none default_parameter identifier none default_parameter identifier false default_parameter identifier string string_start string...
Execute a track file
module function_definition identifier parameters identifier default_parameter identifier false block if_statement identifier block expression_statement assignment identifier dictionary pair string string_start string_content string_end attribute identifier identifier else_clause block expression_statement assignment id...
Restarts the given process.
module function_definition identifier parameters identifier identifier identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement assignment attribute identifier identifier dictionary expression_statement assignment subscript attribute identifier identifier identif...
Sets an option to a value.
module function_definition identifier parameters identifier identifier block if_statement not_operator call identifier argument_list identifier identifier block raise_statement call identifier argument_list string string_start string_content string_end if_statement comparison_operator identifier attribute identifier id...
Remove the specified group.
module function_definition identifier parameters identifier identifier dictionary_splat_pattern identifier block expression_statement assignment identifier call identifier argument_list identifier dictionary_splat identifier if_statement comparison_operator identifier attribute identifier identifier block expression_st...
Return the custom icon corresponding to the given name.
module function_definition identifier parameters identifier identifier block expression_statement assignment attribute identifier identifier true expression_statement call attribute attribute identifier identifier identifier argument_list binary_operator string string_start string_content string_end identifier keyword_...
Callback run when a recoverable parsing error occurs
module function_definition identifier parameters identifier identifier identifier identifier dictionary_splat_pattern identifier block expression_statement assignment identifier binary_operator binary_operator string string_start string_content string_end call attribute string string_start string_content string_end ide...
Format sigle table cell.
module function_definition identifier parameters identifier identifier block expression_statement assignment identifier list expression_statement assignment identifier integer expression_statement call attribute identifier identifier argument_list while_statement attribute identifier identifier block expression_stateme...
Handle a case where a template is at the head of the tokens.
module function_definition identifier parameters identifier block expression_statement assignment identifier list string string_start string_content string_end for_statement identifier identifier block expression_statement call attribute identifier identifier argument_list binary_operator binary_operator string string_...
Turn a python list into an html list.
module function_definition identifier parameters identifier identifier block if_statement not_operator attribute identifier identifier block return_statement identifier return_statement binary_operator call attribute identifier identifier argument_list call attribute identifier identifier argument_list identifier attri...
Dequantize q according to params.
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier list string string_start string_content string_end string string_start string_content string_end identifier attribute identifier identifier expression_statement call attribute identifier id...
Create a virtualenv using the virtualenv lib.
module function_definition identifier parameters identifier block expression_statement string string_start string_content string_end expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement augmented_assignment identifier unary_operator attribute identifier iden...
Make the text foreground color cyan.
module function_definition identifier parameters identifier block expression_statement call attribute attribute identifier identifier identifier argument_list expression_statement assignment attribute identifier identifier false expression_statement assignment identifier attribute identifier identifier if_statement not...
Restores initial cursors and initial active editor.
module function_definition identifier parameters identifier identifier block if_statement comparison_operator call attribute identifier identifier argument_list none block expression_statement call identifier argument_list call attribute string string_start string_content string_end identifier argument_list identifier ...
Stop process, by applying terminate and kill.
module function_definition identifier parameters identifier identifier default_parameter identifier none block return_statement call attribute attribute identifier identifier identifier argument_list identifier identifier identifier
Render `view` with this block's runtime and the supplied `context`
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list list string string_start string_content string_end string string_start string_content string_end identifier if_statement call identifier argument_list identifie...
Check for the presence of a germline stats file, CWL compatible.
module function_definition identifier parameters identifier identifier block expression_statement call identifier argument_list identifier expression_statement assignment attribute identifier identifier call attribute identifier identifier argument_list attribute identifier identifier call identifier argument_list iden...
Equals to setting the value to None
module function_definition identifier parameters identifier identifier list_splat_pattern identifier block expression_statement string string_start string_content string_end expression_statement string string_start string_content string_end expression_statement assignment identifier call identifier argument_list expres...
Perform a map operation distributed among the workers. Will
module function_definition identifier parameters identifier block expression_statement assignment identifier call attribute identifier identifier argument_list expression_statement call attribute identifier identifier argument_list string string_start string_content string_end for_statement identifier identifier block ...
Generate and process table SQL, SQLLite version
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier list for_statement identifier attribute identifier identifier block expression_statement assignment attribute identifier identifier call attribute identifier identifier argument_list attrib...
retrive match action and subject
module function_definition identifier parameters typed_parameter identifier type generic_type identifier type_parameter type attribute identifier identifier type attribute identifier identifier typed_parameter identifier type attribute identifier identifier typed_parameter identifier type attribute identifier identifie...
Calculate the dispersion between actual points and their assigned centroids
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 subscript attribute identifier identifier string string_start string_content string_end expression_stat...
Second stage of an OPR request
module function_definition identifier parameters identifier block if_statement comparison_operator attribute identifier identifier none block expression_statement assignment attribute identifier identifier call attribute identifier identifier argument_list keyword_argument identifier true return_statement call attribut...
Return a par list just like ours, but with all default values.
module function_definition identifier parameters identifier identifier block return_statement call identifier argument_list lambda lambda_parameters identifier boolean_operator boolean_operator parenthesized_expression comparison_operator identifier identifier identifier call identifier argument_list identifier identif...
Greater than or equal to y and less than or equal to z.
module function_definition identifier parameters identifier default_parameter identifier string string_start string_content string_end block expression_statement assignment identifier dictionary try_statement block with_statement with_clause with_item as_pattern call identifier argument_list identifier as_pattern_targe...
Load inline-plz config from yaml config file with reasonable defaults.
module function_definition identifier parameters identifier identifier identifier identifier default_parameter identifier integer default_parameter identifier false default_parameter identifier none default_parameter identifier none block if_statement boolean_operator identifier comparison_operator identifier none bloc...
Process text and save as Dataset
module function_definition identifier parameters identifier identifier default_parameter identifier false block expression_statement assignment identifier call identifier argument_list for_statement pattern_list identifier identifier attribute identifier identifier block expression_statement assignment identifier call ...
Use ODict for maps
module function_definition identifier parameters identifier identifier identifier block expression_statement assignment identifier call attribute identifier identifier argument_list attribute identifier identifier identifier identifier if_statement comparison_operator identifier none block raise_statement call identifi...
Creation of a processing instruction element.
module function_definition identifier parameters identifier default_parameter identifier integer block expression_statement assignment identifier call identifier argument_list identifier expression_statement assignment identifier call identifier argument_list call attribute identifier identifier argument_list identifie...
Batches data from an iterator that returns single items at a time.
module function_definition identifier parameters identifier block expression_statement assignment pattern_list identifier identifier call attribute attribute identifier identifier identifier argument_list attribute identifier identifier if_statement boolean_operator call identifier argument_list identifier not_operator...
Automatically set logFileName attribute
module function_definition identifier parameters identifier identifier identifier block return_statement call identifier argument_list identifier keyword_argument identifier call attribute identifier identifier argument_list identifier
Returns the elements in `items` sorted according to `orders`
module function_definition identifier parameters identifier block expression_statement assignment identifier call identifier argument_list identifier return_statement call attribute identifier identifier argument_list call identifier argument_list attribute identifier identifier identifier
Creates a sourcemap view from MemDB at a given file.
module function_definition identifier parameters identifier block if_statement boolean_operator comparison_operator string string_start string_content string_end call attribute subscript identifier string string_start string_content string_end identifier argument_list string string_start string_content string_end list ...
Check for realignment, which is not supported in GATK4
module function_definition identifier parameters typed_parameter identifier type identifier typed_default_parameter identifier type identifier none type identifier block expression_statement assignment subscript identifier string string_start string_content string_end call attribute subscript identifier string string_s...
Filter and normalize the output of pipdeptree entry.