sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,6];2 function_name [] map_representer;3 parameters [4,5];4 identifier [] dumper;5 identifier [] value;6 block [7,18,78];7 expression_statement [8];8 assignment [9,10];9 identifier [] value;10 call [11,12];11 identifier [] ODict;12 argument_list [13];13 call [14,17];14 attribute [...
Deal with !Ref style function format and OrderedDict
0 module [1];1 function_definition [2,3,5];2 function_name [] VCLibraries;3 parameters [4];4 identifier [] self;5 block [6,41,51,65];6 if_statement [7,12,26];7 comparison_operator [8,11] >=;8 attribute [9,10];9 identifier [] self;10 identifier [] vc_ver;11 float [] 15.0;12 block [13];13 expression_statement [14];14 ass...
Microsoft Visual C++ & Microsoft Foundation Class Libraries
0 module [1];1 function_definition [2,3,5];2 function_name [] _prune_invalid_time_reductions;3 parameters [4];4 identifier [] spec;5 block [6,10,78];6 expression_statement [7];7 assignment [8,9];8 identifier [] valid_reductions;9 list [] [];10 if_statement [11,23,70];11 boolean_operator [12,18] and;12 not_operator [13]...
Prune time reductions of spec with no time dimension.
0 module [1];1 function_definition [2,3,7];2 function_name [] _split_after_delimiter;3 parameters [4,5,6];4 identifier [] self;5 identifier [] item;6 identifier [] indent_amt;7 block [8,14,25,29,89,94];8 expression_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] _delete_whitespa...
Split the line only after a delimiter.
0 module [1];1 function_definition [2,3,5];2 function_name [] do_print;3 parameters [4];4 identifier [] filename;5 block [6];6 with_statement [7,16];7 with_clause [8];8 with_item [9];9 as_pattern [10,14];10 call [11,12];11 identifier [] open;12 argument_list [13];13 identifier [] filename;14 as_pattern_target [15];15 i...
Print the AST of filename.
0 module [1];1 function_definition [2,3,7];2 function_name [] cli_forms;3 parameters [4,5];4 identifier [] self;5 list_splat_pattern [6];6 identifier [] args;7 block [8,12,16,56,64];8 expression_statement [9];9 assignment [10,11];10 identifier [] forms;11 list [] [];12 expression_statement [13];13 assignment [14,15];14...
List all available form definitions
0 module [1];1 function_definition [2,3,7];2 function_name [] _handle_interrupt;3 parameters [4,5,6];4 identifier [] self;5 identifier [] fileno;6 identifier [] val;7 block [8,15,25,45,55,99,107];8 expression_statement [9];9 assignment [10,11];10 identifier [] val;11 call [12,13];12 identifier [] int;13 argument_list [...
Internally distributes interrupts to all attached callbacks
0 module [1];1 function_definition [2,3,6];2 function_name [] gen_enum_completions;3 parameters [4,5];4 identifier [] self;5 identifier [] arg_name;6 block [7];7 try_statement [8,46];8 block [9];9 for_statement [10,11,24];10 identifier [] choice;11 attribute [12,23];12 subscript [13,22];13 attribute [14,21];14 subscrip...
generates dynamic enumeration completions
0 module [1];1 function_definition [2,3,5];2 function_name [] _filter_list_to_conjunction_expression;3 parameters [4];4 identifier [] filter_list;5 block [6,24,49,59];6 if_statement [7,13];7 not_operator [8];8 call [9,10];9 identifier [] isinstance;10 argument_list [11,12];11 identifier [] filter_list;12 identifier [] ...
Convert a list of filters to an Expression that is the conjunction of all of them.
0 module [1];1 function_definition [2,3,6];2 function_name [] build_from_yamlstr;3 parameters [4,5];4 identifier [] cls;5 identifier [] yamlstr;6 block [7,16,25,29,70];7 expression_statement [8];8 assignment [9,10];9 identifier [] top_dict;10 call [11,14];11 attribute [12,13];12 identifier [] yaml;13 identifier [] safe...
Build a list of components from a yaml string
0 module [1];1 function_definition [2,3,8,10];2 function_name [] parse_sentence;3 parameters [4];4 typed_parameter [5,6];5 identifier [] obj;6 type [7];7 identifier [] dict;8 type [9];9 identifier [] BioCSentence;10 block [11,17,25,33,41,57,73];11 expression_statement [12];12 assignment [13,14];13 identifier [] sentenc...
Deserialize a dict obj to a BioCSentence object
0 module [1];1 function_definition [2,3,7];2 function_name [] log_status;3 parameters [4,5,6];4 identifier [] plugin;5 identifier [] filename;6 identifier [] status;7 block [8,21];8 expression_statement [9];9 assignment [10,11];10 identifier [] display;11 binary_operator [12,20] +;12 call [13,16];13 attribute [14,15];1...
Properly display a migration status line
0 module [1];1 function_definition [2,3,5];2 function_name [] _populateHistogram;3 parameters [4];4 identifier [] self;5 block [6];6 try_statement [7,29];7 block [8];8 expression_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] buildHistogram;12 identifier [] populate1DHist;13 argument_list [14,17,20,...
Call the C-code that actually populates the histogram
0 module [1];1 function_definition [2,3,5];2 function_name [] reset_dirty_flags;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,10,17];7 pattern_list [8,9];8 identifier [] sm_id;9 identifier [] sm;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] state...
Set all marked_dirty flags of the state machine to false.
0 module [1];1 function_definition [2,3,8];2 function_name [] grow_use_function;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] depth;7 integer [] 0;8 block [9,11,18,27];9 expression_statement [10];10 string [] Select either function or terminal in grow method;11 if_statement [12,15];1...
Select either function or terminal in grow method
0 module [1];1 function_definition [2,3,6];2 function_name [] prepare_input;3 parameters [4,5];4 identifier [] self;5 identifier [] extracted_str;6 block [7,31,45,60,90];7 if_statement [8,13,25];8 subscript [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] options;12 string [] remove_whitespace;13 block...
Input raw string and do transformations, as set in template file.
0 module [1];1 function_definition [2,3,22];2 function_name [] ask_str;3 parameters [4,7,10,13,16,19];4 default_parameter [5,6];5 identifier [] msg;6 string [] Enter a string;7 default_parameter [8,9];8 identifier [] dft;9 None [];10 default_parameter [11,12];11 identifier [] vld;12 None [];13 default_parameter [14,15]...
Prompts the user for a string.
0 module [1];1 function_definition [2,3,32];2 function_name [] send;3 parameters [4,5,8,11,14,17,20,23,26,29];4 identifier [] self;5 default_parameter [6,7];6 identifier [] to;7 None [];8 default_parameter [9,10];9 identifier [] subject;10 None [];11 default_parameter [12,13];12 identifier [] contents;13 None [];14 def...
Use this to send an email with gmail
0 module [1];1 function_definition [2,3,8];2 function_name [] create_post;3 parameters [4,5,6];4 identifier [] self;5 identifier [] path;6 dictionary_splat_pattern [7];7 identifier [] kw;8 block [9,19,29,37,41,50,57,69,82];9 expression_statement [10];10 assignment [11,12];11 identifier [] content;12 call [13,16];13 att...
Create a new post.
0 module [1];1 function_definition [2,3,5];2 function_name [] reset;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,14];7 identifier [] proxy;8 call [9,10];9 identifier [] list;10 argument_list [11];11 attribute [12,13];12 identifier [] self;13 identifier [] dead;14 block [15,24];15 expression_st...
Mark all dead proxies as unchecked
0 module [1];1 function_definition [2,3,6];2 function_name [] layer_iter;3 parameters [4,5];4 identifier [] layers;5 identifier [] layer_names;6 block [7];7 if_statement [8,9,50];8 identifier [] use_caffe;9 block [10];10 for_statement [11,14,18];11 pattern_list [12,13];12 identifier [] layer_idx;13 identifier [] layer;...
Iterate over all layers
0 module [1];1 function_definition [2,3,5];2 function_name [] setup_kojiclient;3 parameters [4];4 identifier [] profile;5 block [6,15,46,60,73];6 expression_statement [7];7 assignment [8,9];8 identifier [] opts;9 call [10,13];10 attribute [11,12];11 identifier [] koji;12 identifier [] read_config;13 argument_list [14];...
Setup koji client session
0 module [1];1 function_definition [2,3,5];2 function_name [] _AbortTerminate;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,10,20];7 pattern_list [8,9];8 identifier [] pid;9 identifier [] process;10 call [11,12];11 identifier [] iter;12 argument_list [13];13 call [14,19];14 attribute [15,18];15 a...
Aborts all registered processes by sending a SIGTERM or equivalent.
0 module [1];1 function_definition [2,3,5];2 function_name [] config;3 parameters [4];4 identifier [] self;5 block [6,52];6 if_statement [7,13];7 not_operator [8];8 call [9,10];9 identifier [] hasattr;10 argument_list [11,12];11 identifier [] self;12 string [] _config;13 block [14,22,30,46];14 expression_statement [15]...
load the passwords from the config file
0 module [1];1 function_definition [2,3,14];2 function_name [] message;3 parameters [4,5,8,11];4 identifier [] msg;5 default_parameter [6,7];6 identifier [] indent;7 False [];8 default_parameter [9,10];9 identifier [] mtype;10 string [] standard;11 default_parameter [12,13];12 identifier [] caption;13 False [];14 block...
Writes messages in verbose mode
0 module [1];1 function_definition [2,3,8];2 function_name [] _domain_event_pmwakeup_cb;3 parameters [4,5,6,7];4 identifier [] conn;5 identifier [] domain;6 identifier [] reason;7 identifier [] opaque;8 block [9];9 expression_statement [10];10 call [11,12];11 identifier [] _salt_send_domain_event;12 argument_list [13,1...
Domain wakeup events handler
0 module [1];1 function_definition [2,3,5];2 function_name [] validate_address;3 parameters [4];4 identifier [] value;5 block [6,26,44,57];6 if_statement [7,11];7 call [8,9];8 identifier [] is_bytes;9 argument_list [10];10 identifier [] value;11 block [12,25];12 if_statement [13,18];13 not_operator [14];14 call [15,16]...
Helper function for validating an address
0 module [1];1 function_definition [2,3,10];2 function_name [] override_build_kwarg;3 parameters [4,5,6,7];4 identifier [] workflow;5 identifier [] k;6 identifier [] v;7 default_parameter [8,9];8 identifier [] platform;9 None [];10 block [11,17,29,39,47];11 expression_statement [12];12 assignment [13,14];13 identifier ...
Override a build-kwarg for all worker builds
0 module [1];1 function_definition [2,3,5];2 function_name [] match;3 parameters [4];4 identifier [] pattern;5 block [6,15,36];6 expression_statement [7];7 assignment [8,9];8 identifier [] regex;9 call [10,13];10 attribute [11,12];11 identifier [] re;12 identifier [] compile;13 argument_list [14];14 identifier [] patte...
Validates that a field value matches the regex given to this validator.
0 module [1];1 function_definition [2,3,11];2 function_name [] add_exec_to_user;3 parameters [4,5,6,7,8,9];4 identifier [] self;5 identifier [] name;6 identifier [] env;7 identifier [] command;8 identifier [] args;9 dictionary_splat_pattern [10];10 identifier [] attrs;11 block [12,25,32];12 expression_statement [13];13...
Add an exec option to your user.
0 module [1];1 function_definition [2,3,5];2 function_name [] upper_lower_none;3 parameters [4];4 identifier [] arg;5 block [6,12,24,33];6 if_statement [7,9];7 not_operator [8];8 identifier [] arg;9 block [10];10 return_statement [11];11 identifier [] arg;12 expression_statement [13];13 assignment [14,15];14 identifier...
Validate arg value as "upper", "lower", or None.
0 module [1];1 function_definition [2,3,6];2 function_name [] _pred_sets_are_in_conflict;3 parameters [4,5];4 identifier [] pred_set_a;5 identifier [] pred_set_b;6 block [7,30];7 for_statement [8,11,12];8 pattern_list [9,10];9 identifier [] pred_a;10 identifier [] bool_a;11 identifier [] pred_set_a;12 block [13];13 for...
Find conflict in sets, return conflict if found, else None.
0 module [1];1 function_definition [2,3,7];2 function_name [] _get_magnitude_scaling_term;3 parameters [4,5,6];4 identifier [] self;5 identifier [] C;6 identifier [] mag;7 block [8];8 if_statement [9,12,36];9 comparison_operator [10,11] <;10 identifier [] mag;11 float [] 6.75;12 block [13];13 return_statement [14];14 b...
Returns the magnitude scaling term defined in equation 3
0 module [1];1 function_definition [2,3,5];2 function_name [] sample_list;3 parameters [4];4 identifier [] args;5 block [6,153];6 if_statement [7,14];7 boolean_operator [8,11] and;8 attribute [9,10];9 identifier [] args;10 identifier [] entity_type;11 attribute [12,13];12 identifier [] args;13 identifier [] entity;14 b...
List samples within a container.
0 module [1];1 function_definition [2,3,10];2 function_name [] post_helper;3 parameters [4,7];4 default_parameter [5,6];5 identifier [] form_tag;6 True [];7 default_parameter [8,9];8 identifier [] edit_mode;9 False [];10 block [11,17,23,32,38,52,72,92,102];11 expression_statement [12];12 assignment [13,14];13 identifie...
Post's form layout helper
0 module [1];1 function_definition [2,3,4];2 function_name [] pop;3 parameters [];4 block [5,13,21];5 expression_statement [6];6 assignment [7,8];7 identifier [] pid;8 call [9,12];9 attribute [10,11];10 identifier [] os;11 identifier [] getpid;12 argument_list [];13 expression_statement [14];14 assignment [15,16];15 id...
Remove instance from instance list
0 module [1];1 function_definition [2,3,6];2 function_name [] write;3 parameters [4,5];4 identifier [] self;5 identifier [] x;6 block [7,92];7 if_statement [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _new_lines;11 block [12,67,73,86];12 if_statement [13,17];13 not_operator [14];14 attribute [15,16];...
Write a string into the output stream.
0 module [1];1 function_definition [2,3,5];2 function_name [] fetch_album_name;3 parameters [4];4 identifier [] self;5 block [6,23];6 expression_statement [7];7 assignment [8,9];8 identifier [] response;9 call [10,11];10 identifier [] get_lastfm;11 argument_list [12,13,18];12 string [] track.getInfo;13 keyword_argument...
Get the name of the album from lastfm.
0 module [1];1 function_definition [2,3,13];2 function_name [] write;3 parameters [4,5,6,7,10];4 identifier [] self;5 identifier [] file;6 identifier [] text;7 default_parameter [8,9];8 identifier [] subvars;9 dictionary [];10 default_parameter [11,12];11 identifier [] trim_leading_lf;12 True [];13 block [14];14 expres...
write to a file with variable substitution
0 module [1];1 function_definition [2,3,13];2 function_name [] cmd_build;3 parameters [4,8];4 typed_parameter [5,6];5 identifier [] conf;6 type [7];7 identifier [] Config;8 typed_default_parameter [9,10,12];9 identifier [] run_tests;10 type [11];11 identifier [] bool;12 False [];13 block [14,21,27,36];14 expression_sta...
Build requested targets, and their dependencies.
0 module [1];1 function_definition [2,3,5];2 function_name [] enable;3 parameters [4];4 identifier [] self;5 block [6,18];6 expression_statement [7];7 await [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] controller;13 identifier [] enable_user;14 argument_list [15];15 ...
Re-enable this user.
0 module [1];1 function_definition [2,3,5];2 function_name [] main_photo;3 parameters [4];4 identifier [] self;5 block [6,22];6 if_statement [7,11];7 not_operator [8];8 attribute [9,10];9 identifier [] self;10 identifier [] _main_photo;11 block [12];12 expression_statement [13];13 assignment [14,17];14 attribute [15,16...
Return user's main photo.
0 module [1];1 function_definition [2,3,6];2 function_name [] rowsWithin;3 parameters [4,5];4 identifier [] self;5 identifier [] bbox;6 block [7,9,13,77];7 expression_statement [8];8 string [] return list of deduped rows within bbox;9 expression_statement [10];10 assignment [11,12];11 identifier [] ret;12 dictionary []...
return list of deduped rows within bbox
0 module [1];1 function_definition [2,3,6];2 function_name [] write;3 parameters [4,5];4 identifier [] self;5 identifier [] file_handle;6 block [7,32,43];7 for_statement [8,11,22];8 pattern_list [9,10];9 identifier [] k;10 identifier [] v;11 call [12,21];12 attribute [13,20];13 call [14,19];14 attribute [15,18];15 attr...
write the current state to a file manifest
0 module [1];1 function_definition [2,3,6];2 function_name [] _decode;3 parameters [4,5];4 identifier [] frame;5 identifier [] tab;6 block [7,11,46,74];7 expression_statement [8];8 assignment [9,10];9 identifier [] blocks;10 list [] [];11 while_statement [12,13];12 identifier [] frame;13 block [14,24,38];14 expression_...
Decode a frame with the help of the table.
0 module [1];1 function_definition [2,3,8,10];2 function_name [] adjust_status;3 parameters [4];4 typed_parameter [5,6];5 identifier [] info;6 type [7];7 identifier [] dict;8 type [9];9 identifier [] dict;10 block [11,18,58];11 expression_statement [12];12 assignment [13,14];13 identifier [] modified_info;14 call [15,1...
Apply status mapping to a raw API result.
0 module [1];1 function_definition [2,3,6];2 function_name [] task_status;3 parameters [4,5];4 identifier [] self;5 identifier [] task_id;6 block [7,14];7 expression_statement [8];8 assignment [9,10];9 identifier [] data;10 dictionary [11];11 pair [12,13];12 string [] task_ids;13 identifier [] task_id;14 return_stateme...
Find the status of a task.
0 module [1];1 function_definition [2,3,5];2 function_name [] modelnumericfunctions;3 parameters [4];4 identifier [] self;5 block [6,12,21,30,39,48,57,66,75,84,93,102,111,120,129,138];6 expression_statement [7];7 assignment [8,9];8 identifier [] lines;9 call [10,11];10 identifier [] Lines;11 argument_list [];12 express...
Numerical functions of the model class.
0 module [1];1 function_definition [2,3,8,10];2 function_name [] _single_function_inclusion_filter_builder;3 parameters [4];4 typed_parameter [5,6];5 identifier [] func;6 type [7];7 identifier [] str;8 type [9];9 identifier [] NodePredicate;10 block [11,31];11 function_definition [12,13,22,24];12 function_name [] funct...
Build a function inclusion filter for a single function.
0 module [1];1 function_definition [2,3,6];2 function_name [] write_directory;3 parameters [4,5];4 identifier [] zfile;5 identifier [] directory;6 block [7];7 for_statement [8,12,18];8 pattern_list [9,10,11];9 identifier [] dirpath;10 identifier [] dirnames;11 identifier [] filenames;12 call [13,16];13 attribute [14,15...
Write recursively all directories and filenames to zipfile instance.
0 module [1];1 function_definition [2,3,5];2 function_name [] extract_presets;3 parameters [4];4 identifier [] app_config;5 block [6];6 return_statement [7];7 dictionary_comprehension [8,24];8 pair [9,18];9 subscript [10,15];10 call [11,14];11 attribute [12,13];12 identifier [] x;13 identifier [] lower;14 argument_list...
Pull the application's configurations for Sanic JWT
0 module [1];1 function_definition [2,3,6];2 function_name [] _decode_time;3 parameters [4,5];4 identifier [] self;5 identifier [] text;6 block [7];7 if_statement [8,17,83];8 comparison_operator [9,14] >=;9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] _kp;13 identifier [] version;14 tup...
Convert base64 time or plaintext time to datetime
0 module [1];1 function_definition [2,3,5];2 function_name [] copy_global_values;3 parameters [4];4 identifier [] data;5 block [6,48,56];6 for_statement [7,10,17];7 pattern_list [8,9];8 identifier [] k;9 identifier [] v;10 call [11,16];11 attribute [12,15];12 subscript [13,14];13 identifier [] data;14 string [] values;...
Copy values worksheet into global namespace.
0 module [1];1 function_definition [2,3,13];2 function_name [] make_request;3 parameters [4,5,6,7,10];4 identifier [] self;5 identifier [] handle;6 identifier [] value;7 default_parameter [8,9];8 identifier [] timeout;9 identifier [] DEFAULT_TIMEOUT;10 default_parameter [11,12];11 identifier [] with_response;12 True []...
Write a GATT Command without callback - not utf-8.
0 module [1];1 function_definition [2,3,9];2 function_name [] definition;3 parameters [4,5,6];4 identifier [] self;5 identifier [] name;6 default_parameter [7,8];7 identifier [] tags;8 None [];9 block [10,33];10 function_definition [11,12,14];11 function_name [] wrapper;12 parameters [13];13 identifier [] obj;14 block ...
Decorator to add class based definitions
0 module [1];1 function_definition [2,3,7];2 function_name [] __make_request_method;3 parameters [4,5,6];4 identifier [] self;5 identifier [] teststep_dict;6 identifier [] entry_json;7 block [8,19,37];8 expression_statement [9];9 assignment [10,11];10 identifier [] method;11 call [12,17];12 attribute [13,16];13 subscri...
parse HAR entry request method, and make teststep method.
0 module [1];1 function_definition [2,3,7];2 function_name [] process;3 parameters [4,5,6];4 identifier [] self;5 identifier [] msg;6 identifier [] kwargs;7 block [8,12,20,28,34];8 expression_statement [9];9 assignment [10,11];10 identifier [] prefixed_dict;11 dictionary [];12 expression_statement [13];13 assignment [1...
Add additional context information for loggers.
0 module [1];1 function_definition [2,3,9];2 function_name [] read_all;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] count;7 unary_operator [8] -;8 integer [] 1;9 block [10,14,44];10 expression_statement [11];11 assignment [12,13];12 identifier [] res;13 list [] [];14 while_statement...
return a list of all packets in the pcap file
0 module [1];1 function_definition [2,3,6];2 function_name [] to_python;3 parameters [4,5];4 identifier [] self;5 identifier [] value;6 block [7,25];7 if_statement [8,13];8 comparison_operator [9,10] in;9 identifier [] value;10 attribute [11,12];11 identifier [] self;12 identifier [] empty_values;13 block [14];14 try_s...
Strips any dodgy HTML tags from the input
0 module [1];1 function_definition [2,3,18];2 function_name [] _get_data_from_dataframe;3 parameters [4,5,8,11,15];4 identifier [] source;5 default_parameter [6,7];6 identifier [] fields;7 string [] *;8 default_parameter [9,10];9 identifier [] first_row;10 integer [] 0;11 default_parameter [12,13];12 identifier [] coun...
Helper function for _get_data that handles Pandas DataFrames.
0 module [1];1 function_definition [2,3,5];2 function_name [] invalidate;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,11];7 identifier [] row;8 attribute [9,10];9 identifier [] self;10 identifier [] rows;11 block [12];12 for_statement [13,14,17];13 identifier [] key;14 attribute [15,16];15 ide...
Rests all keys states.
0 module [1];1 function_definition [2,3,11];2 function_name [] cli;3 parameters [4,5,6,7,8,9,10];4 identifier [] ctx;5 identifier [] all;6 identifier [] top;7 identifier [] nostyle;8 identifier [] nowarn;9 identifier [] warn;10 identifier [] project_dir;11 block [12,39];12 expression_statement [13];13 assignment [14,15...
Lint the verilog code.
0 module [1];1 function_definition [2,3,6];2 function_name [] _make_command_filename;3 parameters [4,5];4 identifier [] self;5 identifier [] exe;6 block [7,33,78];7 expression_statement [8];8 assignment [9,10];9 identifier [] outfn;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] os;14 identif...
The internal function to build up a filename based on a command.
0 module [1];1 function_definition [2,3,4];2 function_name [] rlmb_base_sv2p;3 parameters [];4 block [5,11,17,23,29];5 expression_statement [6];6 assignment [7,8];7 identifier [] hparams;8 call [9,10];9 identifier [] rlmb_base;10 argument_list [];11 expression_statement [12];12 assignment [13,16];13 attribute [14,15];1...
Base setting with sv2p as world model.
0 module [1];1 function_definition [2,3,4];2 function_name [] build;3 parameters [];4 block [5];5 try_statement [6,38];6 block [7,13,22,28];7 expression_statement [8];8 assignment [9,10];9 identifier [] cloud_config;10 call [11,12];11 identifier [] CloudConfig;12 argument_list [];13 expression_statement [14];14 assignm...
builds the cloud_init script
0 module [1];1 function_definition [2,3,5];2 function_name [] groff2man;3 parameters [4];4 identifier [] data;5 block [6,12,20,47,58];6 expression_statement [7];7 assignment [8,9];8 identifier [] width;9 call [10,11];10 identifier [] get_width;11 argument_list [];12 expression_statement [13];13 assignment [14,15];14 id...
Read groff-formatted text and output man pages.
0 module [1];1 function_definition [2,3,6];2 function_name [] add_material;3 parameters [4,5];4 identifier [] self;5 identifier [] material;6 block [7,16];7 if_statement [8,14];8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] has_material;12 argument_list [13];13 identifier [] material;14 block ...
Add a material to the mesh, IF it's not already present.
0 module [1];1 function_definition [2,3,10];2 function_name [] section_branch_orders;3 parameters [4,5];4 identifier [] neurites;5 default_parameter [6,7];6 identifier [] neurite_type;7 attribute [8,9];8 identifier [] NeuriteType;9 identifier [] all;10 block [11];11 return_statement [12];12 call [13,14];13 identifier [...
section branch orders in a collection of neurites
0 module [1];1 function_definition [2,3,6];2 function_name [] get;3 parameters [4,5];4 identifier [] self;5 identifier [] template_name;6 block [7,20,34];7 expression_statement [8];8 assignment [9,10];9 identifier [] template;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] db;14 identifier []...
Get a specific template
0 module [1];1 function_definition [2,3,5];2 function_name [] open;3 parameters [4];4 identifier [] self;5 block [6];6 try_statement [7,19,90];7 block [8];8 expression_statement [9];9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] project;14 identifier [] open_main;15 argu...
Open the subtitle file into an Aeidon project.
0 module [1];1 function_definition [2,3,6];2 function_name [] available_actions;3 parameters [4,5];4 identifier [] self;5 identifier [] obs;6 block [7,13,21,49,153];7 expression_statement [8];8 assignment [9,10];9 identifier [] available_actions;10 call [11,12];11 identifier [] set;12 argument_list [];13 expression_sta...
Return the list of available action ids.
0 module [1];1 function_definition [2,3,5];2 function_name [] run;3 parameters [4];4 identifier [] self;5 block [6,15,105];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] logger;12 identifier [] debug;13 argument_list [14];14 string [] f'Running com...
Run command and report errors to Sentry.
0 module [1];1 function_definition [2,3,5];2 function_name [] timeout_keep_alive_handler;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,15];7 not_operator [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] transport;13 identifier [] is_closing;14 argum...
Called on a keep-alive connection if no new data is received after a short delay.
0 module [1];1 function_definition [2,3,5];2 function_name [] make_quality_report;3 parameters [4];4 identifier [] data;5 block [6,18,30,42,47,59,71,80,92];6 if_statement [7,15];7 comparison_operator [8,9] not in;8 string [] bcbiornaseq;9 call [10,13];10 attribute [11,12];11 identifier [] dd;12 identifier [] get_tools_...
create and render the bcbioRNASeq quality report
0 module [1];1 function_definition [2,3,9,11];2 function_name [] load_template;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] template;7 type [8];8 identifier [] str;9 type [10];10 identifier [] Template;11 block [12,27,31,53,81,111,138,144,154];12 expression_statement [13];13 assignmen...
Load a Jinja2 template from the source directory.
0 module [1];1 function_definition [2,3,7];2 function_name [] __xd_iterator_pass_on;3 parameters [4,5,6];4 identifier [] arr;5 identifier [] view;6 identifier [] fun;7 block [8,37,41,88];8 expression_statement [9];9 assignment [10,11];10 identifier [] iterations;11 list_comprehension [12,29];12 conditional_expression [...
Like xd_iterator, but the fun return values are always passed on to the next and only the last returned.
0 module [1];1 function_definition [2,3,9];2 function_name [] send_packed_virtual_touch_event;3 parameters [4,5,6,7,8];4 identifier [] xpos;5 identifier [] ypos;6 identifier [] phase;7 identifier [] device_id;8 identifier [] finger;9 block [10,19,27,41,55,69,83,97];10 expression_statement [11];11 assignment [12,13];12 ...
Create a new WAKE_DEVICE_MESSAGE.
0 module [1];1 function_definition [2,3,6];2 function_name [] _operator_generator;3 parameters [4,5];4 identifier [] index;5 identifier [] conj;6 block [7,16,25,43,54,62,73,82,90];7 expression_statement [8];8 assignment [9,10];9 identifier [] pterm;10 call [11,12];11 identifier [] PauliTerm;12 argument_list [13,14,15];...
Internal method to generate the appropriate operator
0 module [1];1 function_definition [2,3,7];2 function_name [] _get_index_for_insert;3 parameters [4,5,6];4 identifier [] self;5 identifier [] key;6 identifier [] instance;7 block [8,80];8 if_statement [9,12,26];9 comparison_operator [10,11] ==;10 identifier [] instance;11 integer [] 0;12 block [13];13 expression_statem...
Get the index of the key to insert before or after
0 module [1];1 function_definition [2,3,5];2 function_name [] validate_uses_tls_for_keystone;3 parameters [4];4 identifier [] audit_options;5 block [6,14,19];6 expression_statement [7];7 assignment [8,9];8 identifier [] section;9 call [10,11];10 identifier [] _config_section;11 argument_list [12,13];12 identifier [] au...
Verify that TLS is used to communicate with Keystone.
0 module [1];1 function_definition [2,3,5];2 function_name [] show_help;3 parameters [4];4 identifier [] name;5 block [6,16,21,26,31,36,41,46,51,56];6 expression_statement [7];7 call [8,9];8 identifier [] print;9 argument_list [10];10 call [11,14];11 attribute [12,13];12 string [] Usage: python3 {} [OPTIONS]...;13 iden...
Show help and basic usage
0 module [1];1 function_definition [2,3,8];2 function_name [] delete_and_rm_options;3 parameters [4,6];4 list_splat_pattern [5];5 identifier [] args;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9,141];9 function_definition [10,11,19];10 function_name [] inner_decorator;11 parameters [12,13,16];12 iden...
Options which apply both to `globus delete` and `globus rm`
0 module [1];1 function_definition [2,3,12];2 function_name [] _wrapper_find_one;3 parameters [4,5,8,10];4 identifier [] self;5 default_parameter [6,7];6 identifier [] filter_;7 None [];8 list_splat_pattern [9];9 identifier [] args;10 dictionary_splat_pattern [11];11 identifier [] kwargs;12 block [13];13 return_stateme...
Convert record to a dict that has no key error
0 module [1];1 function_definition [2,3,6];2 function_name [] process_input;3 parameters [4,5];4 identifier [] self;5 identifier [] character;6 block [7,11,30];7 expression_statement [8];8 assignment [9,10];9 identifier [] func;10 None [];11 try_statement [12,27];12 block [13];13 expression_statement [14];14 assignment...
A subclassable method for dealing with input characters.
0 module [1];1 function_definition [2,3,8];2 function_name [] cross_successors;3 parameters [4,5];4 identifier [] state;5 default_parameter [6,7];6 identifier [] last_action;7 None [];8 block [9,15,52];9 expression_statement [10];10 assignment [11,14];11 pattern_list [12,13];12 identifier [] centres;13 identifier [] ed...
Successors function for solving the cross.
0 module [1];1 function_definition [2,3,9];2 function_name [] indent;3 parameters [4,5,6];4 identifier [] text;5 identifier [] amount;6 default_parameter [7,8];7 identifier [] ch;8 string [];9 block [10,16];10 expression_statement [11];11 assignment [12,13];12 identifier [] padding;13 binary_operator [14,15] *;14 ident...
Indents a string by the given amount of characters.
0 module [1];1 function_definition [2,3,6];2 function_name [] _find_entry_call;3 parameters [4,5];4 identifier [] self;5 identifier [] frames;6 block [7,11,22,42];7 expression_statement [8];8 assignment [9,10];9 identifier [] back_i;10 integer [] 0;11 expression_statement [12];12 assignment [13,14];13 identifier [] pou...
attempts to auto-discover the correct frame
0 module [1];1 function_definition [2,3,4];2 function_name [] check_schedule;3 parameters [];4 block [5,11,26,32,47];5 expression_statement [6];6 assignment [7,8];7 identifier [] all_items;8 call [9,10];9 identifier [] prefetch_schedule_items;10 argument_list [];11 for_statement [12,16,17];12 pattern_list [13,14,15];13...
Helper routine to easily test if the schedule is valid
0 module [1];1 function_definition [2,3,6];2 function_name [] extend;3 parameters [4,5];4 identifier [] self;5 identifier [] tasks;6 block [7,16];7 expression_statement [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] _tasks;13 identifier [] extend;14 argument_list [15];...
Add tasks to this particular shovel
0 module [1];1 function_definition [2,3,4];2 function_name [] run_container;3 parameters [];4 block [5,12,31];5 expression_statement [6];6 call [7,10];7 attribute [8,9];8 identifier [] os;9 identifier [] chdir;10 argument_list [11];11 identifier [] my_directory;12 expression_statement [13];13 assignment [14,15];14 iden...
Runs an interactive container
0 module [1];1 function_definition [2,3,6];2 function_name [] visit_generatorexp;3 parameters [4,5];4 identifier [] self;5 identifier [] node;6 block [7];7 return_statement [8];8 binary_operator [9,10] %;9 string [] (%s %s);10 tuple [11,19];11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] node...
return an astroid.GeneratorExp node as string
0 module [1];1 function_definition [2,3,6];2 function_name [] touchz;3 parameters [4,5];4 identifier [] self;5 identifier [] path;6 block [7];7 expression_statement [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] client;13 identifier [] write;14 argument_list [15,16,19]...
To touchz using the web hdfs "write" cmd.
0 module [1];1 function_definition [2,3,6];2 function_name [] search_range;3 parameters [4,5];4 identifier [] self;5 identifier [] value;6 block [7,32];7 if_statement [8,16,23];8 boolean_operator [9,12] or;9 comparison_operator [10,11] ==;10 identifier [] value;11 integer [] 0;12 not_operator [13];13 binary_operator [1...
Set private ``_search_range`` and reset ``_block_matcher``.
0 module [1];1 function_definition [2,3,9];2 function_name [] generate_fetch_ivy;3 parameters [4,5,6,7,8];4 identifier [] cls;5 identifier [] jars;6 identifier [] ivyxml;7 identifier [] confs;8 identifier [] resolve_hash_name;9 block [10,16,20,34,40,66,83,101,114];10 expression_statement [11];11 assignment [12,13];12 i...
Generates an ivy xml with all jars marked as intransitive using the all conflict manager.
0 module [1];1 function_definition [2,3,13,19];2 function_name [] find_child;3 parameters [4,8];4 typed_parameter [5,6];5 identifier [] sexpr;6 type [7];7 identifier [] Sexpr;8 typed_parameter [9,11];9 list_splat_pattern [10];10 identifier [] tags;11 type [12];12 identifier [] str;13 type [14];14 generic_type [15,16];1...
Search for a tag among direct children of the s-expression.
0 module [1];1 function_definition [2,3,5];2 function_name [] _handle_authentication_error;3 parameters [4];4 identifier [] self;5 block [6,13,27,33];6 expression_statement [7];7 assignment [8,9];8 identifier [] response;9 call [10,11];10 identifier [] make_response;11 argument_list [12];12 string [] Access Denied;13 e...
Return an authentication error.
0 module [1];1 function_definition [2,3,5];2 function_name [] feed;3 parameters [4];4 identifier [] self;5 block [6,8,29,54,61,88,95];6 expression_statement [7];7 string [] Feed a line from the contents of the GPS log to the daemon.;8 expression_statement [9];9 assignment [10,11];10 identifier [] line;11 subscript [12,...
Feed a line from the contents of the GPS log to the daemon.
0 module [1];1 function_definition [2,3,6];2 function_name [] load;3 parameters [4,5];4 identifier [] cls;5 identifier [] path;6 block [7,19,32,45,52,58];7 assert_statement [8,16];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] os;12 identifier [] path;13 identifier [] exists;14 argument_list [1...
Load Waveform from file.
0 module [1];1 function_definition [2,3,6];2 function_name [] load;3 parameters [4,5];4 identifier [] self;5 identifier [] _from;6 block [7,68];7 function_definition [8,9,12];8 function_name [] load_rec;9 parameters [10,11];10 identifier [] inode;11 identifier [] config;12 block [13];13 for_statement [14,15,16];14 iden...
Load the configuration dictionary from file.
0 module [1];1 function_definition [2,3,6];2 function_name [] _count_counters;3 parameters [4,5];4 identifier [] self;5 identifier [] counter;6 block [7];7 if_statement [8,14,23];8 call [9,10];9 identifier [] getattr;10 argument_list [11,12,13];11 identifier [] self;12 string [] as_set;13 False [];14 block [15];15 retu...
Return all elements count from Counter