sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,9];2 function_name [] Screens;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] text;6 identifier [] prog;7 identifier [] screen;8 identifier [] clock;9 block [10,23,33,52,58,118,136];10 expression_statement [11];11 call [12,15];12 attribute [13,14];13 identifier [] B...
Prog = 0 for first page, 1 for middle pages, 2 for last page
0 module [1];1 function_definition [2,3,6];2 function_name [] on_bottom_align_toggled;3 parameters [4,5];4 identifier [] self;5 identifier [] chk;6 block [7,15];7 expression_statement [8];8 assignment [9,10];9 identifier [] v;10 call [11,14];11 attribute [12,13];12 identifier [] chk;13 identifier [] get_active;14 argum...
set the vertical alignment setting.
0 module [1];1 function_definition [2,3,5];2 function_name [] date_for_str;3 parameters [4];4 identifier [] date_str;5 block [6];6 try_statement [7,45];7 block [8,43];8 for_statement [9,10,19];9 identifier [] date_format;10 call [11,14];11 attribute [12,13];12 identifier [] itertools;13 identifier [] permutations;14 ar...
tries to guess date from ambiguous date string
0 module [1];1 function_definition [2,3,10];2 function_name [] gen403;3 parameters [4,5,6,7];4 identifier [] request;5 identifier [] baseURI;6 identifier [] reason;7 default_parameter [8,9];8 identifier [] project;9 None [];10 block [11,15,19,107];11 expression_statement [12];12 assignment [13,14];13 identifier [] orga...
Return a 403 error
0 module [1];1 function_definition [2,3,7];2 function_name [] _filter_results;3 parameters [4,5,6];4 identifier [] self;5 identifier [] result;6 identifier [] anchor;7 block [8,12,57,66,81,111];8 expression_statement [9];9 assignment [10,11];10 identifier [] valid;11 True [];12 try_statement [13,50];13 block [14,29,39]...
Filter search results by checking category titles and dates
0 module [1];1 function_definition [2,3,7];2 function_name [] execute_policy;3 parameters [4,5,6];4 identifier [] self;5 identifier [] scaling_group;6 identifier [] policy;7 block [8];8 return_statement [9];9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] _manager;14 ident...
Executes the specified policy for the scaling group.
0 module [1];1 function_definition [2,3,6];2 function_name [] on_exception;3 parameters [4,5];4 identifier [] self;5 identifier [] exception;6 block [7,17];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] logger;11 identifier [] error;12 argument_list [13,14];13 string [] Exception from str...
An exception occurred in the streaming thread
0 module [1];1 function_definition [2,3,5];2 function_name [] check_matching_coordinates;3 parameters [4];4 identifier [] func;5 block [6,103];6 decorated_definition [7,14];7 decorator [8];8 call [9,12];9 attribute [10,11];10 identifier [] functools;11 identifier [] wraps;12 argument_list [13];13 identifier [] func;14 ...
Decorate a function to make sure all given DataArrays have matching coordinates.
0 module [1];1 function_definition [2,3,6];2 function_name [] _get_axis_label;3 parameters [4,5];4 identifier [] self;5 identifier [] dim;6 block [7];7 if_statement [8,21,55];8 call [9,20];9 attribute [10,19];10 call [11,12];11 identifier [] u;12 argument_list [13];13 subscript [14,15];14 identifier [] dim;15 slice [16...
Return the channel id from a dimension, if applicable.
0 module [1];1 function_definition [2,3,5];2 function_name [] _wrapper;3 parameters [4];4 identifier [] self;5 block [6];6 try_statement [7,24,39];7 block [8];8 expression_statement [9];9 assignment [10,11];10 identifier [] res;11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] func;15 argument...
Wraps around a few calls which need to be made in the same thread.
0 module [1];1 function_definition [2,3,8];2 function_name [] convert_from_gps_time;3 parameters [4,5];4 identifier [] gps_time;5 default_parameter [6,7];6 identifier [] gps_week;7 None [];8 block [9,13,20,120];9 expression_statement [10];10 assignment [11,12];11 identifier [] converted_gps_time;12 None [];13 expressio...
Convert gps time in ticks to standard time.
0 module [1];1 function_definition [2,3,5];2 function_name [] featureServers;3 parameters [4];4 identifier [] self;5 block [6,15,25,51,55,128];6 if_statement [7,12];7 comparison_operator [8,11] ==;8 attribute [9,10];9 identifier [] self;10 identifier [] urls;11 dictionary [];12 block [13];13 return_statement [14];14 di...
gets the hosting feature AGS Server
0 module [1];1 function_definition [2,3,5];2 function_name [] _update_Pxy_diag;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,12];7 identifier [] r;8 call [9,10];9 identifier [] range;10 argument_list [11];11 integer [] 1;12 block [13,21,30,52,65,73,87];13 expression_statement [14];14 assignment...
Update `D`, `A`, `Ainv` from `Pxy`, `Phi_x`.
0 module [1];1 function_definition [2,3,6];2 function_name [] _createComboBoxes;3 parameters [4,5];4 identifier [] self;5 identifier [] row;6 block [7,13,23,29];7 expression_statement [8];8 assignment [9,10];9 identifier [] tree;10 attribute [11,12];11 identifier [] self;12 identifier [] tree;13 expression_statement [1...
Creates a combo box for each of the fullAxisNames
0 module [1];1 function_definition [2,3,5];2 function_name [] find_root_and_sink_variables;3 parameters [4];4 identifier [] self;5 block [6,27,49,70,92];6 expression_statement [7];7 assignment [8,9];8 identifier [] is_root;9 dictionary_comprehension [10,13,18];10 pair [11,12];11 identifier [] name;12 True [];13 for_in_...
Find root variables of the whole graph
0 module [1];1 function_definition [2,3,5];2 function_name [] executor_cleanup;3 parameters [4];4 identifier [] self;5 block [6];6 try_statement [7,19,23];7 block [8];8 expression_statement [9];9 assignment [10,11];10 identifier [] executor;11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] get...
Let the executor clean up any cached information.
0 module [1];1 function_definition [2,3,22];2 function_name [] copy;3 parameters [4,5,8,11,14,17,20];4 identifier [] data;5 default_parameter [6,7];6 identifier [] start;7 integer [] 0;8 default_parameter [9,10];9 identifier [] stop;10 None [];11 default_parameter [12,13];12 identifier [] blen;13 None [];14 default_par...
Copy `data` block-wise into a new array.
0 module [1];1 function_definition [2,3,7];2 function_name [] parse_field;3 parameters [4,5,6];4 identifier [] setting;5 identifier [] field_name;6 identifier [] default;7 block [8];8 if_statement [9,14,23];9 call [10,11];10 identifier [] isinstance;11 argument_list [12,13];12 identifier [] setting;13 identifier [] dic...
Extract result from single-value or dict-type setting like fallback_values.
0 module [1];1 function_definition [2,3,5,7];2 function_name [] update;3 parameters [4];4 identifier [] self;5 type [6];6 None [];7 block [8,14,22,31];8 expression_statement [9];9 assignment [10,11];10 identifier [] mask;11 attribute [12,13];12 identifier [] self;13 identifier [] mask;14 expression_statement [15];15 as...
Update subclass of |RelSubweightsMixin| based on `refweights`.
0 module [1];1 function_definition [2,3,9];2 function_name [] contribute_to_class;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] cls;6 identifier [] name;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10,24,36,50,58,81];10 expression_statement [11];11 call [12,19];12 attribute [13,18];13 ca...
Internal Django method to associate the field with the Model; it assigns the descriptor.
0 module [1];1 function_definition [2,3,5];2 function_name [] close_all_pages;3 parameters [4];4 identifier [] self;5 block [6,10,23];6 expression_statement [7];7 assignment [8,9];8 identifier [] states_to_be_closed;9 list [] [];10 for_statement [11,12,15];11 identifier [] state_identifier;12 attribute [13,14];13 ident...
Closes all tabs of the states editor
0 module [1];1 function_definition [2,3,5];2 function_name [] fetch_entities;3 parameters [4];4 identifier [] self;5 block [6,12,21,25,31,67,76,82];6 expression_statement [7];7 assignment [8,9];8 identifier [] query;9 call [10,11];10 identifier [] text;11 argument_list [];12 expression_statement [13];13 assignment [14,...
Fetch entities for which we have data.
0 module [1];1 function_definition [2,3,6];2 function_name [] DeleteClientActionRequests;3 parameters [4,5];4 identifier [] self;5 identifier [] requests;6 block [7,12,16,36,55];7 if_statement [8,10];8 not_operator [9];9 identifier [] requests;10 block [11];11 return_statement [];12 expression_statement [13];13 assignm...
Deletes a list of client messages from the db.
0 module [1];1 function_definition [2,3,9];2 function_name [] get;3 parameters [4,5,6];4 identifier [] self;5 identifier [] key;6 default_parameter [7,8];7 identifier [] default;8 identifier [] miss;9 block [10,19];10 if_statement [11,16];11 comparison_operator [12,13] not in;12 identifier [] key;13 attribute [14,15];1...
Return the value for given key if it exists.
0 module [1];1 function_definition [2,3,6];2 function_name [] command_queue_worker;3 parameters [4,5];4 identifier [] self;5 identifier [] command_queue;6 block [7];7 while_statement [8,9];8 True [];9 block [10,62];10 try_statement [11,58];11 block [12,25];12 expression_statement [13];13 assignment [14,17];14 pattern_l...
Process commands in command queues.
0 module [1];1 function_definition [2,3,5];2 function_name [] uniq;3 parameters [4];4 identifier [] seq;5 block [6,12];6 expression_statement [7];7 assignment [8,9];8 identifier [] seen;9 call [10,11];10 identifier [] set;11 argument_list [];12 return_statement [13];13 list_comprehension [14,15,18];14 identifier [] x;1...
Return a copy of seq without duplicates.
0 module [1];1 function_definition [2,3,8];2 function_name [] validate;3 parameters [4,5,6];4 identifier [] self;5 identifier [] obj;6 dictionary_splat_pattern [7];7 identifier [] kwargs;8 block [9,16,23];9 expression_statement [10];10 assignment [11,12];11 identifier [] obj;12 call [13,14];13 identifier [] stringify;1...
Check if a thing is a valid date.
0 module [1];1 function_definition [2,3,6];2 function_name [] serial_lock;3 parameters [4,5];4 identifier [] self;5 identifier [] lock;6 block [7,15,44];7 expression_statement [8];8 assignment [9,10];9 identifier [] mav;10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] master;14 identifie...
lock or unlock the port
0 module [1];1 function_definition [2,3,6];2 function_name [] collect_appendvars;3 parameters [4,5];4 identifier [] ap_;5 identifier [] cls;6 block [7];7 for_statement [8,11,18];8 pattern_list [9,10];9 identifier [] key;10 identifier [] value;11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] cl...
colleziona elementi per le liste.
0 module [1];1 function_definition [2,3,6];2 function_name [] _pack_date;3 parameters [4,5];4 identifier [] self;5 identifier [] date;6 block [7,25,37,57,87,108,126];7 expression_statement [8];8 assignment [9,16];9 pattern_list [10,11,12,13,14,15];10 identifier [] y;11 identifier [] mon;12 identifier [] d;13 identifier...
This method is used to encode dates
0 module [1];1 function_definition [2,3,5];2 function_name [] main;3 parameters [4];4 identifier [] output;5 block [6,19,23,103];6 expression_statement [7];7 assignment [8,9];8 identifier [] client;9 call [10,15];10 attribute [11,14];11 call [12,13];12 identifier [] Session;13 argument_list [];14 identifier [] client;1...
Generate a c7n-org gcp projects config file
0 module [1];1 function_definition [2,3,7];2 function_name [] transpose;3 parameters [4,5,6];4 identifier [] attrs;5 identifier [] inputs;6 identifier [] proto_obj;7 block [8,21];8 expression_statement [9];9 assignment [10,11];10 identifier [] new_attrs;11 call [12,15];12 attribute [13,14];13 identifier [] translation_...
Transpose the input array.
0 module [1];1 function_definition [2,3,10];2 function_name [] create_issue;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] request;6 identifier [] group;7 identifier [] form_data;8 dictionary_splat_pattern [9];9 identifier [] kwargs;10 block [11,23,43,54,60,66,83,129];11 expression_statement [12];12 assi...
Creates the issue on the remote service and returns an issue ID.
0 module [1];1 function_definition [2,3,5,13];2 function_name [] cookies;3 parameters [4];4 identifier [] self;5 type [6];6 generic_type [7,8];7 identifier [] Dict;8 type_parameter [9,11];9 type [10];10 identifier [] str;11 type [12];12 identifier [] str;13 block [14,20,35];14 expression_statement [15];15 assignment [1...
The parsed cookies attached to this request.
0 module [1];1 function_definition [2,3,9];2 function_name [] grad_eigh;3 parameters [4,5,6];4 identifier [] ans;5 identifier [] x;6 default_parameter [7,8];7 identifier [] UPLO;8 string [] L;9 block [10,19,25,125];10 expression_statement [11];11 assignment [12,13];12 identifier [] N;13 subscript [14,17];14 attribute [...
Gradient for eigenvalues and vectors of a symmetric matrix.
0 module [1];1 function_definition [2,3,6];2 function_name [] weight_list_to_tuple;3 parameters [4,5];4 identifier [] data;5 identifier [] attr_name;6 block [7,31,42,64,68,90];7 if_statement [8,21];8 comparison_operator [9,15] !=;9 call [10,11];10 identifier [] len;11 argument_list [12];12 subscript [13,14];13 identifi...
Converts a list of values and corresponding weights to a tuple of values
0 module [1];1 function_definition [2,3,5];2 function_name [] RV_com1;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 binary_operator [8,11] *;8 attribute [9,10];9 identifier [] self;10 identifier [] RV;11 () [12];12 binary_operator [13,16] /;13 attribute [14,15];14 identifier [] self;15 iden...
RVs of star 1 relative to center-of-mass
0 module [1];1 function_definition [2,3,5];2 function_name [] _create_xml_node;3 parameters [4];4 identifier [] cls;5 block [6,22];6 try_statement [7,14];7 block [8];8 expression_statement [9];9 assignment [10,11];10 identifier [] xml_map;11 attribute [12,13];12 identifier [] cls;13 identifier [] _xml_map;14 except_cla...
Create XML node from "_xml_map".
0 module [1];1 function_definition [2,3,6];2 function_name [] subst_quoted_strings;3 parameters [4,5];4 identifier [] sql;5 identifier [] params;6 block [7,16,20,33,37,76,86];7 expression_statement [8];8 assignment [9,10];9 identifier [] parts;10 call [11,14];11 attribute [12,13];12 identifier [] sql;13 identifier [] s...
Reverse operation to mark_quoted_strings - substitutes '@' by params.
0 module [1];1 function_definition [2,3,5];2 function_name [] check_path;3 parameters [4];4 identifier [] file_path;5 block [6,17];6 expression_statement [7];7 assignment [8,9];8 identifier [] directory;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] os;13 identifier [] path;14 identifier [] d...
Checks if the directories for this path exist, and creates them in case.
0 module [1];1 function_definition [2,3,6];2 function_name [] value_for_keypath;3 parameters [4,5];4 identifier [] obj;5 identifier [] path;6 block [7,11,103];7 expression_statement [8];8 assignment [9,10];9 identifier [] val;10 identifier [] obj;11 for_statement [12,13,19];12 identifier [] part;13 call [14,17];14 attr...
Get value from walking key path with start object obj.
0 module [1];1 function_definition [2,3,8];2 function_name [] del_big_nodes;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] grater_than;7 integer [] 215;8 block [9,15,23,27,31,35,39,43,91,116];9 expression_statement [10];10 assignment [11,12];11 identifier [] G;12 attribute [13,14];13 ...
Delete big nodes with many connections from the graph.
0 module [1];1 function_definition [2,3,6];2 function_name [] _kpost;3 parameters [4,5];4 identifier [] url;5 identifier [] data;6 block [7,14,23,50];7 expression_statement [8];8 assignment [9,10];9 identifier [] headers;10 dictionary [11];11 pair [12,13];12 string [] Content-Type;13 string [] application/json;14 expre...
create any object in kubernetes based on URL
0 module [1];1 function_definition [2,3,6];2 function_name [] parse_datetime;3 parameters [4,5];4 identifier [] dt_str;5 identifier [] format;6 block [7,17];7 expression_statement [8];8 assignment [9,10];9 identifier [] t;10 call [11,14];11 attribute [12,13];12 identifier [] time;13 identifier [] strptime;14 argument_l...
Create a timezone-aware datetime object from a datetime string.
0 module [1];1 function_definition [2,3,5];2 function_name [] api_run_get;3 parameters [4];4 identifier [] run_id;5 block [6,14,27,36,63,67];6 expression_statement [7];7 assignment [8,9];8 identifier [] data;9 subscript [10,13];10 attribute [11,12];11 identifier [] current_app;12 identifier [] config;13 string [] data;...
Return a single run as a JSON object.
0 module [1];1 function_definition [2,3,5];2 function_name [] line_up_with_epoch;3 parameters [4];4 identifier [] self;5 block [6,44,66];6 if_statement [7,16];7 comparison_operator [8,15] is;8 attribute [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] parent;13 identifier [] notes;...
Go to the start of the present epoch.
0 module [1];1 function_definition [2,3,13];2 function_name [] read_hdf5_segmentlist;3 parameters [4,5,8,11];4 identifier [] h5f;5 default_parameter [6,7];6 identifier [] path;7 None [];8 default_parameter [9,10];9 identifier [] gpstype;10 identifier [] LIGOTimeGPS;11 dictionary_splat_pattern [12];12 identifier [] kwar...
Read a `SegmentList` object from an HDF5 file or group.
0 module [1];1 function_definition [2,3,7];2 function_name [] _traverse_unobserved;3 parameters [4,5,6];4 identifier [] stream;5 identifier [] negative_filter;6 identifier [] of;7 block [8,14,62];8 expression_statement [9];9 assignment [10,11];10 identifier [] observed;11 call [12,13];12 identifier [] set;13 argument_l...
Go through a stream and print out anything not in observed set
0 module [1];1 function_definition [2,3,5];2 function_name [] _add_nat;3 parameters [4];4 identifier [] self;5 block [6,37,54,61];6 if_statement [7,11];7 call [8,9];8 identifier [] is_period_dtype;9 argument_list [10];10 identifier [] self;11 block [12];12 raise_statement [13];13 call [14,15];14 identifier [] TypeError...
Add pd.NaT to self
0 module [1];1 function_definition [2,3,6];2 function_name [] _determine_scaling_policies;3 parameters [4,5];4 identifier [] scaling_policies;5 identifier [] scaling_policies_from_pillar;6 block [7,22,32];7 expression_statement [8];8 assignment [9,10];9 identifier [] pillar_scaling_policies;10 call [11,14];11 attribute...
helper method for present. ensure that scaling_policies are set
0 module [1];1 function_definition [2,3,5];2 function_name [] ensure_connected;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,13];7 not_operator [8];8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] is_connected;12 argument_list [];13 block [14,26];14 if_statement [15,19];15 ...
Ensures database connection is still open.
0 module [1];1 function_definition [2,3,5];2 function_name [] RunOnce;3 parameters [4];4 identifier [] self;5 block [6,12];6 import_from_statement [7,10];7 dotted_name [8,9];8 identifier [] grr_response_server;9 identifier [] gui;10 dotted_name [11];11 identifier [] gui_plugins;12 if_statement [13,22];13 call [14,19];1...
Import the plugins once only.
0 module [1];1 function_definition [2,3,5];2 function_name [] read_sheets;3 parameters [4];4 identifier [] archive;5 block [6,15,22];6 expression_statement [7];7 assignment [8,9];8 identifier [] xml_source;9 call [10,13];10 attribute [11,12];11 identifier [] archive;12 identifier [] read;13 argument_list [14];14 identi...
Read worksheet titles and ids for a workbook
0 module [1];1 function_definition [2,3,6];2 function_name [] find_permission;3 parameters [4,5];4 identifier [] self;5 identifier [] name;6 block [7];7 return_statement [8];8 () [9];9 call [10,29];10 attribute [11,28];11 call [12,24];12 attribute [13,23];13 call [14,19];14 attribute [15,18];15 attribute [16,17];16 ide...
Finds and returns a Permission by name
0 module [1];1 function_definition [2,3,7];2 function_name [] toy_linear_1d_classification;3 parameters [4];4 default_parameter [5,6];5 identifier [] seed;6 identifier [] default_seed;7 block [8,54,65,79,92,106];8 function_definition [9,10,12];9 function_name [] sample_class;10 parameters [11];11 identifier [] f;12 blo...
Simple classification data in one dimension for illustrating models.
0 module [1];1 function_definition [2,3,7];2 function_name [] exec_before_request_actions;3 parameters [4,5];4 identifier [] actions;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,24];8 expression_statement [9];9 assignment [10,11];10 identifier [] groups;11 tuple [12,13];12 string [] before;13 binary...
Execute actions in the "before" and "before_METHOD" groups
0 module [1];1 function_definition [2,3,9,11];2 function_name [] limit;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] limit;7 type [8];8 identifier [] int;9 type [10];10 string [] QuerySet;11 block [12,20,26];12 expression_statement [13];13 assignment [14,15];14 identifier [] queryset;1...
Limits QuerySet to given length.
0 module [1];1 function_definition [2,3,5];2 function_name [] grandparent_path;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] os;11 identifier [] path;12 identifier [] basename;13 argument_list [14];14 call [15,20];15 attrib...
return grandparent's path string
0 module [1];1 function_definition [2,3,13];2 function_name [] create;3 parameters [4,5,6,7,8,9,10];4 identifier [] self;5 identifier [] client_id;6 identifier [] title;7 identifier [] unsubscribe_page;8 identifier [] confirmed_opt_in;9 identifier [] confirmation_success_page;10 default_parameter [11,12];11 identifier ...
Creates a new list for a client.
0 module [1];1 function_definition [2,3,5];2 function_name [] _stop_actions;3 parameters [4];4 identifier [] self;5 block [6,15,33];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] Global;11 identifier [] LOGGER;12 identifier [] info;13 argument_list [14];14 string [] sto...
Stop all the actions
0 module [1];1 function_definition [2,3,6];2 function_name [] activate_right;3 parameters [4,5];4 identifier [] self;5 identifier [] token;6 block [7,18];7 expression_statement [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] watchers;12 identifier [] MATCHER;13 identifier [] debug;14 argumen...
Make a copy of the received token and call `_activate_right`.
0 module [1];1 function_definition [2,3,6];2 function_name [] scan;3 parameters [4,5];4 identifier [] self;5 identifier [] string;6 block [7];7 return_statement [8];8 call [9,10];9 identifier [] list;10 argument_list [11];11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] _scanner_to_matches;15...
Like findall, but also returning matching start and end string locations
0 module [1];1 function_definition [2,3,6];2 function_name [] filter_delete;3 parameters [4,5];4 identifier [] self;5 identifier [] id;6 block [7,16,28];7 expression_statement [8];8 assignment [9,10];9 identifier [] id;10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] __unpack_id;14 argument_l...
Deletes the filter with the given `id`.
0 module [1];1 function_definition [2,3,6];2 function_name [] _get_caller_supplement;3 parameters [4,5];4 identifier [] caller;5 identifier [] data;6 block [7,36];7 if_statement [8,11];8 comparison_operator [9,10] ==;9 identifier [] caller;10 string [] mutect;11 block [12,25];12 expression_statement [13];13 assignment ...
Some callers like MuTect incorporate a second caller for indels.
0 module [1];1 function_definition [2,3,7];2 function_name [] _create_optObject;3 parameters [4,5];4 identifier [] self;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,24,95];8 expression_statement [9];9 assignment [10,11];10 identifier [] optimizer;11 call [12,15];12 attribute [13,14];13 identifier []...
Make MINUIT or NewMinuit type optimizer object
0 module [1];1 function_definition [2,3,6];2 function_name [] load_medium;3 parameters [4,5];4 identifier [] self;5 identifier [] model;6 block [7,18,24,33,46,61];7 expression_statement [8];8 assignment [9,10];9 identifier [] media;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 ident...
Load and validate all media.
0 module [1];1 function_definition [2,3,7];2 function_name [] _find_topics_with_wrong_rp;3 parameters [4,5,6];4 identifier [] topics;5 identifier [] zk;6 identifier [] default_min_isr;7 block [8,12,67];8 expression_statement [9];9 assignment [10,11];10 identifier [] topics_with_wrong_rf;11 list [] [];12 for_statement [...
Returns topics with wrong replication factor.
0 module [1];1 function_definition [2,3,6];2 function_name [] handle_subscribe;3 parameters [4,5];4 identifier [] self;5 identifier [] request;6 block [7,25,37];7 expression_statement [8];8 assignment [9,10];9 identifier [] ret;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 identifie...
Handle a Subscribe request from outside. Called with lock taken
0 module [1];1 function_definition [2,3,7];2 function_name [] validate_regexp;3 parameters [4,5,6];4 identifier [] ctx;5 identifier [] param;6 identifier [] value;7 block [8,32];8 if_statement [9,10];9 identifier [] value;10 block [11];11 try_statement [12,22];12 block [13];13 expression_statement [14];14 assignment [1...
Validate and compile regular expression.
0 module [1];1 function_definition [2,3,7];2 function_name [] count_terms;3 parameters [4,5,6];4 identifier [] geneset;5 identifier [] assoc;6 identifier [] obo_dag;7 block [8,14,47];8 expression_statement [9];9 assignment [10,11];10 identifier [] term_cnt;11 call [12,13];12 identifier [] Counter;13 argument_list [];14...
count the number of terms in the study group
0 module [1];1 function_definition [2,3,11,13];2 function_name [] __get_ac_row;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] ac;7 type [8];8 attribute [9,10];9 identifier [] model;10 identifier [] AssetClass;11 type [12];12 identifier [] AssetAllocationViewModel;13 block [14,20,28,36,4...
Formats one Asset Class record
0 module [1];1 function_definition [2,3,5];2 function_name [] parse_diff_filenames;3 parameters [4];4 identifier [] diff_files;5 block [6,10,56];6 expression_statement [7];7 assignment [8,9];8 identifier [] files;9 list [] [];10 for_statement [11,12,17];11 identifier [] line;12 call [13,16];13 attribute [14,15];14 iden...
Parse the output of filenames_diff_cmd.
0 module [1];1 function_definition [2,3,10];2 function_name [] pbar;3 parameters [4,5,8];4 identifier [] iter;5 default_parameter [6,7];6 identifier [] desc;7 string [];8 dictionary_splat_pattern [9];9 identifier [] kwargs;10 block [11];11 return_statement [12];12 call [13,14];13 identifier [] tqdm;14 argument_list [15...
Wrapper for `tqdm` progress bar.
0 module [1];1 function_definition [2,3,18];2 function_name [] release_all;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] callback;7 type [8];8 generic_type [9,10];9 identifier [] Callable;10 type_parameter [11,16];11 type [12];12 list [13,14,15] [str, Any, Any];13 identifier [] str;14 ...
Releases callback from all keys changes
0 module [1];1 function_definition [2,3,8];2 function_name [] expand_dates;3 parameters [4,5];4 identifier [] df;5 default_parameter [6,7];6 identifier [] columns;7 list [] [];8 block [9,20,41,105];9 expression_statement [10];10 assignment [11,12];11 identifier [] columns;12 call [13,18];13 attribute [14,17];14 attribu...
generate year, month, day features from specified date features
0 module [1];1 function_definition [2,3,6];2 function_name [] merge;3 parameters [4,5];4 identifier [] self;5 identifier [] other;6 block [7];7 for_statement [8,11,16];8 pattern_list [9,10];9 identifier [] key;10 identifier [] value;11 call [12,15];12 attribute [13,14];13 identifier [] other;14 identifier [] items;15 a...
Recursively merge tags from another compound.
0 module [1];1 function_definition [2,3,6];2 function_name [] check_dir;3 parameters [4,5];4 identifier [] directory;5 identifier [] newly_created_files;6 block [7,11,83];7 expression_statement [8];8 assignment [9,10];9 identifier [] header_parse_failures;10 list [] [];11 for_statement [12,16,22];12 pattern_list [13,14...
Returns list of files that fail the check.
0 module [1];1 function_definition [2,3,6];2 function_name [] hue_sat_to_cmap;3 parameters [4,5];4 identifier [] hue;5 identifier [] sat;6 block [7,10,19,28,32,72];7 import_statement [8];8 dotted_name [9];9 identifier [] colorsys;10 expression_statement [11];11 assignment [12,13];12 identifier [] hue;13 binary_operator...
Mkae a color map from a hue and saturation value.
0 module [1];1 function_definition [2,3,9];2 function_name [] StartFileFetch;3 parameters [4,5,6];4 identifier [] self;5 identifier [] pathspec;6 default_parameter [7,8];7 identifier [] request_data;8 None [];9 block [10,21,32];10 expression_statement [11];11 call [12,19];12 attribute [13,18];13 attribute [14,17];14 at...
The entry point for this flow mixin - Schedules new file transfer.
0 module [1];1 function_definition [2,3,5];2 function_name [] prune_cached;3 parameters [4];4 identifier [] values;5 block [6,9,20,32,45,65,71,95];6 import_statement [7];7 dotted_name [8];8 identifier [] os;9 expression_statement [10];10 assignment [11,12];11 identifier [] config_path;12 call [13,18];13 attribute [14,1...
Remove the items that have already been cached.
0 module [1];1 function_definition [2,3,8];2 function_name [] _swap;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] class1;6 identifier [] class2;7 identifier [] a;8 block [9,18,27,33,42,51,58,65,74,83,89];9 expression_statement [10];10 assignment [11,12];11 identifier [] ss1;12 call [13,16];13 attribute [1...
evaluate cost of moving a from class1 to class2
0 module [1];1 function_definition [2,3,5];2 function_name [] attrs;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 call [8,9];8 identifier [] dict;9 generator_expression [10,13,23];10 tuple [11,12];11 identifier [] k;12 identifier [] v;13 for_in_clause [14,17];14 pattern_list [15,16];15 iden...
Returns a dictionary of the archive's attributes.
0 module [1];1 function_definition [2,3,6];2 function_name [] _from_dict;3 parameters [4,5];4 identifier [] cls;5 identifier [] _dict;6 block [7,11,44];7 expression_statement [8];8 assignment [9,10];9 identifier [] args;10 dictionary [];11 if_statement [12,15,37];12 comparison_operator [13,14] in;13 string [] contentIt...
Initialize a Content object from a json dictionary.
0 module [1];1 function_definition [2,3,7];2 function_name [] checkGeneTreeMatchesSpeciesTree;3 parameters [4,5,6];4 identifier [] speciesTree;5 identifier [] geneTree;6 identifier [] processID;7 block [8,49,53,59,63,69];8 function_definition [9,10,13];9 function_name [] fn;10 parameters [11,12];11 identifier [] tree;1...
Function to check ids in gene tree all match nodes in species tree
0 module [1];1 function_definition [2,3,5];2 function_name [] zcr;3 parameters [4];4 identifier [] data;5 block [6,18,25,51];6 expression_statement [7];7 assignment [8,9];8 identifier [] data;9 call [10,13];10 attribute [11,12];11 identifier [] np;12 identifier [] mean;13 argument_list [14,15];14 identifier [] data;15 ...
Computes zero crossing rate of segment
0 module [1];1 function_definition [2,3,7];2 function_name [] _methodInTraceback;3 parameters [4,5,6];4 identifier [] self;5 identifier [] name;6 identifier [] traceback;7 block [8,12,50];8 expression_statement [9];9 assignment [10,11];10 identifier [] foundMethod;11 False [];12 for_statement [13,14,20];13 identifier [...
Returns boolean whether traceback contains method from this instance
0 module [1];1 function_definition [2,3,7];2 function_name [] quotes_by_instrument_urls;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] client;6 identifier [] urls;7 block [8,17,24,28,40,46,75];8 expression_statement [9];9 assignment [10,11];10 identifier [] instruments;11 call [12,15];12 attribute [13,14];13 ...
fetch and return results
0 module [1];1 function_definition [2,3,13];2 function_name [] delete_edge;3 parameters [4,5,9];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] source;7 type [8];8 identifier [] str;9 typed_parameter [10,11];10 identifier [] target;11 type [12];12 identifier [] str;13 block [14];14 if_statement [15,22];15 ...
Removes an edge if it is in the graph.
0 module [1];1 function_definition [2,3,9];2 function_name [] add_arguments;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] parser;6 default_parameter [7,8];7 identifier [] sys_arg_list;8 None [];9 block [10,34];10 expression_statement [11];11 call [12,15];12 attribute [13,14];13 identifier [] parser;14 identi...
Arguments for the ICMPecho health monitor plugin.
0 module [1];1 function_definition [2,3,10];2 function_name [] get;3 parameters [4,5,6,8];4 identifier [] self;5 identifier [] request;6 list_splat_pattern [7];7 identifier [] args;8 dictionary_splat_pattern [9];9 identifier [] kwargs;10 block [11,17];11 expression_statement [12];12 assignment [13,14];13 identifier [] ...
return profile of current user if authenticated otherwise 401
0 module [1];1 function_definition [2,3,5];2 function_name [] valid_ipv4;3 parameters [4];4 identifier [] ip;5 block [6,15,22,30,40,49,60,88];6 expression_statement [7];7 assignment [8,9];8 identifier [] match;9 call [10,13];10 attribute [11,12];11 identifier [] _valid_ipv4;12 identifier [] match;13 argument_list [14];...
check if ip is a valid ipv4
0 module [1];1 function_definition [2,3,7];2 function_name [] add_user;3 parameters [4,5,6];4 identifier [] cls;5 identifier [] username;6 identifier [] email;7 block [8,20,29,37,59,66,87,96];8 expression_statement [9];9 assignment [10,11];10 identifier [] sanitized;11 call [12,13];12 identifier [] str;13 argument_list...
Add user to service
0 module [1];1 function_definition [2,3,6];2 function_name [] setTimeout;3 parameters [4,5];4 identifier [] self;5 identifier [] time;6 block [7,19];7 expression_statement [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] conversation;13 identifier [] SetDDETimeout;14 arg...
Set global timeout value, in seconds, for all DDE calls
0 module [1];1 function_definition [2,3,9];2 function_name [] add_gateway_router;3 parameters [4,5,6];4 identifier [] self;5 identifier [] router;6 default_parameter [7,8];7 identifier [] body;8 None [];9 block [10];10 return_statement [11];11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] put...
Adds an external network gateway to the specified router.
0 module [1];1 function_definition [2,3,5];2 function_name [] _sanity_check_registered_locations_parent_locations;3 parameters [4];4 identifier [] query_metadata_table;5 block [6];6 for_statement [7,10,13];7 pattern_list [8,9];8 identifier [] location;9 identifier [] location_info;10 attribute [11,12];11 identifier [] ...
Assert that all registered locations' parent locations are also registered.
0 module [1];1 function_definition [2,3,5];2 function_name [] bernard_auth;3 parameters [4];4 identifier [] func;5 block [6,142];6 decorated_definition [7,12];7 decorator [8];8 call [9,10];9 identifier [] wraps;10 argument_list [11];11 identifier [] func;12 function_definition [13,14,19];13 function_name [] wrapper;14 ...
Authenticates the users based on the query-string-provided token
0 module [1];1 function_definition [2,3,15];2 function_name [] zscan;3 parameters [4,5,6,9,12];4 identifier [] self;5 identifier [] key;6 default_parameter [7,8];7 identifier [] cursor;8 integer [] 0;9 default_parameter [10,11];10 identifier [] match;11 None [];12 default_parameter [13,14];13 identifier [] count;14 Non...
Incrementally iterate sorted sets elements and associated scores.
0 module [1];1 function_definition [2,3,5];2 function_name [] to_literal;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,11,24];7 not_operator [8];8 attribute [9,10];9 identifier [] self;10 identifier [] nodes;11 block [12];12 return_statement [13];13 tuple [14,17,20,23];14 attribute [15,16];15 iden...
Convert the node into a literal Python object
0 module [1];1 function_definition [2,3,6];2 function_name [] process_next_message;3 parameters [4,5];4 identifier [] self;5 identifier [] timeout;6 block [7,18];7 expression_statement [8];8 assignment [9,10];9 identifier [] message;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 iden...
Processes the next message coming from the workers.
0 module [1];1 function_definition [2,3,5];2 function_name [] _get_struct_glowfilter;3 parameters [4];4 identifier [] self;5 block [6,13,23,34,45,56,65,76,87,98,109];6 expression_statement [7];7 assignment [8,9];8 identifier [] obj;9 call [10,11];10 identifier [] _make_object;11 argument_list [12];12 string [] GlowFilt...
Get the values for the GLOWFILTER record.