sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,6];2 function_name [] filter_files;3 parameters [4,5];4 identifier [] self;5 identifier [] path;6 block [7,31];7 expression_statement [8];8 assignment [9,10];9 identifier [] excludes;10 boolean_operator [11,30] or;11 call [12,15];12 attribute [13,14];13 string [] r'|';14 identifi...
Exclude files based on blueprint and project configuration as well as hidden files.
0 module [1];1 function_definition [2,3,6];2 function_name [] OnReplaceFind;3 parameters [4,5];4 identifier [] self;5 identifier [] event;6 block [7,17,32];7 expression_statement [8];8 assignment [9,12];9 attribute [10,11];10 identifier [] event;11 identifier [] text;12 call [13,16];13 attribute [14,15];14 identifier [...
Called when a find operation is started from F&R dialog
0 module [1];1 function_definition [2,3,6];2 function_name [] _preprocess_add_items;3 parameters [4,5];4 identifier [] self;5 identifier [] items;6 block [7,11,15,82];7 expression_statement [8];8 assignment [9,10];9 identifier [] paths;10 list [] [];11 expression_statement [12];12 assignment [13,14];13 identifier [] en...
Split the items into two lists of path strings and BaseEntries.
0 module [1];1 function_definition [2,3,5];2 function_name [] tell;3 parameters [4];4 identifier [] self;5 block [6,14,32];6 expression_statement [7];7 assignment [8,9];8 identifier [] pos;9 call [10,13];10 attribute [11,12];11 identifier [] ctypes;12 identifier [] c_size_t;13 argument_list [];14 expression_statement [...
Returns the current position of read head.
0 module [1];1 function_definition [2,3,11];2 function_name [] find_project_dir;3 parameters [4];4 default_parameter [5,6];5 identifier [] path;6 call [7,10];7 attribute [8,9];8 identifier [] os;9 identifier [] getcwd;10 argument_list [];11 block [12,23,53];12 expression_statement [13];13 assignment [14,15];14 identifi...
Attempt to find the project root, returns None if not found
0 module [1];1 function_definition [2,3,5];2 function_name [] str2actfunc;3 parameters [4];4 identifier [] act_func;5 block [6];6 if_statement [7,10,17,28];7 comparison_operator [8,9] ==;8 identifier [] act_func;9 string [] sigmoid;10 block [11];11 return_statement [12];12 attribute [13,16];13 attribute [14,15];14 iden...
Convert activation function name to tf function.
0 module [1];1 function_definition [2,3,5];2 function_name [] ret_range_minions;3 parameters [4];4 identifier [] self;5 block [6,16,20,32];6 if_statement [7,10];7 comparison_operator [8,9] is;8 identifier [] HAS_RANGE;9 False [];10 block [11];11 raise_statement [12];12 call [13,14];13 identifier [] RuntimeError;14 argu...
Return minions that are returned by a range query
0 module [1];1 function_definition [2,3,6];2 function_name [] _get_symbols_to_logits_fn;3 parameters [4,5];4 identifier [] self;5 identifier [] max_decode_length;6 block [7,23,32,141];7 expression_statement [8];8 assignment [9,10];9 identifier [] timing_signal;10 call [11,14];11 attribute [12,13];12 identifier [] model...
Returns a decoding function that calculates logits of the next tokens.
0 module [1];1 function_definition [2,3,13];2 function_name [] select_eep;3 parameters [4,5,6,7,10];4 identifier [] self;5 identifier [] rorg_func;6 identifier [] rorg_type;7 default_parameter [8,9];8 identifier [] direction;9 None [];10 default_parameter [11,12];11 identifier [] command;12 None [];13 block [14,20,26,4...
Set EEP based on FUNC and TYPE
0 module [1];1 function_definition [2,3,9];2 function_name [] from_file;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] filename;6 default_parameter [7,8];7 identifier [] sr;8 integer [] 22050;9 block [10,24];10 expression_statement [11];11 assignment [12,15];12 pattern_list [13,14];13 identifier [] y;14 ident...
Loads an audiofile, uses sr=22050 by default.
0 module [1];1 function_definition [2,3,6];2 function_name [] _handle_minion_event;3 parameters [4,5];4 identifier [] self;5 identifier [] load;6 block [7,13,37];7 expression_statement [8];8 assignment [9,10];9 identifier [] id_;10 subscript [11,12];11 identifier [] load;12 string [] id;13 if_statement [14,23];14 compa...
Act on specific events from minions
0 module [1];1 function_definition [2,3,7];2 function_name [] get;3 parameters [4,5];4 identifier [] self;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,20,33];8 expression_statement [9];9 assignment [10,11];10 identifier [] url;11 binary_operator [12,13] %;12 string [] %s/%s;13 tuple [14,17];14 attri...
Get the details for a specific notification.
0 module [1];1 function_definition [2,3,6];2 function_name [] ij_jlk_to_ilk;3 parameters [4,5];4 identifier [] A;5 identifier [] B;6 block [7];7 return_statement [8];8 call [9,28];9 attribute [10,27];10 call [11,14];11 attribute [12,13];12 identifier [] A;13 identifier [] dot;14 argument_list [15];15 call [16,19];16 at...
Faster version of einsum 'ij,jlk->ilk'
0 module [1];1 function_definition [2,3,5];2 function_name [] _scan;3 parameters [4];4 identifier [] self;5 block [6,10,87];6 expression_statement [7];7 assignment [8,9];8 identifier [] utt_sizes;9 dictionary [];10 for_statement [11,12,15];11 identifier [] dset_name;12 attribute [13,14];13 identifier [] self;14 identif...
For every utterance, calculate the size it will need in memory.
0 module [1];1 function_definition [2,3,5];2 function_name [] minicalendar;3 parameters [4];4 identifier [] context;5 block [6,16,22,30,49,61,94];6 expression_statement [7];7 assignment [8,9];8 identifier [] today;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] dt;13 identifier [] date;14 iden...
Displays a little ajax version of the calendar.
0 module [1];1 function_definition [2,3,5];2 function_name [] register;3 parameters [4];4 identifier [] linter;5 block [6,16];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] MANAGER;10 identifier [] register_transform;11 argument_list [12,15];12 attribute [13,14];13 identifier [] astroid;14 ...
Register all transforms with the linter.
0 module [1];1 function_definition [2,3,7];2 function_name [] _energy_distance_from_distance_matrices;3 parameters [4,5,6];4 identifier [] distance_xx;5 identifier [] distance_yy;6 identifier [] distance_xy;7 block [8];8 return_statement [9];9 () [10];10 binary_operator [11,26] -;11 binary_operator [12,20] -;12 binary_...
Compute energy distance with precalculated distance matrices.
0 module [1];1 function_definition [2,3,6];2 function_name [] generate_request_access_signature;3 parameters [4,5];4 identifier [] parameters;5 identifier [] secret_key;6 block [7,15,21,37,46,54];7 expression_statement [8];8 assignment [9,10];9 identifier [] keys;10 call [11,14];11 attribute [12,13];12 identifier [] pa...
Generate the parameter signature used during third party access requests
0 module [1];1 function_definition [2,3,12];2 function_name [] make_category;3 parameters [4,5,6,9];4 identifier [] self;5 identifier [] string;6 default_parameter [7,8];7 identifier [] parent;8 None [];9 default_parameter [10,11];10 identifier [] order;11 integer [] 1;12 block [13,46,58,64,83];13 expression_statement ...
Make and save a category object from a string
0 module [1];1 function_definition [2,3,6];2 function_name [] __rowResultToTick;3 parameters [4,5];4 identifier [] self;5 identifier [] row;6 block [7,13,53];7 expression_statement [8];8 assignment [9,10];9 identifier [] keyValues;10 attribute [11,12];11 identifier [] row;12 identifier [] columns;13 for_statement [14,1...
convert rowResult from Hbase to Tick
0 module [1];1 function_definition [2,3,6];2 function_name [] register_views;3 parameters [4];4 list_splat_pattern [5];5 identifier [] args;6 block [7,13,21,27,34];7 expression_statement [8];8 assignment [9,10];9 identifier [] config;10 subscript [11,12];11 identifier [] args;12 integer [] 0;13 expression_statement [14...
Registration view for each resource from config.
0 module [1];1 function_definition [2,3,5];2 function_name [] stopService;3 parameters [4];4 identifier [] self;5 block [6,13,18,31];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] Service;10 identifier [] stopService;11 argument_list [12];12 identifier [] self;13 expression_statement [14];1...
Stop the writer thread, wait for it to finish.
0 module [1];1 function_definition [2,3,6];2 function_name [] usable_id;3 parameters [4,5];4 identifier [] cls;5 identifier [] id;6 block [7,51,68];7 try_statement [8,44];8 block [9,18,31];9 expression_statement [10];10 assignment [11,12];11 identifier [] qry_id;12 call [13,16];13 attribute [14,15];14 identifier [] cls...
Retrieve id from input which can be hostname, vhost, id.
0 module [1];1 function_definition [2,3,6];2 function_name [] _remove_unit_rule;3 parameters [4,5];4 identifier [] g;5 identifier [] rule;6 block [7,21,41,53];7 expression_statement [8];8 assignment [9,10];9 identifier [] new_rules;10 list_comprehension [11,12,17];11 identifier [] x;12 for_in_clause [13,14];13 identifi...
Removes 'rule' from 'g' without changing the langugage produced by 'g'.
0 module [1];1 function_definition [2,3,5];2 function_name [] help_cli_search;3 parameters [4];4 identifier [] self;5 block [6,18,27,36,45,54,66,75,87,99];6 expression_statement [7];7 assignment [8,9];8 identifier [] help;9 binary_operator [10,11] %;10 string [] %sSearch: %s returns sample_sets, a sample_set is a set/l...
Help for Workbench CLI Search
0 module [1];1 function_definition [2,3,5];2 function_name [] analyzed_projects;3 parameters [4];4 identifier [] raw_df;5 block [6,14,32,40];6 expression_statement [7];7 assignment [8,9];8 identifier [] df;9 subscript [10,11];10 identifier [] raw_df;11 list [12,13] ['PRONAC', 'proponenteCgcCpf'];12 string [] PRONAC;13 ...
Return all projects that was analyzed.
0 module [1];1 function_definition [2,3,5];2 function_name [] updates_selection;3 parameters [4];4 identifier [] update_selection;5 block [6,154];6 function_definition [7,8,14];7 function_name [] handle_update;8 parameters [9,10,12];9 identifier [] selection;10 list_splat_pattern [11];11 identifier [] args;12 dictionar...
Decorator indicating that the decorated method could change the selection
0 module [1];1 function_definition [2,3,5];2 function_name [] commit;3 parameters [4];4 identifier [] self;5 block [6,12,18,27];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _assert_open;11 argument_list [];12 if_statement [13,16];13 attribute [14,15];14 identifier []...
Commit transaction which is currently in progress.
0 module [1];1 function_definition [2,3,6];2 function_name [] chunks;3 parameters [4,5];4 identifier [] seq;5 identifier [] size;6 block [7];7 return_statement [8];8 generator_expression [9,17];9 subscript [10,11];10 identifier [] seq;11 slice [12,13,14];12 identifier [] pos;13 colon [];14 binary_operator [15,16] +;15 ...
simple two-line alternative to `ubelt.chunks`
0 module [1];1 function_definition [2,3,6];2 function_name [] removeMainWindow;3 parameters [4,5];4 identifier [] self;5 identifier [] mainWindow;6 block [7,14,25,31];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] logger;11 identifier [] debug;12 argument_list [13];13 string [] removeMain...
Removes the mainWindow from the list of windows. Saves the settings
0 module [1];1 function_definition [2,3,9];2 function_name [] write_message;3 parameters [4,5,6];4 identifier [] self;5 identifier [] data;6 default_parameter [7,8];7 identifier [] binary;8 False [];9 block [10];10 expression_statement [11];11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] self...
Write a message to the client
0 module [1];1 function_definition [2,3,28,30];2 function_name [] ensure_no_set_overlap;3 parameters [4,12,20];4 typed_parameter [5,6];5 identifier [] train;6 type [7];7 generic_type [8,9];8 identifier [] Sequence;9 type_parameter [10];10 type [11];11 identifier [] str;12 typed_parameter [13,14];13 identifier [] valid;...
Ensures no test set data has creeped into the training set.
0 module [1];1 function_definition [2,3,14];2 function_name [] run_web;3 parameters [4,5,6,9,12];4 identifier [] self;5 identifier [] flask;6 default_parameter [7,8];7 identifier [] host;8 string [] 127.0.0.1;9 default_parameter [10,11];10 identifier [] port;11 integer [] 5000;12 dictionary_splat_pattern [13];13 identi...
Alias for Flask.run
0 module [1];1 function_definition [2,3,6];2 function_name [] normalize_slice;3 parameters [4,5];4 identifier [] length;5 identifier [] index;6 block [7,9,13,34,54,74,99,124,136,161];7 expression_statement [8];8 string [] Fill in the Nones in a slice.;9 expression_statement [10];10 assignment [11,12];11 identifier [] i...
Fill in the Nones in a slice.
0 module [1];1 function_definition [2,3,5];2 function_name [] mk_dir;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,18];7 not_operator [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] os;12 identifier [] path;13 identifier [] exists;14 argument_list [15];15 attribute [16,...
If this FSNode doesn't currently exist, then make a directory with this name.
0 module [1];1 function_definition [2,3,7];2 function_name [] check_directory_paths;3 parameters [4,5];4 identifier [] self;5 list_splat_pattern [6];6 identifier [] args;7 block [8,49];8 for_statement [9,10,14];9 identifier [] path;10 call [11,12];11 identifier [] enumerate;12 argument_list [13];13 identifier [] args;1...
Ensure all arguments correspond to directories
0 module [1];1 function_definition [2,3,5];2 function_name [] _parse;3 parameters [4];4 identifier [] root;5 block [6,34,38,147];6 if_statement [7,12,15];7 comparison_operator [8,11] ==;8 attribute [9,10];9 identifier [] root;10 identifier [] tag;11 string [] nil-classes;12 block [13];13 return_statement [14];14 list [...
Recursively convert an Element into python data types
0 module [1];1 function_definition [2,3,6];2 function_name [] validate;3 parameters [4,5];4 identifier [] self;5 identifier [] obj;6 block [7,24,32];7 if_statement [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] path;11 block [12];12 for_statement [13,14,17];13 identifier [] i;14 attribute [15,16];15 id...
check if obj has this api param
0 module [1];1 function_definition [2,3,7];2 function_name [] _parseSegments;3 parameters [4,5,6];4 identifier [] self;5 identifier [] data;6 identifier [] elfHeader;7 block [8,16,20,112];8 expression_statement [9];9 assignment [10,11];10 identifier [] offset;11 attribute [12,15];12 attribute [13,14];13 identifier [] e...
Return a list of segments
0 module [1];1 function_definition [2,3,8];2 function_name [] np_lst_sq_xval;3 parameters [4,5,6,7];4 identifier [] vecMdl;5 identifier [] aryFuncChnk;6 identifier [] aryIdxTrn;7 identifier [] aryIdxTst;8 block [9,18,27,43,151];9 expression_statement [10];10 assignment [11,12];11 identifier [] varNumXval;12 subscript [...
Least squares fitting in numpy with cross-validation.
0 module [1];1 function_definition [2,3,5];2 function_name [] spherical;3 parameters [4];4 identifier [] coordinates;5 block [6,10,24,37,51];6 expression_statement [7];7 assignment [8,9];8 identifier [] c;9 identifier [] coordinates;10 expression_statement [11];11 assignment [12,13];12 identifier [] r;13 call [14,19];1...
No error is propagated
0 module [1];1 function_definition [2,3,11];2 function_name [] _cfactory;3 parameters [4,5,6,7,8];4 identifier [] attr;5 identifier [] func;6 identifier [] argtypes;7 identifier [] restype;8 default_parameter [9,10];9 identifier [] errcheck;10 None [];11 block [12,20,26,32];12 expression_statement [13];13 assignment [1...
Factory to create a ctypes function and automatically manage errors.
0 module [1];1 function_definition [2,3,5];2 function_name [] delete_index_files;3 parameters [4];4 identifier [] self;5 block [6,12,22];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] clear_cache;11 argument_list [];12 expression_statement [13];13 assignment [14,15];14...
Delete all data aside from source GTF and FASTA files
0 module [1];1 function_definition [2,3,7];2 function_name [] store;3 parameters [4,5,6];4 identifier [] bank;5 identifier [] key;6 identifier [] data;7 block [8,14,22,30,37];8 expression_statement [9];9 assignment [10,11];10 identifier [] redis_server;11 call [12,13];12 identifier [] _get_redis_server;13 argument_list...
Store the data in a Redis key.
0 module [1];1 function_definition [2,3,19,21];2 function_name [] force_vertical_padding_after;3 parameters [4,5,9];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] index;7 type [8];8 identifier [] int;9 typed_parameter [10,11];10 identifier [] padding;11 type [12];12 generic_type [13,14];13 identifier [] U...
Change the padding after the given row.
0 module [1];1 function_definition [2,3,5];2 function_name [] export_batch;3 parameters [4];4 identifier [] self;5 block [6,29,77];6 expression_statement [7];7 assignment [8,9];8 identifier [] batch;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] batch_cls;13 argument_list [14,19,24];14 keywo...
Returns a batch instance after exporting a batch of txs.
0 module [1];1 function_definition [2,3,5];2 function_name [] _get_video_info;3 parameters [4];4 identifier [] self;5 block [6,62];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 [] _info_cache;13 block [14,20,51];14 expression_stat...
Returns basic information about the video as dictionary.
0 module [1];1 function_definition [2,3,66,77];2 function_name [] journey_options;3 parameters [4,8,12,21,30,39,48,57];4 typed_parameter [5,6];5 identifier [] origin;6 type [7];7 identifier [] str;8 typed_parameter [9,10];9 identifier [] destination;10 type [11];11 identifier [] str;12 typed_default_parameter [13,14,20...
journey recommendations from an origin to a destination station
0 module [1];1 function_definition [2,3,6];2 function_name [] component_mul;3 parameters [4,5];4 identifier [] vec1;5 identifier [] vec2;6 block [7,13,25,37];7 expression_statement [8];8 assignment [9,10];9 identifier [] new_vec;10 call [11,12];11 identifier [] Vector2;12 argument_list [];13 expression_statement [14];1...
Multiply the components of the vectors and return the result.
0 module [1];1 function_definition [2,3,6];2 function_name [] setKeyboardTransformAbsolute;3 parameters [4,5];4 identifier [] self;5 identifier [] eTrackingOrigin;6 block [7,15,21,30];7 expression_statement [8];8 assignment [9,10];9 identifier [] fn;10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 ide...
Set the position of the keyboard in world space
0 module [1];1 function_definition [2,3,6];2 function_name [] runGetIndividual;3 parameters [4,5];4 identifier [] self;5 identifier [] id_;6 block [7,18,33,42];7 expression_statement [8];8 assignment [9,10];9 identifier [] compoundId;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] datamodel;1...
Runs a getIndividual request for the specified ID.
0 module [1];1 function_definition [2,3,5];2 function_name [] close;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 [] stop_sync;11 argument_list [];12 expression_statement [13];13 list_comprehension [14,21,26];14 call [...
Cleans the robot by stopping synchronization and all controllers.
0 module [1];1 function_definition [2,3,6];2 function_name [] process;3 parameters [4,5];4 identifier [] self;5 identifier [] metric;6 block [7,24];7 if_statement [8,14];8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] _match_metric;12 argument_list [13];13 identifier [] metric;14 block [15];15 ...
Queue a metric. Flushing queue if batch size reached
0 module [1];1 function_definition [2,3,6];2 function_name [] _check_node;3 parameters [4,5];4 identifier [] self;5 identifier [] obj;6 block [7,35];7 if_statement [8,21];8 not_operator [9];9 call [10,11];10 identifier [] issubclass;11 argument_list [12,16];12 call [13,14];13 identifier [] type;14 argument_list [15];15...
check for valid node i.e correct class and is saved
0 module [1];1 function_definition [2,3,6];2 function_name [] fetch_coords;3 parameters [4,5];4 identifier [] self;5 identifier [] query;6 block [7,18];7 expression_statement [8];8 assignment [9,10];9 identifier [] q;10 call [11,14];11 attribute [12,13];12 identifier [] query;13 identifier [] add_query_parameter;14 arg...
Pull down coordinate data from the endpoint.
0 module [1];1 function_definition [2,3,5];2 function_name [] init_process;3 parameters [4];4 identifier [] self;5 block [6,104];6 for_statement [7,8,26];7 identifier [] item;8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] Device;12 identifier [] objects;13 identifier [] filter;14 argument_list ...
init a standard daq process for multiple devices
0 module [1];1 function_definition [2,3,7];2 function_name [] parse_at_root;3 parameters [4,5,6];4 identifier [] self;5 identifier [] root;6 identifier [] state;7 block [8,20];8 expression_statement [9];9 assignment [10,11];10 identifier [] parsed_dict;11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identi...
Parse the root XML element as an aggregate.
0 module [1];1 function_definition [2,3,5];2 function_name [] _expand_disk;3 parameters [4];4 identifier [] disk;5 block [6,10,19,27,35,48];6 expression_statement [7];7 assignment [8,9];8 identifier [] ret;9 dictionary [];10 expression_statement [11];11 call [12,15];12 attribute [13,14];13 identifier [] ret;14 identifi...
Convert the libcloud Volume object into something more serializable.
0 module [1];1 function_definition [2,3,10];2 function_name [] _dumps;3 parameters [4,5];4 identifier [] obj;5 default_parameter [6,7];6 identifier [] cls;7 attribute [8,9];8 identifier [] pyjson;9 identifier [] JSONEncoder;10 block [11,54];11 class_definition [12,13,15];12 identifier [] WithBytes;13 argument_list [14]...
Encode to bytes, and presume bytes in inputs are UTF-8 encoded strings.
0 module [1];1 function_definition [2,3,7];2 function_name [] store_usage_stat;3 parameters [4,5,6];4 identifier [] self;5 identifier [] venv_data;6 identifier [] cache;7 block [8];8 with_statement [9,21];9 with_clause [10];10 with_item [11];11 as_pattern [12,19];12 call [13,14];13 identifier [] open;14 argument_list [...
Log an usage record for venv_data.
0 module [1];1 function_definition [2,3,9];2 function_name [] open;3 parameters [4,5,6];4 identifier [] self;5 identifier [] path;6 default_parameter [7,8];7 identifier [] filename;8 None [];9 block [10,24];10 expression_statement [11];11 assignment [12,15];12 pattern_list [13,14];13 identifier [] scheme;14 identifier ...
Open a file specified by path.
0 module [1];1 function_definition [2,3,5];2 function_name [] bookmarks_index_changed;3 parameters [4];4 identifier [] self;5 block [6,16];6 expression_statement [7];7 assignment [8,9];8 identifier [] index;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] bookmarks_list;14...
Update the UI when the bookmarks combobox has changed.
0 module [1];1 function_definition [2,3,6];2 function_name [] append_static_code;3 parameters [4,5];4 identifier [] filename;5 identifier [] outf;6 block [7,25,39,46];7 expression_statement [8];8 assignment [9,10];9 identifier [] basepath;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] os;14 ...
Open and copy static code from specified file
0 module [1];1 function_definition [2,3,7];2 function_name [] run_cmd_unit;3 parameters [4,5,6];4 identifier [] self;5 identifier [] sentry_unit;6 identifier [] cmd;7 block [8,19,79];8 expression_statement [9];9 assignment [10,13];10 pattern_list [11,12];11 identifier [] output;12 identifier [] code;13 call [14,17];14 ...
Run a command on a unit, return the output and exit code.
0 module [1];1 function_definition [2,3,5];2 function_name [] posted_data_dict;3 parameters [4];4 identifier [] self;5 block [6,14,20,43,53,62,73,83];6 if_statement [7,11];7 not_operator [8];8 attribute [9,10];9 identifier [] self;10 identifier [] query;11 block [12];12 return_statement [13];13 None [];14 import_from_s...
All the data that PayPal posted to us, as a correctly parsed dictionary of values.
0 module [1];1 function_definition [2,3,5];2 function_name [] stop;3 parameters [4];4 identifier [] self;5 block [6,15,21];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 [] The Slack RT...
Closes the websocket connection and ensures it won't reconnect.
0 module [1];1 function_definition [2,3,6];2 function_name [] rotate;3 parameters [4,5];4 identifier [] self;5 identifier [] log;6 block [7,17];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] write;12 argument_list [13,14];13 identifier [] log;14 keyword_argument [15,...
Move the current log to a new file with timestamp and create a new empty log file.
0 module [1];1 function_definition [2,3,6];2 function_name [] rule_low_registers;3 parameters [4,5];4 identifier [] self;5 identifier [] arg;6 block [7,16];7 expression_statement [8];8 assignment [9,10];9 identifier [] r_num;10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] check_register;14 a...
Low registers are R0 - R7
0 module [1];1 function_definition [2,3,6];2 function_name [] progress_updater;3 parameters [4,5];4 identifier [] size;5 identifier [] total;6 block [7];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] current_task;11 identifier [] update_state;12 argument_list [13,19];13 keyword_argument [...
Progress reporter for checksum verification.
0 module [1];1 function_definition [2,3,6];2 function_name [] _getitem;3 parameters [4,5];4 identifier [] self;5 identifier [] key;6 block [7,14,25,65];7 expression_statement [8];8 assignment [9,10];9 identifier [] key;10 call [11,12];11 identifier [] int;12 argument_list [13];13 identifier [] key;14 if_statement [15,1...
Return specified page of series from cache or file.
0 module [1];1 function_definition [2,3,9];2 function_name [] _add_post_data;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] request;7 type [8];8 identifier [] Request;9 block [10,55,61,69,83,91,110];10 if_statement [11,18,36];11 attribute [12,17];12 attribute [13,16];13 attribute [14,15...
Add data to the payload.
0 module [1];1 function_definition [2,3,10];2 function_name [] create_zpaq;3 parameters [4,5,6,7,8,9];4 identifier [] archive;5 identifier [] compression;6 identifier [] cmd;7 identifier [] verbosity;8 identifier [] interactive;9 identifier [] filenames;10 block [11,18,25,34];11 expression_statement [12];12 assignment ...
Create a ZPAQ archive.
0 module [1];1 function_definition [2,3,8];2 function_name [] std;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] bessel_correction;7 True [];8 block [9,33];9 if_statement [10,11,27];10 identifier [] bessel_correction;11 block [12,18];12 expression_statement [13];13 assignment [14,15];...
Estimates std of underlying data, assuming each datapoint was exactly in the center of its bin.
0 module [1];1 function_definition [2,3,8];2 function_name [] io_surface;3 parameters [4,5,6,7];4 identifier [] timestep;5 identifier [] time;6 identifier [] fid;7 identifier [] fld;8 block [9,22,38];9 expression_statement [10];10 call [11,14];11 attribute [12,13];12 identifier [] fid;13 identifier [] write;14 argument...
Output for surface files
0 module [1];1 function_definition [2,3,5];2 function_name [] _work;3 parameters [4];4 identifier [] self;5 block [6,26,47];6 expression_statement [7];7 assignment [8,9];8 identifier [] server;9 call [10,13];10 attribute [11,12];11 identifier [] wsgi;12 identifier [] Server;13 argument_list [14,19];14 keyword_argument ...
Start the neutron-hnv-metadata-proxy agent.
0 module [1];1 function_definition [2,3,11];2 function_name [] ancestors;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] cl;7 None [];8 default_parameter [9,10];9 identifier [] noduplicates;10 True [];11 block [12,20];12 if_statement [13,15];13 not_operator [14];14 identifier [] cl;1...
returns all ancestors in the taxonomy
0 module [1];1 function_definition [2,3,6];2 function_name [] device_at_index;3 parameters [4,5];4 identifier [] self;5 identifier [] index;6 block [7,22];7 if_statement [8,16];8 comparison_operator [9,10] >=;9 identifier [] index;10 call [11,12];11 identifier [] len;12 argument_list [13];13 attribute [14,15];14 identi...
Returns the device at the specified index
0 module [1];1 function_definition [2,3,4];2 function_name [] _aix_loadavg;3 parameters [];4 block [5,14,23,33];5 expression_statement [6];6 assignment [7,8];7 identifier [] uptime;8 call [9,12];9 subscript [10,11];10 identifier [] __salt__;11 string [] cmd.run;12 argument_list [13];13 string [] uptime;14 expression_st...
Return the load average on AIX
0 module [1];1 function_definition [2,3,6];2 function_name [] append;3 parameters [4,5];4 identifier [] self;5 identifier [] item;6 block [7,12];7 expression_statement [8];8 call [9,10];9 identifier [] print;10 argument_list [11];11 identifier [] item;12 expression_statement [13];13 call [14,21];14 attribute [15,20];15...
append item and print it to stdout
0 module [1];1 function_definition [2,3,5];2 function_name [] dict2obj;3 parameters [4];4 identifier [] d;5 block [6,26,36,42,48,65];6 if_statement [7,14];7 call [8,9];8 identifier [] isinstance;9 argument_list [10,11];10 identifier [] d;11 tuple [12,13];12 identifier [] list;13 identifier [] tuple;14 block [15];15 exp...
A helper function which convert a dict to an object.
0 module [1];1 function_definition [2,3,5];2 function_name [] split_focus;3 parameters [4];4 identifier [] self;5 block [6,16,22,41,47,60,67];6 expression_statement [7];7 assignment [8,9];8 identifier [] focus;9 subscript [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] lines;13 attribute [14,15];14 ...
Divide the focus edit widget at the cursor location.
0 module [1];1 function_definition [2,3,7];2 function_name [] _handle_ctrl_c;3 parameters [4,5];4 identifier [] self;5 list_splat_pattern [6];6 identifier [] args;7 block [8,22,34];8 if_statement [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] anybar;12 block [13];13 expression_statement [14];14 call ...
Handle the keyboard interrupts.
0 module [1];1 function_definition [2,3,6];2 function_name [] _map_tril_1d_on_2d;3 parameters [4,5];4 identifier [] indices;5 identifier [] dims;6 block [7,18,34,57,83];7 expression_statement [8];8 assignment [9,10];9 identifier [] N;10 binary_operator [11,17] /;11 () [12];12 binary_operator [13,16] -;13 binary_operato...
Map 1d indices on lower triangular matrix in 2d.
0 module [1];1 function_definition [2,3,5];2 function_name [] wait;3 parameters [4];4 identifier [] self;5 block [6,23];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] logging;10 identifier [] info;11 argument_list [12];12 call [13,16];13 attribute [14,15];14 string [] waiting for {} jobs to...
Waits for all submitted jobs to complete.
0 module [1];1 function_definition [2,3,5];2 function_name [] out_of_date;3 parameters [4];4 identifier [] self;5 block [6];6 try_statement [7,69];7 block [8,29,39,63];8 expression_statement [9];9 assignment [10,11];10 identifier [] latest_remote_sha;11 attribute [12,28];12 subscript [13,26];13 call [14,17];14 attribut...
Check if our local latest sha matches the remote latest sha
0 module [1];1 function_definition [2,3,22];2 function_name [] list_build_records_for_set;3 parameters [4,7,10,13,16,19];4 default_parameter [5,6];5 identifier [] id;6 None [];7 default_parameter [8,9];8 identifier [] name;9 None [];10 default_parameter [11,12];11 identifier [] page_size;12 integer [] 200;13 default_pa...
List all build records for a BuildConfigurationSet
0 module [1];1 function_definition [2,3,9];2 function_name [] delete;3 parameters [4,5,7];4 identifier [] sql;5 list_splat_pattern [6];6 identifier [] args;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10,24];10 assert_statement [11,18];11 comparison_operator [12,13] in;12 string [] delete;13 call [14,...
Deletes and commits with an insert sql statement
0 module [1];1 function_definition [2,3,5];2 function_name [] action;3 parameters [4];4 identifier [] self;5 block [6,21,32];6 expression_statement [7];7 assignment [8,9];8 identifier [] user;9 conditional_expression [10,15,20] if;10 subscript [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] args;14 ...
Invoke functions according to the supplied flags
0 module [1];1 function_definition [2,3,5];2 function_name [] tick;3 parameters [4];4 identifier [] self;5 block [6,19,25];6 expression_statement [7];7 assignment [8,9];8 identifier [] instant_rate;9 binary_operator [10,13] /;10 attribute [11,12];11 identifier [] self;12 identifier [] count;13 call [14,15];14 identifie...
Mark the passage of time and decay the current rate accordingly.
0 module [1];1 function_definition [2,3,5];2 function_name [] header_length;3 parameters [4];4 identifier [] bytearray;5 block [6,19,25,32];6 expression_statement [7];7 assignment [8,11];8 pattern_list [9,10];9 identifier [] groups_of_3;10 identifier [] leftover;11 call [12,13];12 identifier [] divmod;13 argument_list ...
Return the length of s when it is encoded with base64.
0 module [1];1 function_definition [2,3,10];2 function_name [] _estimate_paired_innerdist;3 parameters [4,5,6,7,8,9];4 identifier [] fastq_file;5 identifier [] pair_file;6 identifier [] ref_file;7 identifier [] out_base;8 identifier [] out_dir;9 identifier [] data;10 block [11,27,50,65];11 expression_statement [12];12 ...
Use Bowtie to estimate the inner distance of paired reads.
0 module [1];1 function_definition [2,3,7];2 function_name [] _cutoff;3 parameters [4,5,6];4 identifier [] self;5 identifier [] coeffs;6 identifier [] vscale;7 block [8,17,31,54];8 expression_statement [9];9 assignment [10,11];10 identifier [] bnd;11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier...
Compute cutoff index after which the coefficients are deemed negligible.
0 module [1];1 function_definition [2,3,8];2 function_name [] median;3 parameters [4,5,6];4 identifier [] self;5 identifier [] name;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9,20];9 expression_statement [10];10 assignment [11,12];11 identifier [] data;12 call [13,16];13 attribute [14,15];14 identif...
Median of the distribution.
0 module [1];1 function_definition [2,3,4];2 function_name [] _guess_caller;3 parameters [];4 block [5,8,10,20,31,51];5 import_statement [6];6 dotted_name [7];7 identifier [] inspect;8 global_statement [9];9 identifier [] _caller_path;10 expression_statement [11];11 assignment [12,13];12 identifier [] caller;13 subscri...
try to guess which module import app.py
0 module [1];1 function_definition [2,3,5];2 function_name [] to_data;3 parameters [4];4 identifier [] s;5 block [6,24,49];6 if_statement [7,13];7 call [8,11];8 attribute [9,10];9 identifier [] s;10 identifier [] startswith;11 argument_list [12];12 string [] GPSTime;13 block [14];14 expression_statement [15];15 assignm...
Format a data variable name.
0 module [1];1 function_definition [2,3,5];2 function_name [] generate_security_data;3 parameters [4];4 identifier [] self;5 block [6,17,57];6 expression_statement [7];7 assignment [8,9];8 identifier [] timestamp;9 call [10,11];10 identifier [] int;11 argument_list [12];12 call [13,16];13 attribute [14,15];14 identifie...
Generate a dict of security data for "initial" data.
0 module [1];1 function_definition [2,3,5];2 function_name [] new_batch;3 parameters [4];4 identifier [] self;5 block [6,15];6 expression_statement [7];7 assignment [8,9];8 identifier [] i;9 call [10,11];10 identifier [] next;11 argument_list [12];12 attribute [13,14];13 identifier [] self;14 identifier [] slicer;15 re...
Return a new batch of X and Y by taking a chunk of data from the complete X and Y
0 module [1];1 function_definition [2,3,5];2 function_name [] acit;3 parameters [4];4 identifier [] rest;5 block [6,8,16,25];6 expression_statement [7];7 string [] Look up an acronym;8 expression_statement [9];9 assignment [10,11];10 identifier [] word;11 call [12,15];12 attribute [13,14];13 identifier [] rest;14 ident...
Look up an acronym
0 module [1];1 function_definition [2,3,6];2 function_name [] form_valid;3 parameters [4,5];4 identifier [] self;5 identifier [] form;6 block [7,17,32];7 expression_statement [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] form;12 identifier [] cleaned_data;13 identifier [] pop;14 argument_l...
Pass form data to the confirmation view
0 module [1];1 function_definition [2,3,5];2 function_name [] logReload;3 parameters [4];4 identifier [] options;5 block [6,13,19,32,38,88,94];6 expression_statement [7];7 assignment [8,9];8 identifier [] event_handler;9 call [10,11];10 identifier [] Reload;11 argument_list [12];12 identifier [] options;13 expression_s...
encompasses all the logic for reloading observer.