sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,5];2 function_name [] invert_dictset;3 parameters [4];4 identifier [] d;5 block [6,10,41];6 expression_statement [7];7 assignment [8,9];8 identifier [] result;9 dictionary [];10 for_statement [11,14,19];11 pattern_list [12,13];12 identifier [] k;13 identifier [] c;14 call [15,18]...
Invert a dictionary with keys matching a set of values, turned into lists.
0 module [1];1 function_definition [2,3,5];2 function_name [] show_dependencies;3 parameters [4];4 identifier [] self;5 block [6,13,20,29];6 import_from_statement [7,11];7 dotted_name [8,9,10];8 identifier [] spyder;9 identifier [] widgets;10 identifier [] dependencies;11 dotted_name [12];12 identifier [] DependenciesD...
Show Spyder's Dependencies dialog box
0 module [1];1 function_definition [2,3,5];2 function_name [] ensure_configured;3 parameters [4];4 identifier [] func;5 block [6,46];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 function_d...
Modify a function to call ``basicConfig`` first if no handlers exist.
0 module [1];1 function_definition [2,3,5];2 function_name [] dovds;3 parameters [4];4 identifier [] data;5 block [6,14,28,107,141];6 expression_statement [7];7 assignment [8,11];8 pattern_list [9,10];9 identifier [] vds;10 identifier [] X;11 expression_list [12,13];12 integer [] 0;13 list [] [];14 for_statement [15,16...
calculates vector difference sum for demagnetization data
0 module [1];1 function_definition [2,3,7];2 function_name [] execute_command_no_results;3 parameters [4,5,6];4 identifier [] self;5 identifier [] sock_info;6 identifier [] generator;7 block [8,36,42,48];8 expression_statement [9];9 assignment [10,11];10 identifier [] full_result;11 dictionary [12,15,18,21,24,27,30,33]...
Execute write commands with OP_MSG and w=0 WriteConcern, ordered.
0 module [1];1 function_definition [2,3,5];2 function_name [] temperature;3 parameters [4];4 identifier [] self;5 block [6,15,27];6 expression_statement [7];7 assignment [8,9];8 identifier [] result;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] i2c_read;13 argument_list [14];14 integer [] 2...
Get the temperature in degree celcius
0 module [1];1 function_definition [2,3,9];2 function_name [] clone;3 parameters [4,5,6,7,8];4 identifier [] gandi;5 identifier [] name;6 identifier [] vhost;7 identifier [] directory;8 identifier [] origin;9 block [10,29];10 if_statement [11,14,19];11 comparison_operator [12,13] !=;12 identifier [] vhost;13 string [] ...
Clone a remote vhost in a local git repository.
0 module [1];1 function_definition [2,3,4];2 function_name [] current_rolenames;3 parameters [];4 block [5,11];5 expression_statement [6];6 assignment [7,8];7 identifier [] jwt_data;8 call [9,10];9 identifier [] get_jwt_data_from_app_context;10 argument_list [];11 if_statement [12,15,22];12 comparison_operator [13,14] ...
This method returns the names of all roles associated with the current user
0 module [1];1 function_definition [2,3,8];2 function_name [] create;3 parameters [4,5,6,7];4 identifier [] client;5 identifier [] output_file;6 identifier [] revision;7 identifier [] paths;8 block [9,16,30];9 expression_statement [10];10 assignment [11,12];11 identifier [] graph;12 call [13,14];13 identifier [] Graph;...
Create a workflow description for a file.
0 module [1];1 function_definition [2,3,5];2 function_name [] _get_co_from_dump;3 parameters [4];4 identifier [] data;5 block [6,15,29,39,49,53,81,91,101,110];6 expression_statement [7];7 assignment [8,9];8 identifier [] current;9 call [10,13];10 attribute [11,12];11 identifier [] struct;12 identifier [] calcsize;13 ar...
Return the code objects from the dump.
0 module [1];1 function_definition [2,3,5];2 function_name [] error;3 parameters [4];4 identifier [] self;5 block [6,25];6 for_statement [7,8,9];7 identifier [] item;8 identifier [] self;9 block [10];10 if_statement [11,20];11 boolean_operator [12,17] and;12 call [13,14];13 identifier [] isinstance;14 argument_list [15...
Returns the error for this barrier and all work items, if any.
0 module [1];1 function_definition [2,3,5];2 function_name [] _compile_rules;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,10,17];7 pattern_list [8,9];8 identifier [] state;9 identifier [] table;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] RULES...
Compile the rules into the internal lexer state.
0 module [1];1 function_definition [2,3,13,15];2 function_name [] load_json;3 parameters [4,8];4 typed_parameter [5,6];5 identifier [] path;6 type [7];7 identifier [] str;8 typed_default_parameter [9,10,12];9 identifier [] encoding;10 type [11];11 identifier [] str;12 string [] utf-8;13 type [14];14 identifier [] Histo...
Load histogram from a JSON file.
0 module [1];1 function_definition [2,3,5];2 function_name [] _read_stderr;3 parameters [4];4 identifier [] self;5 block [6,25];6 expression_statement [7];7 assignment [8,9];8 identifier [] output;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] _decode;13 argument_list [14];14 call [15,24];15...
Reads the child process' stderr and process it.
0 module [1];1 function_definition [2,3,18];2 function_name [] write;3 parameters [4,5,6,9,12,15];4 identifier [] tsdict;5 identifier [] outfile;6 default_parameter [7,8];7 identifier [] start;8 None [];9 default_parameter [10,11];10 identifier [] end;11 None [];12 default_parameter [13,14];13 identifier [] name;14 str...
Write data to a GWF file using the LALFrame API
0 module [1];1 function_definition [2,3,7];2 function_name [] _unpickle_method;3 parameters [4,5,6];4 identifier [] func_name;5 identifier [] obj;6 identifier [] cls;7 block [8,25,48];8 if_statement [9,12];9 comparison_operator [10,11] is;10 identifier [] obj;11 None [];12 block [13];13 return_statement [14];14 call [1...
Unpickle methods properly, including class methods.
0 module [1];1 function_definition [2,3,5];2 function_name [] ensure_cfn_bucket;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,10];7 attribute [8,9];8 identifier [] self;9 identifier [] bucket_name;10 block [11];11 expression_statement [12];12 call [13,14];13 identifier [] ensure_s3_bucket;14 argum...
The CloudFormation bucket where templates will be stored.
0 module [1];1 function_definition [2,3,11];2 function_name [] _update;3 parameters [4,5,6,7,8,9,10];4 identifier [] collection_name;5 identifier [] upsert;6 identifier [] multi;7 identifier [] spec;8 identifier [] doc;9 identifier [] check_keys;10 identifier [] opts;11 block [12,16,23,30,34,43];12 expression_statement...
Get an OP_UPDATE message.
0 module [1];1 function_definition [2,3,5];2 function_name [] run_job;3 parameters [4];4 identifier [] args;5 block [6,13,24,44];6 expression_statement [7];7 assignment [8,9];8 identifier [] jm;9 call [10,11];10 identifier [] setup;11 argument_list [12];12 identifier [] args;13 expression_statement [14];14 assignment [...
Starts the wrapper script to execute a job, interpreting the JOB_ID and SGE_TASK_ID keywords that are set by the grid or by us.
0 module [1];1 function_definition [2,3,5];2 function_name [] invalidate;3 parameters [4];4 identifier [] self;5 block [6,16,32];6 expression_statement [7];7 call [8,15];8 attribute [9,14];9 call [10,11];10 identifier [] super;11 argument_list [12,13];12 identifier [] RedisTransport;13 identifier [] self;14 identifier ...
Invalidates the current transport and disconnects all redis connections
0 module [1];1 function_definition [2,3,5];2 function_name [] handle_write;3 parameters [4];4 identifier [] self;5 block [6,17,50];6 expression_statement [7];7 assignment [8,9];8 identifier [] num_sent;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] send;13 argument_list [14];14 attribute [15...
Let's write as much as we can
0 module [1];1 function_definition [2,3,7];2 function_name [] mark_address;3 parameters [4,5,6];4 identifier [] self;5 identifier [] addr;6 identifier [] size;7 block [8,12];8 expression_statement [9];9 assignment [10,11];10 identifier [] i;11 integer [] 0;12 while_statement [13,16];13 comparison_operator [14,15] <;14 ...
Marks address as being used in simulator
0 module [1];1 function_definition [2,3,10];2 function_name [] anonymous_required;3 parameters [4,7];4 default_parameter [5,6];5 identifier [] func;6 None [];7 default_parameter [8,9];8 identifier [] url;9 None [];10 block [11,17,70];11 expression_statement [12];12 assignment [13,14];13 identifier [] url;14 boolean_ope...
Required that the user is not logged in.
0 module [1];1 function_definition [2,3,5];2 function_name [] prepare;3 parameters [4];4 identifier [] cls;5 block [6];6 if_statement [7,12];7 call [8,11];8 attribute [9,10];9 identifier [] cls;10 identifier [] _ask_openapi;11 argument_list [];12 block [13,19,25,35,40];13 expression_statement [14];14 assignment [15,16]...
Prepare NApp to be uploaded by creating openAPI skeleton.
0 module [1];1 function_definition [2,3,6];2 function_name [] word;3 parameters [4,5];4 identifier [] self;5 identifier [] position;6 block [7];7 if_statement [8,17,24];8 comparison_operator [9,10,11] <=;9 integer [] 0;10 identifier [] position;11 call [12,13];12 identifier [] len;13 argument_list [14];14 attribute [15...
Returns the word instance at the given position in the sentence, None if not found.
0 module [1];1 function_definition [2,3,5,11];2 function_name [] p2th_wif;3 parameters [4];4 identifier [] self;5 type [6];6 generic_type [7,8];7 identifier [] Optional;8 type_parameter [9];9 type [10];10 identifier [] str;11 block [12];12 if_statement [13,16,38];13 attribute [14,15];14 identifier [] self;15 identifier...
P2TH privkey in WIF format
0 module [1];1 function_definition [2,3,5];2 function_name [] link2html;3 parameters [4];4 identifier [] text;5 block [6,10,14];6 expression_statement [7];7 assignment [8,9];8 identifier [] match;9 string [] r'\[([^\]]+)\]\(([^)]+)\)';10 expression_statement [11];11 assignment [12,13];12 identifier [] replace;13 string...
Turns md links to html
0 module [1];1 function_definition [2,3,5];2 function_name [] aggregate;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,11];7 identifier [] report;8 attribute [9,10];9 identifier [] self;10 identifier [] reportset;11 block [12,32,41,45];12 expression_statement [13];13 call [14,15];14 identifier [...
Aggregate all reports of the same type into a master report
0 module [1];1 function_definition [2,3,7];2 function_name [] span_case;3 parameters [4,5,6];4 identifier [] self;5 identifier [] i;6 identifier [] case;7 block [8,21,34,43,52,58,167];8 if_statement [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] span_stack;12 block [13];13 expression_statement [14];1...
Uppercase or lowercase the next range of characters until end marker is found.
0 module [1];1 function_definition [2,3,8];2 function_name [] show_lbaas_l7policy;3 parameters [4,5,6];4 identifier [] self;5 identifier [] l7policy;6 dictionary_splat_pattern [7];7 identifier [] _params;8 block [9];9 return_statement [10];10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] get;...
Fetches information of a certain listener's L7 policy.
0 module [1];1 function_definition [2,3,5];2 function_name [] pdf_from_post;3 parameters [4];4 identifier [] self;5 block [6,19,32,36,46,58,69,81];6 expression_statement [7];7 assignment [8,9];8 identifier [] html;9 call [10,17];10 attribute [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 ide...
Returns a pdf stream with the stickers
0 module [1];1 function_definition [2,3,5];2 function_name [] find;3 parameters [4];4 identifier [] name;5 block [6,16,27,36,122];6 if_statement [7,13];7 call [8,11];8 attribute [9,10];9 identifier [] op;10 identifier [] exists;11 argument_list [12];12 identifier [] name;13 block [14];14 return_statement [15];15 identi...
Locate a filename into the shader library.
0 module [1];1 function_definition [2,3,5];2 function_name [] reindex;3 parameters [4];4 identifier [] self;5 block [6,41];6 for_statement [7,8,16];7 identifier [] i;8 call [9,10];9 identifier [] range;10 argument_list [11];11 call [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] rally_count;15 argum...
reset counters and indexes
0 module [1];1 function_definition [2,3,5];2 function_name [] check_children;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,12];7 comparison_operator [8,11] is;8 attribute [9,10];9 identifier [] self;10 identifier [] _restart_processes;11 True [];12 block [13];13 for_statement [14,17,25];14 pattern...
Check the children once
0 module [1];1 function_definition [2,3,5];2 function_name [] stop_listener_thread;3 parameters [4];4 identifier [] self;5 block [6,12,33,48,54];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] should_listen;11 False [];12 if_statement [13,16];13 attribute [14,15];...
Kills sync_thread greenlet before joining it
0 module [1];1 function_definition [2,3,6];2 function_name [] watch_activations;3 parameters [4,5];4 identifier [] self;5 identifier [] flag;6 block [7];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] lib;11 identifier [] EnvSetDefruleWatchActivations;12 argument_list [13,16,20];13 attribu...
Whether or not the Rule Activations are being watched.
0 module [1];1 function_definition [2,3,11,13];2 function_name [] files_ondisk;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] file_objs;7 type [8];8 attribute [9,10];9 identifier [] models;10 identifier [] File;11 type [12];12 identifier [] set;13 block [14];14 return_statement [15];15 ...
Returns a list of files that are not on disk.
0 module [1];1 function_definition [2,3,9];2 function_name [] init;3 parameters [4,5,7];4 identifier [] name;5 list_splat_pattern [6];6 identifier [] args;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10];10 if_statement [11,14,74];11 comparison_operator [12,13] in;12 identifier [] name;13 identifier [...
Instantiate a timeframe from the catalog.
0 module [1];1 function_definition [2,3,6];2 function_name [] save;3 parameters [4,5];4 identifier [] self;5 identifier [] fname;6 block [7,27];7 expression_statement [8];8 assignment [9,10];9 identifier [] out;10 call [11,14];11 attribute [12,13];12 identifier [] etree;13 identifier [] tostring;14 argument_list [15,18...
Save figure to a file
0 module [1];1 function_definition [2,3,6];2 function_name [] dragMoveEvent;3 parameters [4,5];4 identifier [] self;5 identifier [] event;6 block [7];7 if_statement [8,16,32];8 call [9,10];9 identifier [] mimedata2url;10 argument_list [11];11 call [12,15];12 attribute [13,14];13 identifier [] event;14 identifier [] mim...
Allow user to move files
0 module [1];1 function_definition [2,3,12];2 function_name [] render_noderef;3 parameters [4,5,6,7,10];4 identifier [] self;5 identifier [] ontol;6 identifier [] n;7 default_parameter [8,9];8 identifier [] query_ids;9 None [];10 dictionary_splat_pattern [11];11 identifier [] args;12 block [13,22,26,35,44,48,73,103];13...
Render a node object
0 module [1];1 function_definition [2,3,5];2 function_name [] player_stats;3 parameters [4];4 identifier [] game_id;5 block [6,17];6 expression_statement [7];7 assignment [8,9];8 identifier [] data;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] mlbgame;13 identifier [] stats;14 identifier [] ...
Return dictionary of player stats for game matching the game id.
0 module [1];1 function_definition [2,3,5];2 function_name [] dedup;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 for_statement [13,14,15];13 identifier [] item;14 identifier [] seq;15 blo...
Remove duplicates from a list while keeping order.
0 module [1];1 function_definition [2,3,7];2 function_name [] add_shortcut_to_tooltip;3 parameters [4,5,6];4 identifier [] action;5 identifier [] context;6 identifier [] name;7 block [8];8 expression_statement [9];9 call [10,13];10 attribute [11,12];11 identifier [] action;12 identifier [] setToolTip;13 argument_list [...
Add the shortcut associated with a given action to its tooltip
0 module [1];1 function_definition [2,3,5];2 function_name [] getDefaultItems;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 list [8,21,30,40,49,58,67,76,85,108] [\n RtiRegItem('HDF-5 file',\n 'argos.repo.rtiplugins.hdf5.H5pyFileRti',\n ...
Returns a list with the default plugins in the repo tree item registry.
0 module [1];1 function_definition [2,3,14];2 function_name [] DEFINE_string;3 parameters [4,5,6,7,12];4 identifier [] name;5 identifier [] default;6 identifier [] help;7 default_parameter [8,9];8 identifier [] flag_values;9 attribute [10,11];10 identifier [] _flagvalues;11 identifier [] FLAGS;12 dictionary_splat_patte...
Registers a flag whose value can be any string.
0 module [1];1 function_definition [2,3,5,17];2 function_name [] sorted_enums;3 parameters [4];4 identifier [] self;5 type [6];6 generic_type [7,8];7 identifier [] List;8 type_parameter [9];9 type [10];10 generic_type [11,12];11 identifier [] Tuple;12 type_parameter [13,15];13 type [14];14 identifier [] str;15 type [16...
Return list of enum items sorted by value.
0 module [1];1 function_definition [2,3,7];2 function_name [] convert_2_utc;3 parameters [4,5,6];4 identifier [] self;5 identifier [] datetime_;6 identifier [] timezone;7 block [8,21];8 expression_statement [9];9 assignment [10,11];10 identifier [] datetime_;11 call [12,19];12 attribute [13,18];13 subscript [14,17];14 ...
convert to datetime to UTC offset.
0 module [1];1 function_definition [2,3,10];2 function_name [] display_message;3 parameters [4,5,6,7,8,9];4 identifier [] self;5 identifier [] clear;6 identifier [] beep;7 identifier [] timeout;8 identifier [] line1;9 identifier [] line2;10 block [11];11 expression_statement [12];12 call [13,18];13 attribute [14,17];14...
Display a message on all of the keypads in this area.
0 module [1];1 function_definition [2,3,5];2 function_name [] reset_stats;3 parameters [4];4 identifier [] self;5 block [6,19,25];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] stats;11 call [12,15];12 attribute [13,14];13 identifier [] pstats;14 identifier [] St...
Reset accumulated profiler statistics.
0 module [1];1 function_definition [2,3,6];2 function_name [] paste_clipboard;3 parameters [4,5];4 identifier [] self;5 identifier [] event;6 block [7,14,24];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] log;11 identifier [] critical;12 argument_list [13];13 string [] paste clipboard;14 ...
Send the clipboard content as user input to the CPU.
0 module [1];1 function_definition [2,3,5];2 function_name [] delete;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,12];7 comparison_operator [8,11] !=;8 attribute [9,10];9 identifier [] self;10 identifier [] fullname;11 string [];12 block [13];13 try_statement [14,24];14 block [15];15 expression_s...
delete a file, don't really care if it doesn't exist
0 module [1];1 function_definition [2,3,5];2 function_name [] _create_clock;3 parameters [4];4 identifier [] self;5 block [6,22,28,32,99,116];6 expression_statement [7];7 assignment [8,9];8 identifier [] trading_o_and_c;9 subscript [10,17];10 attribute [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] ...
If the clock property is not set, then create one based on frequency.
0 module [1];1 function_definition [2,3,5];2 function_name [] smart_import;3 parameters [4];4 identifier [] mpath;5 block [6,55];6 try_statement [7,15];7 block [8];8 expression_statement [9];9 assignment [10,11];10 identifier [] rest;11 call [12,13];12 identifier [] __import__;13 argument_list [14];14 identifier [] mpa...
Given a path smart_import will import the module and return the attr reffered to.
0 module [1];1 function_definition [2,3,5];2 function_name [] parse_datetime;3 parameters [4];4 identifier [] dt;5 block [6,21];6 expression_statement [7];7 assignment [8,9];8 identifier [] d;9 call [10,13];10 attribute [11,12];11 identifier [] datetime;12 identifier [] strptime;13 argument_list [14,20];14 subscript [1...
Parse an ISO datetime, which Python does buggily.
0 module [1];1 function_definition [2,3,5];2 function_name [] main;3 parameters [4];4 identifier [] unusedargv;5 block [6,8,37,44,51,57,61,68,81,147,157];6 delete_statement [7];7 identifier [] unusedargv;8 expression_statement [9];9 assignment [10,11];10 identifier [] bt_table;11 () [12];12 call [13,33];13 attribute [1...
All of the magic together.
0 module [1];1 function_definition [2,3,5];2 function_name [] _initialize_non_fluents;3 parameters [4];4 identifier [] self;5 block [6,16,26,45];6 expression_statement [7];7 assignment [8,9];8 identifier [] non_fluents;9 attribute [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] ...
Returns the non-fluents instantiated.
0 module [1];1 function_definition [2,3,5];2 function_name [] __destroyLockedView;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,10];7 attribute [8,9];8 identifier [] self;9 identifier [] _lockedView;10 block [11,19,27];11 expression_statement [12];12 call [13,18];13 attribute [14,17];14 attribute ...
Destroys the locked view from this widget.
0 module [1];1 function_definition [2,3,12];2 function_name [] diff_many;3 parameters [4,5,6,9];4 identifier [] models1;5 identifier [] models2;6 default_parameter [7,8];7 identifier [] migrator;8 None [];9 default_parameter [10,11];10 identifier [] reverse;11 False [];12 block [13,22,31,48,65,82,86,115,142,166];13 exp...
Calculate changes for migrations from models2 to models1.
0 module [1];1 function_definition [2,3,5];2 function_name [] _repr_html_;3 parameters [4];4 identifier [] self;5 block [6,18,26,43];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] TileServer;10 identifier [] run_tileserver;11 argument_list [12,13];12 identifier [] self;13 call [14,17];14 at...
Required for jupyter notebook to show raster as an interactive map.
0 module [1];1 function_definition [2,3,6];2 function_name [] resource_of_node;3 parameters [4,5];4 identifier [] resources;5 identifier [] node;6 block [7,30];7 for_statement [8,9,10];8 identifier [] resource;9 identifier [] resources;10 block [11,20];11 expression_statement [12];12 assignment [13,14];13 identifier []...
Returns resource of node.
0 module [1];1 function_definition [2,3,5];2 function_name [] check_whitelist;3 parameters [4];4 identifier [] values;5 block [6,9,12,18,67,73,101];6 import_statement [7];7 dotted_name [8];8 identifier [] os;9 import_statement [10];10 dotted_name [11];11 identifier [] tldextract;12 expression_statement [13];13 assignme...
Check the indicators against known whitelists.
0 module [1];1 function_definition [2,3,11];2 function_name [] update;3 parameters [4,5,8];4 identifier [] self;5 default_parameter [6,7];6 identifier [] percent;7 None [];8 default_parameter [9,10];9 identifier [] text;10 None [];11 block [12,23,34];12 if_statement [13,16];13 comparison_operator [14,15] is not;14 iden...
Update the progress bar percentage and message.
0 module [1];1 function_definition [2,3,5];2 function_name [] _generate_actual_grp_constraints;3 parameters [4];4 identifier [] network_constraints;5 block [6,13,19,23,81];6 if_statement [7,10];7 comparison_operator [8,9] not in;8 string [] constraints;9 identifier [] network_constraints;10 block [11];11 return_stateme...
Generate the user specified constraints
0 module [1];1 function_definition [2,3,5];2 function_name [] _calc_odds;3 parameters [4];4 identifier [] self;5 block [6,70,85,91,103,113,136];6 function_definition [7,8,13];7 function_name [] recur;8 parameters [9,10,11,12];9 identifier [] val;10 identifier [] h;11 identifier [] dice;12 identifier [] combinations;13 ...
Calculates the absolute probability of all posible rolls.
0 module [1];1 function_definition [2,3,5];2 function_name [] publish;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,12,19];7 comparison_operator [8,11] is;8 attribute [9,10];9 identifier [] self;10 identifier [] published;11 False [];12 block [13];13 expression_statement [14];14 assignment [15,18]...
Mark an episode as published.
0 module [1];1 function_definition [2,3,5];2 function_name [] _holiday_entry;3 parameters [4];4 identifier [] self;5 block [6,14,32,39];6 expression_statement [7];7 assignment [8,9];8 identifier [] holidays_list;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] get_holidays_for_year;13 argument...
Return the abstract holiday information from holidays table.
0 module [1];1 function_definition [2,3,6];2 function_name [] log_to_history;3 parameters [4,5];4 identifier [] logger;5 identifier [] name;6 block [7,113];7 function_definition [8,9,11];8 function_name [] log_to_history_decorator;9 parameters [10];10 identifier [] method;11 block [12,111];12 function_definition [13,14...
Decorate function, adding a logger handler stored in FITS.
0 module [1];1 function_definition [2,3,6];2 function_name [] find;3 parameters [4,5];4 identifier [] self;5 identifier [] text;6 block [7];7 for_statement [8,11,12];8 pattern_list [9,10];9 identifier [] key;10 identifier [] value;11 identifier [] self;12 block [13];13 if_statement [14,23];14 boolean_operator [15,19] o...
Print all substitutions that include the given text string.
0 module [1];1 function_definition [2,3,7];2 function_name [] __identify_user;3 parameters [4,5,6];4 identifier [] self;5 identifier [] username;6 identifier [] csrf;7 block [8,36,46,85];8 expression_statement [9];9 assignment [10,11];10 identifier [] data;11 dictionary [12,15,18,21,24,27,30,33];12 pair [13,14];13 stri...
Returns reusable CSRF code and the auth level as a 2-tuple
0 module [1];1 function_definition [2,3,7];2 function_name [] aap_to_bp;3 parameters [4,5,6];4 identifier [] ant1;5 identifier [] ant2;6 identifier [] pol;7 block [8,20,32,48,54,69,81];8 if_statement [9,12];9 comparison_operator [10,11] <;10 identifier [] ant1;11 integer [] 0;12 block [13];13 raise_statement [14];14 ca...
Create a basepol from antenna numbers and a CASA polarization code.
0 module [1];1 function_definition [2,3,9];2 function_name [] ServiceAccountCredentialsFromFile;3 parameters [4,5,6];4 identifier [] filename;5 identifier [] scopes;6 default_parameter [7,8];7 identifier [] user_agent;8 None [];9 block [10,21];10 expression_statement [11];11 assignment [12,13];12 identifier [] filename...
Use the credentials in filename to create a token for scopes.
0 module [1];1 function_definition [2,3,8];2 function_name [] getContacts;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] only_active;7 True [];8 block [9,18,31];9 expression_statement [10];10 assignment [11,12];11 identifier [] contacts;12 call [13,16];13 attribute [14,15];14 identifi...
Return an array containing the contacts from this Client
0 module [1];1 function_definition [2,3,5];2 function_name [] watch;3 parameters [4];4 identifier [] ctx;5 block [6,13,37,61,85];6 expression_statement [7];7 assignment [8,9];8 identifier [] watcher;9 call [10,11];10 identifier [] Watcher;11 argument_list [12];12 identifier [] ctx;13 expression_statement [14];14 call [...
Automatically run build whenever a relevant file changes.
0 module [1];1 function_definition [2,3,5];2 function_name [] close_all;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,10,21];7 pattern_list [8,9];8 identifier [] host;9 identifier [] conns;10 call [11,20];11 attribute [12,19];12 call [13,18];13 attribute [14,17];14 attribute [15,16];15 identifier...
close all open connections
0 module [1];1 function_definition [2,3,5];2 function_name [] cancel;3 parameters [4];4 identifier [] self;5 block [6,23];6 if_statement [7,14];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] __process;12 identifier [] is_alive;13 argument_list [];14 block [15];15 expression_...
Terminate any possible execution of the embedded function.
0 module [1];1 function_definition [2,3,5];2 function_name [] lock;3 parameters [4];4 identifier [] self;5 block [6,12,19,25];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] update;11 argument_list [];12 expression_statement [13];13 call [14,17];14 attribute [15,16];15 ...
Prepare the installer for locking only.
0 module [1];1 function_definition [2,3,9];2 function_name [] write_branch_data;3 parameters [4,5,6];4 identifier [] self;5 identifier [] file;6 default_parameter [7,8];7 identifier [] padding;8 string [];9 block [10,30,39];10 expression_statement [11];11 assignment [12,13];12 identifier [] attrs;13 list_comprehension ...
Writes branch data in Graphviz DOT language.
0 module [1];1 function_definition [2,3,5];2 function_name [] waitResult;3 parameters [4];4 identifier [] self;5 block [6,16];6 expression_statement [7];7 call [8,15];8 attribute [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] thread;13 identifier [] execute_queue;14 identifier []...
Wait for the execution of the last enqueued job to be done, and return the result or raise an exception.
0 module [1];1 function_definition [2,3,6];2 function_name [] _slice_vcf_chr21;3 parameters [4,5];4 identifier [] vcf_file;5 identifier [] out_dir;6 block [7,19,53];7 expression_statement [8];8 assignment [9,10];9 identifier [] tmp_file;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] os;14 id...
Slice chr21 of qsignature SNPs to reduce computation time
0 module [1];1 function_definition [2,3,6];2 function_name [] _generate_html;3 parameters [4,5];4 identifier [] data;5 identifier [] out;6 block [7,15,23,30,38];7 expression_statement [8];8 call [9,10];9 identifier [] print;10 argument_list [11,12];11 string [] <html>;12 keyword_argument [13,14];13 identifier [] file;1...
Generate report data as HTML
0 module [1];1 function_definition [2,3,4];2 function_name [] create_default_config;3 parameters [];4 block [5,8,16,26,32,85];5 import_statement [6];6 dotted_name [7];7 identifier [] codecs;8 expression_statement [9];9 assignment [10,11];10 identifier [] config;11 call [12,15];12 attribute [13,14];13 identifier [] Conf...
Create default ConfigParser instance
0 module [1];1 function_definition [2,3,9];2 function_name [] _get_chart_info;3 parameters [4,5,6,7,8];4 identifier [] df;5 identifier [] vtype;6 identifier [] cat;7 identifier [] prep;8 identifier [] callers;9 block [10,22,47,51,55,121];10 expression_statement [11];11 assignment [12,13];12 identifier [] maxval_raw;13 ...
Retrieve values for a specific variant type, category and prep method.
0 module [1];1 function_definition [2,3,5];2 function_name [] target_to_ipv6_long;3 parameters [4];4 identifier [] target;5 block [6,15,25,58,65];6 expression_statement [7];7 assignment [8,9];8 identifier [] splitted;9 call [10,13];10 attribute [11,12];11 identifier [] target;12 identifier [] split;13 argument_list [14...
Attempt to return a IPv6 long-range list from a target string.
0 module [1];1 function_definition [2,3,8];2 function_name [] lgamma;3 parameters [4,5];4 identifier [] x;5 default_parameter [6,7];6 identifier [] context;7 None [];8 block [9];9 return_statement [10];10 call [11,12];11 identifier [] _apply_function_in_current_context;12 argument_list [13,14,29,36];13 identifier [] Bi...
Return the logarithm of the absolute value of the Gamma function at x.
0 module [1];1 function_definition [2,3,18];2 function_name [] _add_zoho_token;3 parameters [4,5,6,9,12,15];4 identifier [] self;5 identifier [] uri;6 default_parameter [7,8];7 identifier [] http_method;8 string [] GET;9 default_parameter [10,11];10 identifier [] body;11 None [];12 default_parameter [13,14];13 identifi...
Add a zoho token to the request uri, body or authorization header. follows bearer pattern
0 module [1];1 function_definition [2,3,15];2 function_name [] _learner_interpret;3 parameters [4,8];4 typed_parameter [5,6];5 identifier [] learn;6 type [7];7 identifier [] Learner;8 typed_default_parameter [9,10,12];9 identifier [] ds_type;10 type [11];11 identifier [] DatasetType;12 attribute [13,14];13 identifier [...
Create a `ClassificationInterpretation` object from `learner` on `ds_type` with `tta`.
0 module [1];1 function_definition [2,3,5];2 function_name [] import_setting;3 parameters [4];4 identifier [] self;5 block [6,13,24,48];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] LOGGER;10 identifier [] debug;11 argument_list [12];12 string [] Import button clicked;13 expression_stateme...
Import setting to a file.
0 module [1];1 function_definition [2,3,6];2 function_name [] calculate_input;3 parameters [4,5];4 identifier [] self;5 identifier [] buffer;6 block [7,53,76];7 if_statement [8,15];8 comparison_operator [9,12] in;9 attribute [10,11];10 identifier [] TriggerMode;11 identifier [] ABBREVIATION;12 attribute [13,14];13 iden...
Calculate how many keystrokes were used in triggering this phrase.
0 module [1];1 function_definition [2,3,5];2 function_name [] abort;3 parameters [4];4 identifier [] self;5 block [6,15,30];6 expression_statement [7];7 assignment [8,9];8 identifier [] state;9 await [10];10 call [11,14];11 attribute [12,13];12 identifier [] self;13 identifier [] state;14 argument_list [];15 expression...
Abort current group session.
0 module [1];1 function_definition [2,3,5];2 function_name [] graph_memoized;3 parameters [4];4 identifier [] func;5 block [6,13,17,43,86];6 import_from_statement [7,11];7 relative_import [8,9];8 import_prefix [];9 dotted_name [10];10 identifier [] compat;11 dotted_name [12];12 identifier [] tfv1;13 expression_statemen...
Like memoized, but keep one cache per default graph.
0 module [1];1 function_definition [2,3,23,25];2 function_name [] register;3 parameters [4,5,9,13,14];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] app;7 type [8];8 string [] Quart;9 typed_parameter [10,11];10 identifier [] first_registration;11 type [12];12 identifier [] bool;13 keyword_separator [];14 ...
Register this blueprint on the app given.
0 module [1];1 function_definition [2,3,6];2 function_name [] delete_job;3 parameters [4,5];4 identifier [] self;5 identifier [] job_name;6 block [7,19,61];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] logger;11 identifier [] debug;12 argument_list [13];13 call [14,17];14 attribute [15,1...
Delete a job by name, or error out if no such job exists.
0 module [1];1 function_definition [2,3,5];2 function_name [] _clean;3 parameters [4];4 identifier [] c;5 block [6];6 if_statement [7,15];7 call [8,9];8 identifier [] isdir;9 argument_list [10];10 attribute [11,14];11 attribute [12,13];12 identifier [] c;13 identifier [] sphinx;14 identifier [] target;15 block [16];16 ...
Nuke docs build target directory so next build is clean.
0 module [1];1 function_definition [2,3,8];2 function_name [] fmt_account;3 parameters [4,5];4 identifier [] account;5 default_parameter [6,7];6 identifier [] title;7 None [];8 block [9,22,44,48,52,69,73,90];9 if_statement [10,13];10 comparison_operator [11,12] is;11 identifier [] title;12 None [];13 block [14];14 expr...
Format an Account or a DirectedAccount.
0 module [1];1 function_definition [2,3,10];2 function_name [] gaussian;3 parameters [4,5,6,7,8,9];4 identifier [] freq;5 identifier [] freq0;6 identifier [] sigma;7 identifier [] amp;8 identifier [] offset;9 identifier [] drift;10 block [11];11 with_statement [12,19];12 with_clause [13];13 with_item [14];14 call [15,1...
A Gaussian function with flexible offset, drift and amplitude
0 module [1];1 function_definition [2,3,5];2 function_name [] _get_from_send_queue;3 parameters [4];4 identifier [] self;5 block [6,47];6 try_statement [7,41];7 block [8,21,30,39];8 expression_statement [9];9 assignment [10,11];10 identifier [] packet;11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identif...
Get message from send queue, if one exists
0 module [1];1 function_definition [2,3,6];2 function_name [] _write;3 parameters [4,5];4 identifier [] self;5 identifier [] what;6 block [7];7 try_statement [8,22];8 block [9];9 expression_statement [10];10 call [11,20];11 attribute [12,19];12 call [13,14];13 identifier [] open;14 argument_list [15,18];15 attribute [1...
writes something to the Purr pipe
0 module [1];1 function_definition [2,3,6];2 function_name [] one_of;3 parameters [4];4 list_splat_pattern [5];5 identifier [] args;6 block [7,9,46];7 expression_statement [8];8 string [] Verifies that only one of the arguments is not None;9 for_statement [10,13,17];10 pattern_list [11,12];11 identifier [] i;12 identif...
Verifies that only one of the arguments is not None
0 module [1];1 function_definition [2,3,5];2 function_name [] heptad_register;3 parameters [4];4 identifier [] self;5 block [6,10,23,41,48,56];6 expression_statement [7];7 assignment [8,9];8 identifier [] base_reg;9 string [] abcdefg;10 expression_statement [11];11 assignment [12,13];12 identifier [] exp_base;13 binary...
Returns the calculated register of the coiled coil and the fit quality.