sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,17];2 function_name [] bar_;3 parameters [4,5,8,11,14];4 identifier [] self;5 default_parameter [6,7];6 identifier [] label;7 None [];8 default_parameter [9,10];9 identifier [] style;10 None [];11 default_parameter [12,13];12 identifier [] opts;13 None [];14 default_parameter [15...
Get a bar chart
0 module [1];1 function_definition [2,3,5];2 function_name [] getmodule;3 parameters [4];4 identifier [] object;5 block [6,14,31,45,61,89,105,113,139,147];6 if_statement [7,11];7 call [8,9];8 identifier [] ismodule;9 argument_list [10];10 identifier [] object;11 block [12];12 return_statement [13];13 identifier [] obje...
Return the module an object was defined in, or None if not found.
0 module [1];1 function_definition [2,3,7];2 function_name [] _readhex;3 parameters [4,5,6];4 identifier [] self;5 identifier [] length;6 identifier [] start;7 block [8,20,26,42,72];8 if_statement [9,12];9 binary_operator [10,11] %;10 identifier [] length;11 integer [] 4;12 block [13];13 raise_statement [14];14 call [1...
Read bits and interpret as a hex string.
0 module [1];1 function_definition [2,3,6];2 function_name [] getRelativePath;3 parameters [4,5];4 identifier [] basepath;5 identifier [] path;6 block [7,21,35,39,74];7 expression_statement [8];8 assignment [9,10];9 identifier [] basepath;10 call [11,12];11 identifier [] splitpath;12 argument_list [13];13 call [14,19];...
Get a path that is relative to the given base path.
0 module [1];1 function_definition [2,3,7];2 function_name [] cli;3 parameters [4,5,6];4 identifier [] ctx;5 identifier [] config;6 identifier [] quiet;7 block [8,14,29,37];8 expression_statement [9];9 assignment [10,13];10 attribute [11,12];11 identifier [] ctx;12 identifier [] obj;13 dictionary [];14 expression_state...
AWS ECS Docker Deployment Tool
0 module [1];1 function_definition [2,3,5];2 function_name [] _ReloadArtifacts;3 parameters [4];4 identifier [] self;5 block [6,12,25];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _artifacts;11 dictionary [];12 expression_statement [13];13 call [14,17];14 attri...
Load artifacts from all sources.
0 module [1];1 function_definition [2,3,10];2 function_name [] unregister_transform;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] node_class;6 identifier [] transform;7 default_parameter [8,9];8 identifier [] predicate;9 None [];10 block [11];11 expression_statement [12];12 call [13,20];13 attribute [14,1...
Unregister the given transform.
0 module [1];1 function_definition [2,3,9];2 function_name [] symbol;3 parameters [4,5,6];4 identifier [] currency;5 keyword_separator [];6 default_parameter [7,8];7 identifier [] native;8 True [];9 block [10,17,26];10 expression_statement [11];11 assignment [12,13];12 identifier [] currency;13 call [14,15];14 identifi...
return symbol of currency
0 module [1];1 function_definition [2,3,5];2 function_name [] nice_true_ces;3 parameters [4];4 identifier [] tc;5 block [6,10,14,18,22,107,127];6 expression_statement [7];7 assignment [8,9];8 identifier [] cause_list;9 list [] [];10 expression_statement [11];11 assignment [12,13];12 identifier [] next_list;13 list [] [...
Format a true |CauseEffectStructure|.
0 module [1];1 function_definition [2,3,6];2 function_name [] create_and_run_collector;3 parameters [4,5];4 identifier [] document;5 identifier [] options;6 block [7,11,51];7 expression_statement [8];8 assignment [9,10];9 identifier [] collector;10 None [];11 if_statement [12,18];12 not_operator [13];13 comparison_oper...
Create and run collector process for report data.
0 module [1];1 function_definition [2,3,5];2 function_name [] _resolve_time;3 parameters [4];4 identifier [] value;5 block [6,21,34,43,80,87];6 if_statement [7,18];7 boolean_operator [8,11] or;8 comparison_operator [9,10] is;9 identifier [] value;10 None [];11 call [12,13];12 identifier [] isinstance;13 argument_list [...
Resolve the time in seconds of a configuration value.
0 module [1];1 function_definition [2,3,5];2 function_name [] fix_positions;3 parameters [4];4 identifier [] self;5 block [6,10,33,37,71,77,100,108];6 expression_statement [7];7 assignment [8,9];8 identifier [] shift_x;9 integer [] 0;10 for_statement [11,12,15];11 identifier [] m;12 attribute [13,14];13 identifier [] s...
fix coordinates of molecules in reaction
0 module [1];1 function_definition [2,3,5];2 function_name [] begin;3 parameters [4];4 identifier [] self;5 block [6,18,25];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] _device;12 identifier [] writeList;13 argument_list [14,17];14 binary_operato...
Initialize driver with LEDs enabled and all turned off.
0 module [1];1 function_definition [2,3,5];2 function_name [] save;3 parameters [4];4 identifier [] self;5 block [6,19,42];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] cells;11 call [12,13];12 identifier [] list;13 argument_list [14];14 call [15,18];15 attribut...
Format and save cells.
0 module [1];1 function_definition [2,3,6];2 function_name [] dropIndex;3 parameters [4,5];4 identifier [] cls;5 identifier [] fields;6 block [7,9,18,29,41,51];7 expression_statement [8];8 string [] removes an index created with ensureIndex;9 expression_statement [10];10 assignment [11,12];11 identifier [] con;12 call ...
removes an index created with ensureIndex
0 module [1];1 function_definition [2,3,6];2 function_name [] head;3 parameters [4,5];4 identifier [] self;5 identifier [] item;6 block [7,22];7 expression_statement [8];8 assignment [9,10];9 identifier [] uri;10 binary_operator [11,12] %;11 string [] /%s/%s;12 tuple [13,16];13 attribute [14,15];14 identifier [] self;1...
Makes a HEAD request on a specific item.
0 module [1];1 function_definition [2,3,12];2 function_name [] biopython_protein_scale;3 parameters [4,5,6,9];4 identifier [] inseq;5 identifier [] scale;6 default_parameter [7,8];7 identifier [] custom_scale_dict;8 None [];9 default_parameter [10,11];10 identifier [] window;11 integer [] 7;12 block [13,47,62,69,83,113...
Use Biopython to calculate properties using a sliding window over a sequence given a specific scale to use.
0 module [1];1 function_definition [2,3,7];2 function_name [] _make_txn;3 parameters [4,5,6];4 identifier [] signer;5 identifier [] setting_key;6 identifier [] payload;7 block [8,16,81];8 expression_statement [9];9 assignment [10,11];10 identifier [] serialized_payload;11 call [12,15];12 attribute [13,14];13 identifier...
Creates and signs a sawtooth_settings transaction with with a payload.
0 module [1];1 function_definition [2,3,10];2 function_name [] _traverse_command;3 parameters [4,5,6,8];4 identifier [] self;5 identifier [] name;6 list_splat_pattern [7];7 identifier [] args;8 dictionary_splat_pattern [9];9 identifier [] kwargs;10 block [11,32,44,50,62,73,96];11 if_statement [12,18];12 not_operator [1...
Add the key to the args and call the Redis command.
0 module [1];1 function_definition [2,3,5];2 function_name [] ensure_stacker_compat_config;3 parameters [4];4 identifier [] config_filename;5 block [6];6 try_statement [7,27];7 block [8];8 with_statement [9,19];9 with_clause [10];10 with_item [11];11 as_pattern [12,17];12 call [13,14];13 identifier [] open;14 argument_...
Ensure config file can be loaded by Stacker.
0 module [1];1 function_definition [2,3,5,7];2 function_name [] checksum_contracts;3 parameters [4];4 identifier [] self;5 type [6];6 None [];7 block [8,20,65,97];8 expression_statement [9];9 assignment [10,11,19];10 identifier [] checksums;11 type [12];12 generic_type [13,14];13 identifier [] Dict;14 type_parameter [1...
Remember the checksum of each source, and the overall checksum.
0 module [1];1 function_definition [2,3,7];2 function_name [] _create_plain_field;3 parameters [4,5,6];4 identifier [] self;5 identifier [] attr;6 identifier [] options;7 block [8,23,33,54];8 expression_statement [9];9 assignment [10,11];10 identifier [] method;11 boolean_operator [12,20] or;12 call [13,16];13 attribut...
Creates the form element.
0 module [1];1 function_definition [2,3,7];2 function_name [] update;3 parameters [4,5];4 identifier [] self;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8];8 for_statement [9,12,17];9 pattern_list [10,11];10 identifier [] key;11 identifier [] value;12 call [13,16];13 attribute [14,15];14 identifier [...
Creates or updates a property for the instance for each parameter.
0 module [1];1 function_definition [2,3,8];2 function_name [] install_supervisor;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] update;7 False [];8 block [9,67];9 expression_statement [10];10 assignment [11,12];11 identifier [] script;12 call [13,16];13 attribute [14,15];14 identifier...
install supervisor config for redis
0 module [1];1 function_definition [2,3,8];2 function_name [] _get_results_from_api;3 parameters [4,5,6,7];4 identifier [] identifiers;5 identifier [] endpoints;6 identifier [] api_key;7 identifier [] api_secret;8 block [9,38,55];9 if_statement [10,17,28];10 boolean_operator [11,14] and;11 comparison_operator [12,13] i...
Use the HouseCanary API Python Client to access the API
0 module [1];1 function_definition [2,3,9];2 function_name [] _dmi_cast;3 parameters [4,5,6];4 identifier [] key;5 identifier [] val;6 default_parameter [7,8];7 identifier [] clean;8 True [];9 block [10,73];10 if_statement [11,19,21];11 boolean_operator [12,13] and;12 identifier [] clean;13 not_operator [14];14 call [1...
Simple caster thingy for trying to fish out at least ints & lists from strings
0 module [1];1 function_definition [2,3,5];2 function_name [] extract_pls_rsp;3 parameters [4];4 identifier [] rsp_str;5 block [6,50,59,77];6 try_statement [7,17];7 block [8];8 expression_statement [9];9 assignment [10,11];10 identifier [] rsp;11 call [12,15];12 attribute [13,14];13 identifier [] json;14 identifier [] ...
Extract the response of PLS
0 module [1];1 function_definition [2,3,5];2 function_name [] export_to_dom;3 parameters [4];4 identifier [] self;5 block [6,14,29,35,49,64,78,92,106,120,134,138,147];6 expression_statement [7];7 assignment [8,9];8 identifier [] namespaces;9 binary_operator [10,13] +;10 binary_operator [11,12] +;11 string [] xmlns="htt...
Exports this model to a DOM.
0 module [1];1 function_definition [2,3,5];2 function_name [] execute;3 parameters [4];4 identifier [] self;5 block [6,12];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] autocomplete;11 argument_list [];12 if_statement [13,19,44];13 call [14,15];14 identifier [] len;15...
Executes whole process of parsing and running command.
0 module [1];1 function_definition [2,3,6];2 function_name [] _handleSmsStatusReport;3 parameters [4,5];4 identifier [] self;5 identifier [] notificationLine;6 block [7,16,27];7 expression_statement [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] log;13 identifier [] de...
Handler for SMS status reports
0 module [1];1 function_definition [2,3,5];2 function_name [] flush;3 parameters [4];4 identifier [] self;5 block [6,12];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _check_open_file;11 argument_list [];12 if_statement [13,21];13 boolean_operator [14,17] and;14 attri...
Flush file contents to 'disk'.
0 module [1];1 function_definition [2,3,6];2 function_name [] dictionary_validator;3 parameters [4,5];4 identifier [] key_type;5 identifier [] value_type;6 block [7,94];7 function_definition [8,9,13];8 function_name [] _validate_dictionary;9 parameters [10,11,12];10 identifier [] instance;11 identifier [] attribute;12 ...
Validator for ``attrs`` that performs deep type checking of dictionaries.
0 module [1];1 function_definition [2,3,13];2 function_name [] _dispatch_event;3 parameters [4,5,9];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] event;7 type [8];8 identifier [] LutronEvent;9 typed_parameter [10,11];10 identifier [] params;11 type [12];12 identifier [] Dict;13 block [14];14 for_statemen...
Dispatches the specified event to all the subscribers.
0 module [1];1 function_definition [2,3,7];2 function_name [] _py_expand_short;3 parameters [4,5,6];4 identifier [] subsequence;5 identifier [] sequence;6 identifier [] max_l_dist;7 block [8,15,24,37,41,46,128];8 expression_statement [9];9 assignment [10,11];10 identifier [] subseq_len;11 call [12,13];12 identifier [] ...
Straightforward implementation of partial match expansion.
0 module [1];1 function_definition [2,3,5];2 function_name [] _to_dict;3 parameters [4];4 identifier [] self;5 block [6,13,25];6 expression_statement [7];7 assignment [8,9];8 identifier [] physical_prop_names;9 call [10,11];10 identifier [] find_PhysicalProperty;11 argument_list [12];12 identifier [] self;13 expression...
Return a dictionary representation of the current object.
0 module [1];1 function_definition [2,3,7];2 function_name [] diffuse_template;3 parameters [4,5];4 identifier [] self;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,18,26,33,45,63];8 expression_statement [9];9 assignment [10,11];10 identifier [] kwargs_copy;11 call [12,17];12 attribute [13,16];13 att...
return the file name for other diffuse map templates
0 module [1];1 function_definition [2,3,9];2 function_name [] theme_static_with_version;3 parameters [4,5,6];4 identifier [] ctx;5 identifier [] filename;6 default_parameter [7,8];7 identifier [] external;8 False [];9 block [10,60,70,95];10 if_statement [11,16,38];11 attribute [12,15];12 attribute [13,14];13 identifier...
Override the default theme static to add cache burst
0 module [1];1 function_definition [2,3,5];2 function_name [] strip;3 parameters [4];4 identifier [] notebook;5 block [6];6 for_statement [7,8,11];7 identifier [] cell;8 attribute [9,10];9 identifier [] notebook;10 identifier [] cells;11 block [12];12 if_statement [13,18];13 comparison_operator [14,17] ==;14 attribute ...
Remove outputs from a notebook.
0 module [1];1 function_definition [2,3,5];2 function_name [] _is_mobile;3 parameters [4];4 identifier [] ntype;5 block [6];6 return_statement [7];7 () [8];8 boolean_operator [9,20] or;9 boolean_operator [10,15] or;10 comparison_operator [11,12] ==;11 identifier [] ntype;12 attribute [13,14];13 identifier [] PhoneNumbe...
Checks if the supplied number type supports carrier lookup
0 module [1];1 function_definition [2,3,4];2 function_name [] install;3 parameters [];4 block [5,9,24,31,44,60,62,74,81,97,101,107,118,125];5 expression_statement [6];6 assignment [7,8];7 identifier [] tmp_weboob_dir;8 string [] /tmp/weboob;9 while_statement [10,19];10 () [11];11 call [12,17];12 attribute [13,16];13 at...
Install weboob system-wide
0 module [1];1 function_definition [2,3,6];2 function_name [] create;3 parameters [4,5];4 identifier [] self;5 identifier [] id;6 block [7,22];7 expression_statement [8];8 assignment [9,10];9 identifier [] resp;10 call [11,18];11 attribute [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] self;15 ident...
Create a new tenant id
0 module [1];1 function_definition [2,3,5];2 function_name [] fromTFExample;3 parameters [4];4 identifier [] bytestr;5 block [6,16,23];6 expression_statement [7];7 assignment [8,9];8 identifier [] example;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] tf;13 identifier [] train;14 identifier [...
Deserializes a TFExample from a byte string
0 module [1];1 function_definition [2,3,5];2 function_name [] schema_map;3 parameters [4];4 identifier [] schema;5 block [6,10,23];6 expression_statement [7];7 assignment [8,9];8 identifier [] mapper;9 dictionary [];10 for_statement [11,12,16];11 identifier [] name;12 call [13,14];13 identifier [] getFieldNames;14 argu...
Return a valid ICachedItemMapper.map for schema
0 module [1];1 function_definition [2,3,5];2 function_name [] _write_to_graph;3 parameters [4];4 identifier [] self;5 block [6,10,43,51,68,75,82];6 expression_statement [7];7 assignment [8,9];8 identifier [] traces;9 list [] [];10 for_statement [11,14,21];11 pattern_list [12,13];12 identifier [] byte_code;13 identifier...
Write the coverage results to a graph
0 module [1];1 function_definition [2,3,6];2 function_name [] _clean_result;3 parameters [4,5];4 identifier [] self;5 identifier [] text;6 block [7,18,29,39];7 expression_statement [8];8 assignment [9,10];9 identifier [] text;10 call [11,14];11 attribute [12,13];12 identifier [] re;13 identifier [] sub;14 argument_list...
Remove double spaces, punctuation and escapes apostrophes.
0 module [1];1 function_definition [2,3,6];2 function_name [] _question_line;3 parameters [4,5];4 identifier [] self;5 identifier [] section;6 block [7,20,44,50,60,74,137,150,172,183];7 expression_statement [8];8 assignment [9,10];9 identifier [] token;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identi...
Process one line from the text format question section.
0 module [1];1 function_definition [2,3,6];2 function_name [] _decode_temp;3 parameters [4,5];4 identifier [] byte_1;5 identifier [] byte_2;6 block [7,16,28,34];7 expression_statement [8];8 assignment [9,10];9 identifier [] temp;10 binary_operator [11,15] +;11 () [12];12 binary_operator [13,14] <<;13 identifier [] byte...
Decode a signed short temperature as two bytes to a single number.
0 module [1];1 function_definition [2,3,6];2 function_name [] to_vararray;3 parameters [4,5];4 identifier [] var_instance;5 identifier [] bounds;6 block [7,13,18,23,29,35,43,49];7 assert_statement [8];8 call [9,10];9 identifier [] isinstance;10 argument_list [11,12];11 identifier [] var_instance;12 identifier [] Symbol...
Converts a var_instance to a var array one
0 module [1];1 function_definition [2,3,8];2 function_name [] app_profile_path;3 parameters [4,5,6,7];4 identifier [] cls;5 identifier [] project;6 identifier [] instance;7 identifier [] app_profile;8 block [9];9 return_statement [10];10 call [11,18];11 attribute [12,17];12 attribute [13,16];13 attribute [14,15];14 ide...
Return a fully-qualified app_profile string.
0 module [1];1 function_definition [2,3,5];2 function_name [] reloadGraphs;3 parameters [4];4 identifier [] self;5 block [6,8,23,31];6 expression_statement [7];7 string [] reloads the graph list;8 expression_statement [9];9 assignment [10,11];10 identifier [] r;11 call [12,19];12 attribute [13,18];13 attribute [14,17];...
reloads the graph list
0 module [1];1 function_definition [2,3,5];2 function_name [] find_api_id;3 parameters [4];4 identifier [] self;5 block [6,16,24,28,68];6 expression_statement [7];7 assignment [8,9];8 identifier [] allapis;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] client;14 identifi...
Given API name, find API ID.
0 module [1];1 function_definition [2,3,9];2 function_name [] catCSVs;3 parameters [4,5,6];4 identifier [] folder;5 identifier [] ouputFileName;6 default_parameter [7,8];7 identifier [] removeDups;8 False [];9 block [10,18,25];10 expression_statement [11];11 assignment [12,13];12 identifier [] strCmd;13 binary_operator...
Concatenates all csv in 'folder' and wites the results in 'ouputFileName'. My not work on non Unix systems
0 module [1];1 function_definition [2,3,5];2 function_name [] colordict;3 parameters [4];4 identifier [] self;5 block [6,10,14,23,48];6 expression_statement [7];7 assignment [8,9];8 identifier [] d;9 dictionary [];10 expression_statement [11];11 assignment [12,13];12 identifier [] i;13 integer [] 0;14 expression_statem...
Dictionary holding colors that correspond to constraints.
0 module [1];1 function_definition [2,3,5];2 function_name [] energy;3 parameters [4];4 identifier [] self;5 block [6,10,42];6 expression_statement [7];7 assignment [8,9];8 identifier [] e;9 integer [] 0;10 for_statement [11,12,21];11 identifier [] i;12 call [13,14];13 identifier [] range;14 argument_list [15];15 call ...
Calculates the length of the route.
0 module [1];1 function_definition [2,3,17];2 function_name [] base_url;3 parameters [4,5,6,9,12,15];4 identifier [] klass;5 identifier [] space_id;6 default_parameter [7,8];7 identifier [] resource_id;8 None [];9 default_parameter [10,11];10 identifier [] public;11 False [];12 default_parameter [13,14];13 identifier [...
Returns the URI for the content type.
0 module [1];1 function_definition [2,3,6];2 function_name [] _get_app_config;3 parameters [4,5];4 identifier [] self;5 identifier [] app_name;6 block [7,25,30];7 expression_statement [8];8 assignment [9,10];9 identifier [] matches;10 list_comprehension [11,12,19];11 identifier [] app_config;12 for_in_clause [13,14];13...
Returns an app config for the given name, not by label.
0 module [1];1 function_definition [2,3,5];2 function_name [] urlencode;3 parameters [4];4 identifier [] params;5 block [6,19,26,32,70];6 if_statement [7,13];7 not_operator [8];8 call [9,10];9 identifier [] isinstance;10 argument_list [11,12];11 identifier [] params;12 identifier [] dict;13 block [14];14 raise_statemen...
Urlencode a multidimensional dict.
0 module [1];1 function_definition [2,3,7];2 function_name [] _get_s3_files;3 parameters [4,5,6];4 identifier [] local_dir;5 identifier [] file_info;6 identifier [] params;7 block [8,15,25,29,51,55,123];8 assert_statement [9];9 comparison_operator [10,14] ==;10 call [11,12];11 identifier [] len;12 argument_list [13];13...
Retrieve s3 files to local directory, handling STORMSeq inputs.
0 module [1];1 function_definition [2,3,28];2 function_name [] sqlvm_group_create;3 parameters [4,5,6,7,8,9,10,11,12,13,14,15,16,19,22,25];4 identifier [] client;5 identifier [] cmd;6 identifier [] sql_virtual_machine_group_name;7 identifier [] resource_group_name;8 identifier [] location;9 identifier [] sql_image_offe...
Creates a SQL virtual machine group.
0 module [1];1 function_definition [2,3,5];2 function_name [] home;3 parameters [4];4 identifier [] request;5 block [6,33];6 try_statement [7,19];7 block [8];8 expression_statement [9];9 call [10,18];10 attribute [11,17];11 call [12,15];12 attribute [13,14];13 identifier [] DBSession;14 identifier [] query;15 argument_...
Try to connect to database, and list available examples.
0 module [1];1 function_definition [2,3,6];2 function_name [] _read_depth_images;3 parameters [4,5];4 identifier [] self;5 identifier [] num_images;6 block [7,22,87];7 expression_statement [8];8 assignment [9,10];9 identifier [] depth_images;10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] _r...
Reads depth images from the device
0 module [1];1 function_definition [2,3,5];2 function_name [] load_yaml;3 parameters [4];4 identifier [] fname;5 block [6,15,21,27,33];6 expression_statement [7];7 assignment [8,9];8 identifier [] yaml;9 call [10,11];10 identifier [] YAML;11 argument_list [12];12 keyword_argument [13,14];13 identifier [] typ;14 string ...
Load a YAML file.
0 module [1];1 function_definition [2,3,7];2 function_name [] cli;3 parameters [4,5,6];4 identifier [] sequencepath;5 identifier [] report;6 identifier [] refseq_database;7 block [8];8 expression_statement [9];9 call [10,11];10 identifier [] main;11 argument_list [12,13,14,15];12 identifier [] sequencepath;13 identifie...
Pass command line arguments to, and run the feature extraction functions
0 module [1];1 function_definition [2,3,11];2 function_name [] dynare_import;3 parameters [4,5,8];4 identifier [] filename;5 default_parameter [6,7];6 identifier [] full_output;7 False [];8 default_parameter [9,10];9 identifier [] debug;10 False [];11 block [12,15,26,45,52,60,73,79];12 import_statement [13];13 dotted_n...
Imports model defined in specified file
0 module [1];1 function_definition [2,3,8];2 function_name [] start;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] ccallbacks;7 None [];8 block [9,23];9 expression_statement [10];10 assignment [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] __manage_g;14 call [15,1...
Establish and maintain connections.
0 module [1];1 function_definition [2,3,4];2 function_name [] busy_display;3 parameters [];4 block [5,14,22];5 expression_statement [6];6 call [7,12];7 attribute [8,11];8 attribute [9,10];9 identifier [] sys;10 identifier [] stdout;11 identifier [] write;12 argument_list [13];13 string [] \033[?25l;14 expression_statem...
Display animation to show activity.
0 module [1];1 function_definition [2,3,5];2 function_name [] _try_import;3 parameters [4];4 identifier [] module_name;5 block [6];6 try_statement [7,19];7 block [8,17];8 expression_statement [9];9 assignment [10,11];10 identifier [] mod;11 call [12,15];12 attribute [13,14];13 identifier [] importlib;14 identifier [] i...
Try importing a module, with an informative error message on failure.
0 module [1];1 function_definition [2,3,7];2 function_name [] treeplot;3 parameters [4,5,6];4 identifier [] self;5 identifier [] qlist;6 identifier [] credible_interval;7 block [8];8 for_statement [9,15,20];9 pattern_list [10,11,12,13,14];10 identifier [] y;11 identifier [] _;12 identifier [] label;13 identifier [] val...
Get data for each treeplot for the variable.
0 module [1];1 function_definition [2,3,8];2 function_name [] worker_loop_v1;3 parameters [4,5,6,7];4 identifier [] dataset;5 identifier [] key_queue;6 identifier [] data_queue;7 identifier [] batchify_fn;8 block [9];9 while_statement [10,11];10 True [];11 block [12,22,28,41];12 expression_statement [13];13 assignment ...
Worker loop for multiprocessing DataLoader.
0 module [1];1 function_definition [2,3,5];2 function_name [] restore;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,12,61];7 comparison_operator [8,11] is;8 attribute [9,10];9 identifier [] self;10 identifier [] proxy_object;11 None [];12 block [13];13 if_statement [14,17,31,49];14 attribute [15,1...
Restore the saved value for the attribute of the object.
0 module [1];1 function_definition [2,3,5];2 function_name [] _array2cstr;3 parameters [4];4 identifier [] arr;5 block [6,12,20];6 expression_statement [7];7 assignment [8,9];8 identifier [] out;9 call [10,11];10 identifier [] StringIO;11 argument_list [];12 expression_statement [13];13 call [14,17];14 attribute [15,16...
Serializes a numpy array to a compressed base64 string
0 module [1];1 function_definition [2,3,7];2 function_name [] search_fetch_force;3 parameters [4,5,6];4 identifier [] request;5 identifier [] id;6 identifier [] redirect_to;7 block [8,21,30,41,52];8 expression_statement [9];9 assignment [10,11];10 identifier [] search;11 call [12,17];12 attribute [13,16];13 attribute [...
Forcibly fetch tweets for the search
0 module [1];1 function_definition [2,3,8];2 function_name [] listDatasetAccessTypes;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] dataset_access_type;7 string [];8 block [9,45,55];9 if_statement [10,15,35];10 call [11,12];11 identifier [] isinstance;12 argument_list [13,14];13 ident...
List dataset access types
0 module [1];1 function_definition [2,3,9];2 function_name [] json_wrap;3 parameters [4,5,7];4 identifier [] function;5 list_splat_pattern [6];6 identifier [] args;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10];10 try_statement [11,44];11 block [12,29];12 expression_statement [13];13 assignment [14,...
Return the json content of a function that returns a request
0 module [1];1 function_definition [2,3,5];2 function_name [] max;3 parameters [4];4 identifier [] cls;5 block [6,28];6 expression_statement [7];7 assignment [8,9];8 identifier [] max_recid;9 call [10,27];10 attribute [11,26];11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] db;15 identifier []...
Get max record identifier.
0 module [1];1 function_definition [2,3,7];2 function_name [] default_user_agent;3 parameters [4];4 default_parameter [5,6];5 identifier [] name;6 string [] python-requests;7 block [8,16,111,140];8 expression_statement [9];9 assignment [10,11];10 identifier [] _implementation;11 call [12,15];12 attribute [13,14];13 ide...
Return a string representing the default user agent.
0 module [1];1 function_definition [2,3,6];2 function_name [] identity;3 parameters [4,5];4 identifier [] ctx;5 identifier [] variant_id;6 block [7,24,32,40,52,61,79];7 if_statement [8,10];8 not_operator [9];9 identifier [] variant_id;10 block [11,18];11 expression_statement [12];12 call [13,16];13 attribute [14,15];14...
Check how well SVs are working in the database
0 module [1];1 function_definition [2,3,7];2 function_name [] weighted_tanimoto;3 parameters [4,5,6];4 identifier [] a;5 identifier [] b;6 identifier [] weights;7 block [8,36];8 expression_statement [9];9 assignment [10,11];10 identifier [] weighted;11 lambda [12,14];12 lambda_parameters [13];13 identifier [] s;14 call...
Same as the Tanimoto coefficient, but wit weights for each dimension.
0 module [1];1 function_definition [2,3,6];2 function_name [] ssh_config;3 parameters [4,5];4 identifier [] ssh_user;5 identifier [] ssh_private_key_file;6 block [7];7 try_statement [8,57];8 block [9,21,28,37,46,52];9 expression_statement [10];10 assignment [11,12];11 identifier [] ssh_file;12 call [13,14];13 identifie...
Create temporary ssh config file.
0 module [1];1 function_definition [2,3,5];2 function_name [] c_str;3 parameters [4];4 identifier [] string;5 block [6,23];6 if_statement [7,13];7 not_operator [8];8 call [9,10];9 identifier [] isinstance;10 argument_list [11,12];11 identifier [] string;12 identifier [] str;13 block [14];14 expression_statement [15];15...
Convert a python string to C string.
0 module [1];1 function_definition [2,3,5];2 function_name [] create_database_session;3 parameters [4];4 identifier [] engine;5 block [6];6 try_statement [7,21];7 block [8,17];8 expression_statement [9];9 assignment [10,11];10 identifier [] Session;11 call [12,13];12 identifier [] sessionmaker;13 argument_list [14];14 ...
Connect to the database
0 module [1];1 function_definition [2,3,6];2 function_name [] __load_countries;3 parameters [4,5];4 identifier [] self;5 identifier [] db;6 block [7,31];7 try_statement [8,17];8 block [9];9 expression_statement [10];10 assignment [11,12];11 identifier [] countries;12 call [13,16];13 attribute [14,15];14 identifier [] s...
Load the list of countries
0 module [1];1 function_definition [2,3,9];2 function_name [] select_locale_by_request;3 parameters [4,5,6];4 identifier [] self;5 identifier [] request;6 default_parameter [7,8];7 identifier [] locales;8 tuple [];9 block [10,24,40,66,72,78,114];10 expression_statement [11];11 assignment [12,13];12 identifier [] defaul...
Choose an user's locales by request.
0 module [1];1 function_definition [2,3,5];2 function_name [] _load_rules;3 parameters [4];4 identifier [] forcefield;5 block [6,12,77];6 expression_statement [7];7 assignment [8,9];8 identifier [] rules;9 call [10,11];10 identifier [] dict;11 argument_list [];12 for_statement [13,16,23];13 pattern_list [14,15];14 iden...
Load atomtyping rules from a forcefield into SMARTSGraphs.
0 module [1];1 function_definition [2,3,5];2 function_name [] load_data;3 parameters [4];4 identifier [] self;5 block [6];6 try_statement [7,60];7 block [8,19];8 expression_statement [9];9 assignment [10,11];10 identifier [] df;11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] live_quote_arg_f...
Overwrite this for new source data structures
0 module [1];1 function_definition [2,3,5];2 function_name [] resource;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,10,15];7 attribute [8,9];8 identifier [] self;9 identifier [] _resource;10 block [11];11 return_statement [12];12 attribute [13,14];13 identifier [] self;14 identifier [] _resource;...
Resource associated with operation.
0 module [1];1 function_definition [2,3,6];2 function_name [] append_rally_point;3 parameters [4,5];4 identifier [] self;5 identifier [] p;6 block [7,23,32];7 if_statement [8,16];8 () [9];9 comparison_operator [10,15] >;10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] rally_count;14 argument_...
add rallypoint to end of list
0 module [1];1 function_definition [2,3,5];2 function_name [] to_dict;3 parameters [4];4 identifier [] self;5 block [6,14];6 if_statement [7,11];7 not_operator [8];8 attribute [9,10];9 identifier [] self;10 identifier [] url;11 block [12];12 return_statement [13];13 None [];14 return_statement [15];15 dictionary [16,21...
Convert Image into raw dictionary data.
0 module [1];1 function_definition [2,3,6];2 function_name [] fetch;3 parameters [4,5];4 identifier [] index;5 identifier [] tokens;6 block [7,19];7 if_statement [8,14];8 comparison_operator [9,13] ==;9 call [10,11];10 identifier [] len;11 argument_list [12];12 identifier [] tokens;13 integer [] 0;14 block [15];15 retu...
Fetch the codes from given tokens
0 module [1];1 function_definition [2,3,5];2 function_name [] read_header;3 parameters [4];4 identifier [] self;5 block [6];6 with_statement [7,19];7 with_clause [8];8 with_item [9];9 as_pattern [10,17];10 call [11,12];11 identifier [] fopen;12 argument_list [13,16];13 attribute [14,15];14 identifier [] self;15 identif...
Reads VPK file header from the file
0 module [1];1 function_definition [2,3,5];2 function_name [] _read_temp;3 parameters [4];4 identifier [] data;5 block [6,12,19,26,34,40];6 expression_statement [7];7 assignment [8,9];8 identifier [] tout;9 call [10,11];10 identifier [] StringIO;11 argument_list [];12 expression_statement [13];13 call [14,17];14 attrib...
Return what would be written to disk
0 module [1];1 function_definition [2,3,8];2 function_name [] stop_jobs;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] job_ids;7 None [];8 block [9,15,24,68,76];9 expression_statement [10];10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] lock;14 argument_lis...
Resets the status of the job to 'submitted' when they are labeled as 'executing'.
0 module [1];1 function_definition [2,3,10];2 function_name [] cl_picard;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] command;6 identifier [] options;7 default_parameter [8,9];8 identifier [] memscale;9 None [];10 block [11,25,32];11 expression_statement [12];12 assignment [13,14];13 identifier [] option...
Prepare a Picard commandline.
0 module [1];1 function_definition [2,3,5];2 function_name [] strip;3 parameters [4];4 identifier [] text;5 block [6,33,52];6 expression_statement [7];7 assignment [8,9];8 identifier [] members;9 list_comprehension [10,11,20];10 identifier [] attr;11 for_in_clause [12,13];12 identifier [] attr;13 call [14,19];14 attrib...
Strips all color codes from a text.
0 module [1];1 function_definition [2,3,10];2 function_name [] DiffArrayObjects;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] oldObj;6 identifier [] newObj;7 default_parameter [8,9];8 identifier [] isElementLinks;9 False [];10 block [11,18,27,57,63];11 if_statement [12,15];12 comparison_operator [13,14] =...
Method which deligates the diffing of arrays based on the type
0 module [1];1 function_definition [2,3,6];2 function_name [] plot_gaps;3 parameters [4,5];4 identifier [] plot;5 identifier [] columns;6 block [7,14];7 import_from_statement [8,10];8 dotted_name [9];9 identifier [] plot_window;10 aliased_import [11,13];11 dotted_name [12];12 identifier [] window_plot_convolve;13 ident...
plot % of gaps at each position
0 module [1];1 function_definition [2,3,5];2 function_name [] getMouse;3 parameters [4];4 identifier [] self;5 block [6,15,24,50];6 expression_statement [7];7 assignment [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] mouse_x;12 identifier [] value;13 unary_operator [14] -;14 intege...
Waits for a mouse click.
0 module [1];1 function_definition [2,3,5];2 function_name [] _split_string_to_tokens;3 parameters [4];4 identifier [] text;5 block [6,12,16,20,30,81,89,96];6 if_statement [7,9];7 not_operator [8];8 identifier [] text;9 block [10];10 return_statement [11];11 list [] [];12 expression_statement [13];13 assignment [14,15]...
Splits text to a list of string tokens.
0 module [1];1 function_definition [2,3,5];2 function_name [] handle_pubrel;3 parameters [4];4 identifier [] self;5 block [6,15,27,36,45,52];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] logger;12 identifier [] info;13 argument_list [14];14 string...
Handle incoming PUBREL packet.
0 module [1];1 function_definition [2,3,5];2 function_name [] detach;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,11];7 not_operator [8];8 attribute [9,10];9 identifier [] self;10 identifier [] _closed;11 block [12,16,22];12 delete_statement [13];13 attribute [14,15];14 identifier [] self;15 iden...
Detach the underlying LLVM resource without disposing of it.