sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,9];2 function_name [] htmIndex;3 parameters [4,5,6];4 identifier [] ra;5 identifier [] dec;6 default_parameter [7,8];7 identifier [] htm_level;8 integer [] 3;9 block [10,13,28,32,43];10 import_statement [11];11 dotted_name [12];12 identifier [] re;13 if_statement [14,23];14 compa...
Compute htm index of htm_level at position ra,dec
0 module [1];1 function_definition [2,3,5];2 function_name [] all_firmwares;3 parameters [4];4 identifier [] self;5 block [6,10,29];6 expression_statement [7];7 assignment [8,9];8 identifier [] all;9 list [] [];10 for_statement [11,12,15];11 identifier [] manifest;12 attribute [13,14];13 identifier [] self;14 identifie...
return firmware entries from all manifests
0 module [1];1 function_definition [2,3,6];2 function_name [] load_img;3 parameters [4,5];4 identifier [] self;5 identifier [] img_path;6 block [7];7 with_statement [8,20];8 with_clause [9];9 with_item [10];10 as_pattern [11,18];11 call [12,13];12 identifier [] open_file;13 argument_list [14,17];14 attribute [15,16];15...
Return an image object that can be immediately plotted with matplotlib
0 module [1];1 function_definition [2,3,8];2 function_name [] untar;3 parameters [4,5];4 identifier [] fname;5 default_parameter [6,7];6 identifier [] verbose;7 True [];8 block [9];9 if_statement [10,20,129];10 call [11,18];11 attribute [12,17];12 call [13,16];13 attribute [14,15];14 identifier [] fname;15 identifier [...
Uunzip and untar a tar.gz file into a subdir of the BIGDATA_PATH directory
0 module [1];1 function_definition [2,3,4];2 function_name [] _get_esxdatacenter_proxy_details;3 parameters [];4 block [5,13];5 expression_statement [6];6 assignment [7,8];7 identifier [] det;8 call [9,12];9 subscript [10,11];10 identifier [] __salt__;11 string [] esxdatacenter.get_details;12 argument_list [];13 return...
Returns the running esxdatacenter's proxy details
0 module [1];1 function_definition [2,3,5];2 function_name [] use_any_status_sequence_rule_view;3 parameters [4];4 identifier [] self;5 block [6,14];6 expression_statement [7];7 assignment [8,13];8 subscript [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] _operable_views;12 string [] sequence_rule;13 ...
Pass through to provider SequenceRuleLookupSession.use_any_status_sequence_rule_view
0 module [1];1 function_definition [2,3,6];2 function_name [] scale;3 parameters [4,5];4 identifier [] self;5 identifier [] scalar;6 block [7];7 return_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] __class__;12 argument_list [13];13 list_comprehension [14,21];14 binary_operator ...
Multiply a polynomial with a scalar
0 module [1];1 function_definition [2,3,4];2 function_name [] main;3 parameters [];4 block [5,9,77];5 expression_statement [6];6 assignment [7,8];7 identifier [] all_summary;8 dictionary [];9 for_statement [10,11,12];10 identifier [] license;11 identifier [] RESOURCES;12 block [13,24];13 expression_statement [14];14 as...
Gets all the license information and stores it in json format
0 module [1];1 function_definition [2,3,6];2 function_name [] form_query;3 parameters [4,5];4 identifier [] query_type;5 identifier [] query;6 block [7,29];7 expression_statement [8];8 assignment [9,10];9 identifier [] fields;10 list_comprehension [11,26];11 conditional_expression [12,22,25] if;12 binary_operator [13,1...
Returns a multi match query
0 module [1];1 function_definition [2,3,6];2 function_name [] add_rows;3 parameters [4,5];4 identifier [] self;5 identifier [] list_of_rows;6 block [7,33];7 for_statement [8,9,10];8 identifier [] row;9 identifier [] list_of_rows;10 block [11,20];11 expression_statement [12];12 call [13,18];13 attribute [14,17];14 attri...
Add a list of rows to the DataFrameCache class
0 module [1];1 function_definition [2,3,9];2 function_name [] save;3 parameters [4,5,7];4 identifier [] self;5 list_splat_pattern [6];6 identifier [] args;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10,21];10 expression_statement [11];11 assignment [12,15];12 attribute [13,14];13 identifier [] self;1...
Create formatted version of body text.
0 module [1];1 function_definition [2,3,11];2 function_name [] km3h5concat;3 parameters [4,5,6,9];4 identifier [] input_files;5 identifier [] output_file;6 default_parameter [7,8];7 identifier [] n_events;8 None [];9 dictionary_splat_pattern [10];10 identifier [] kwargs;11 block [12,17,25,31,43,53,65];12 import_from_st...
Concatenate KM3HDF5 files via pipeline.
0 module [1];1 function_definition [2,3,6];2 function_name [] _drop_id_prefixes;3 parameters [4,5];4 identifier [] self;5 identifier [] item;6 block [7,25,59];7 if_statement [8,13];8 call [9,10];9 identifier [] isinstance;10 argument_list [11,12];11 identifier [] item;12 identifier [] list;13 block [14];14 return_state...
Rename keys ending in 'id', to just be 'id' for nested dicts.
0 module [1];1 function_definition [2,3,7];2 function_name [] create;3 parameters [4,5,6];4 identifier [] fs;5 identifier [] channels;6 identifier [] application;7 block [8,16,31,47];8 expression_statement [9];9 assignment [10,11];10 identifier [] result_code;11 call [12,15];12 attribute [13,14];13 identifier [] ctypes...
Allocates and initializes an encoder state.
0 module [1];1 function_definition [2,3,5];2 function_name [] check_indexes;3 parameters [4];4 identifier [] self;5 block [6,59];6 for_statement [7,8,9];7 identifier [] collection_name;8 identifier [] INDEXES;9 block [10,19,25];10 expression_statement [11];11 assignment [12,13];12 identifier [] existing_indexes;13 call...
Check if the indexes exists
0 module [1];1 function_definition [2,3,5];2 function_name [] get;3 parameters [4];4 identifier [] args;5 block [6,11,30];6 import_from_statement [7,9];7 relative_import [8];8 import_prefix [];9 dotted_name [10];10 identifier [] config;11 for_statement [12,13,21];12 identifier [] key;13 call [14,19];14 attribute [15,18...
Get an Aegea configuration parameter by name
0 module [1];1 function_definition [2,3,5];2 function_name [] first;3 parameters [4];4 identifier [] self;5 block [6,17,37];6 if_statement [7,10];7 attribute [8,9];8 identifier [] self;9 identifier [] _results_cache;10 block [11];11 return_statement [12];12 subscript [13,16];13 attribute [14,15];14 identifier [] self;1...
Returns the first item from the query, or None if there are no results
0 module [1];1 function_definition [2,3,8];2 function_name [] poly;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] return_coeffs;7 False [];8 block [9,17,47];9 expression_statement [10];10 assignment [11,12];11 identifier [] p;12 call [13,16];13 attribute [14,15];14 identifier [] self;...
returns the quadratic as a Polynomial object.
0 module [1];1 function_definition [2,3,5];2 function_name [] violations;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 conditional_expression [8,11,18] if;8 attribute [9,10];9 identifier [] self;10 identifier [] _all_violations;11 comparison_operator [12,17] ==;12 attribute [13,16];13 attri...
Returns either the diff violations or all violations depending on configuration.
0 module [1];1 function_definition [2,3,6];2 function_name [] showEvent;3 parameters [4,5];4 identifier [] self;5 identifier [] event;6 block [7,18,31];7 expression_statement [8];8 call [9,16];9 attribute [10,15];10 call [11,12];11 identifier [] super;12 argument_list [13,14];13 identifier [] CallTipWidget;14 identifie...
Reimplemented to connect signal handlers and event filter.
0 module [1];1 function_definition [2,3,12];2 function_name [] _get_mps_od_net;3 parameters [4,5,6,7,8,9];4 identifier [] input_image_shape;5 identifier [] batch_size;6 identifier [] output_size;7 identifier [] anchors;8 identifier [] config;9 default_parameter [10,11];10 identifier [] weights;11 dictionary [];12 block...
Initializes an MpsGraphAPI for object detection.
0 module [1];1 function_definition [2,3,17];2 function_name [] sideral;3 parameters [4,5,8,11,14];4 identifier [] date;5 default_parameter [6,7];6 identifier [] longitude;7 float [] 0.;8 default_parameter [9,10];9 identifier [] model;10 string [] mean;11 default_parameter [12,13];12 identifier [] eop_correction;13 True...
Sideral time as a rotation matrix
0 module [1];1 function_definition [2,3,5];2 function_name [] parse_to_gvid;3 parameters [4];4 identifier [] v;5 block [6,12,18,22,44];6 import_from_statement [7,10];7 dotted_name [8,9];8 identifier [] geoid;9 identifier [] civick;10 dotted_name [11];11 identifier [] GVid;12 import_from_statement [13,16];13 dotted_name...
Parse an ACS Geoid or a GVID to a GVID
0 module [1];1 function_definition [2,3,9];2 function_name [] underline;3 parameters [4,5,6];4 identifier [] self;5 identifier [] text;6 default_parameter [7,8];7 identifier [] indent;8 integer [] 4;9 block [10,17,24];10 expression_statement [11];11 assignment [12,13];12 identifier [] length;13 call [14,15];14 identifi...
Underline a given text
0 module [1];1 function_definition [2,3,5];2 function_name [] _config_options;3 parameters [4];4 identifier [] self;5 block [6,15];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _config_sortable;11 argument_list [12];12 attribute [13,14];13 identifier [] self;14 identi...
Apply options set in attributes to Treeview
0 module [1];1 function_definition [2,3,5];2 function_name [] run_oldstyle;3 parameters [4];4 identifier [] self;5 block [6,20,35,51,63,75];6 expression_statement [7];7 assignment [8,9];8 identifier [] arg;9 list [10,15] [self._load_files(), self.opts['dest']];10 call [11,14];11 attribute [12,13];12 identifier [] self;...
Make the salt client call in old-style all-in-one call method
0 module [1];1 function_definition [2,3,10];2 function_name [] load_adjusted_array;3 parameters [4,5,6,7,8,9];4 identifier [] self;5 identifier [] domain;6 identifier [] columns;7 identifier [] dates;8 identifier [] sids;9 identifier [] mask;10 block [11,24,30,37,48,59,67,75,87,99,108];11 if_statement [12,18];12 compar...
Load data from our stored baseline.
0 module [1];1 function_definition [2,3,6];2 function_name [] nextColRegex;3 parameters [4,5];4 identifier [] sheet;5 identifier [] colregex;6 block [7,9,15,66];7 expression_statement [8];8 string [] Go to first visible column after the cursor matching `colregex`.;9 expression_statement [10];10 assignment [11,12];11 id...
Go to first visible column after the cursor matching `colregex`.
0 module [1];1 function_definition [2,3,5];2 function_name [] save;3 parameters [4];4 identifier [] self;5 block [6,16];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] logger;10 identifier [] debug;11 argument_list [12,13];12 string [] Save the GUI state to `%s`.;13 attribute [14,15];14 iden...
Save the state to the JSON file in the config dir.
0 module [1];1 function_definition [2,3,16];2 function_name [] list_files;3 parameters [4,7,10,13];4 default_parameter [5,6];5 identifier [] tag;6 None [];7 default_parameter [8,9];8 identifier [] sat_id;9 None [];10 default_parameter [11,12];11 identifier [] data_path;12 None [];13 default_parameter [14,15];14 identif...
Produce a fake list of files spanning a year
0 module [1];1 function_definition [2,3,10];2 function_name [] create;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,25,30,38,49];11 expression_statement [12];12 assignment [13,14];13 id...
We ensure the Thread only involves eligible participants.
0 module [1];1 function_definition [2,3,10];2 function_name [] run_multicore;3 parameters [4,5,6,7];4 identifier [] fn;5 identifier [] items;6 identifier [] config;7 default_parameter [8,9];8 identifier [] parallel;9 None [];10 block [11,21,96,112,122,126,168];11 if_statement [12,18];12 comparison_operator [13,17] ==;1...
Run the function using multiple cores on the given items to process.
0 module [1];1 function_definition [2,3,10];2 function_name [] run;3 parameters [4,5,6,7,8,9];4 identifier [] align_bams;5 identifier [] items;6 identifier [] ref_file;7 identifier [] assoc_files;8 identifier [] region;9 identifier [] out_file;10 block [11,78];11 if_statement [12,19];12 not_operator [13];13 call [14,17...
Run octopus variant calling, handling both somatic and germline calling.
0 module [1];1 function_definition [2,3,5];2 function_name [] iter_coords;3 parameters [4];4 identifier [] obj;5 block [6,63];6 if_statement [7,14,19,38,51];7 call [8,9];8 identifier [] isinstance;9 argument_list [10,11];10 identifier [] obj;11 tuple [12,13];12 identifier [] tuple;13 identifier [] list;14 block [15];15...
Returns all the coordinate tuples from a geometry or feature.
0 module [1];1 function_definition [2,3,5];2 function_name [] reset;3 parameters [4];4 identifier [] self;5 block [6,8,20];6 expression_statement [7];7 string [] If your convolutional window is greater than 1 and you save previous xs, you must reset at the beginning of each new sequence.;8 for_statement [9,10,13];9 ide...
If your convolutional window is greater than 1 and you save previous xs, you must reset at the beginning of each new sequence.
0 module [1];1 function_definition [2,3,6];2 function_name [] build_message;3 parameters [4,5];4 identifier [] self;5 identifier [] checker;6 block [7,20];7 expression_statement [8];8 assignment [9,10];9 identifier [] solution;10 conditional_expression [11,16,19] if;11 binary_operator [12,13] %;12 string [] (%s);13 att...
Builds the checker's error message to report
0 module [1];1 function_definition [2,3,5];2 function_name [] type_id;3 parameters [4];4 identifier [] self;5 block [6];6 try_statement [7,24];7 block [8];8 return_statement [9];9 attribute [10,23];10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] ContentType;14 identifier [] objects;15 identif...
Shortcut to retrieving the ContentType id of the model.
0 module [1];1 function_definition [2,3,6];2 function_name [] _serialize_info;3 parameters [4,5];4 identifier [] self;5 identifier [] record;6 block [7,11,68];7 expression_statement [8];8 assignment [9,10];9 identifier [] result;10 list [] [];11 for_statement [12,15,22];12 pattern_list [13,14];13 identifier [] key;14 i...
Return serialized version of record.INFO
0 module [1];1 function_definition [2,3,5];2 function_name [] _from_docstring_rst;3 parameters [4];4 identifier [] doc;5 block [6,169];6 function_definition [7,8,11];7 function_name [] format_fn;8 parameters [9,10];9 identifier [] line;10 identifier [] status;11 block [12,36,46,157,167];12 if_statement [13,19];13 call ...
format from docstring to ReStructured Text
0 module [1];1 function_definition [2,3,5];2 function_name [] util_mic_len;3 parameters [4];4 identifier [] pkt;5 block [6];6 if_statement [7,13,16,26,36,46,56,66,76,86];7 () [8];8 comparison_operator [9,12] ==;9 attribute [10,11];10 identifier [] pkt;11 identifier [] nwk_seclevel;12 integer [] 0;13 block [14];14 retur...
Calculate the length of the attribute value field
0 module [1];1 function_definition [2,3,6];2 function_name [] _passes_cortex_depth;3 parameters [4,5];4 identifier [] line;5 identifier [] min_depth;6 block [7,16,32,36,82];7 expression_statement [8];8 assignment [9,10];9 identifier [] parts;10 call [11,14];11 attribute [12,13];12 identifier [] line;13 identifier [] sp...
Do any genotypes in the cortex_var VCF line passes the minimum depth requirement?
0 module [1];1 function_definition [2,3,5];2 function_name [] sorted_key_list;3 parameters [4];4 identifier [] self;5 block [6,18,41,51];6 if_statement [7,11];7 not_operator [8];8 attribute [9,10];9 identifier [] self;10 identifier [] is_baked;11 block [12];12 expression_statement [13];13 call [14,17];14 attribute [15,...
Returns list of keys sorted according to their absolute time.
0 module [1];1 function_definition [2,3,6];2 function_name [] _merge_ovls;3 parameters [4,5];4 identifier [] self;5 identifier [] ovls;6 block [7,24,37,46];7 expression_statement [8];8 assignment [9,10];9 identifier [] ret;10 call [11,12];11 identifier [] reduce;12 argument_list [13,23];13 lambda [14,17];14 lambda_para...
Merge ovls and also setup the value and props.
0 module [1];1 function_definition [2,3,5];2 function_name [] required_arguments;3 parameters [4];4 identifier [] func;5 block [6,13,20,35];6 expression_statement [7];7 assignment [8,9];8 identifier [] defaults;9 call [10,11];10 identifier [] default_values_of;11 argument_list [12];12 identifier [] func;13 expression_s...
Return all arguments of a function that do not have a default value.
0 module [1];1 function_definition [2,3,4];2 function_name [] getScriptLocation;3 parameters [];4 block [5,16,40];5 expression_statement [6];6 assignment [7,8];7 identifier [] location;8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] os;12 identifier [] path;13 identifier [] abspath;14 argument_l...
Helper function to get the location of a Python file.
0 module [1];1 function_definition [2,3,6];2 function_name [] from_name;3 parameters [4,5];4 identifier [] cls;5 identifier [] name;6 block [7,19,38];7 expression_statement [8];8 assignment [9,10];9 identifier [] disks;10 call [11,14];11 attribute [12,13];12 identifier [] cls;13 identifier [] list;14 argument_list [15]...
Retrieve a disk id associated to a name.
0 module [1];1 function_definition [2,3,5];2 function_name [] checkConsistency;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,12,19];7 pattern_list [8,9];8 identifier [] referenceName;9 tuple_pattern [10,11];10 identifier [] dataUrl;11 identifier [] indexFile;12 call [13,18];13 attribute [14,17];1...
Perform consistency check on the variant set
0 module [1];1 function_definition [2,3,5];2 function_name [] _update_ssl_config;3 parameters [4];4 identifier [] opts;5 block [6,22,36,39];6 if_statement [7,14];7 comparison_operator [8,11] in;8 subscript [9,10];9 identifier [] opts;10 string [] ssl;11 tuple [12,13];12 None [];13 False [];14 block [15,21];15 expressio...
Resolves string names to integer constant in ssl configuration.
0 module [1];1 function_definition [2,3,5];2 function_name [] _getFirstPathExpression;3 parameters [4];4 identifier [] name;5 block [6,15,19,64];6 expression_statement [7];7 assignment [8,9];8 identifier [] tokens;9 call [10,13];10 attribute [11,12];11 identifier [] grammar;12 identifier [] parseString;13 argument_list...
Returns the first metric path in an expression.
0 module [1];1 function_definition [2,3,5];2 function_name [] router;3 parameters [4];4 identifier [] self;5 block [6];6 for_statement [7,8,11];7 identifier [] server;8 attribute [9,10];9 identifier [] self;10 identifier [] _routers;11 block [12,23];12 expression_statement [13];13 assignment [14,15];14 identifier [] in...
return first available router
0 module [1];1 function_definition [2,3,5];2 function_name [] _check_type;3 parameters [4];4 identifier [] self;5 block [6,21];6 expression_statement [7];7 assignment [8,9];8 identifier [] check_type;9 call [10,15];10 attribute [11,14];11 attribute [12,13];12 identifier [] metric_descriptor;13 identifier [] MetricDescr...
Check that point value types match the descriptor type.
0 module [1];1 function_definition [2,3,7];2 function_name [] _func;3 parameters [4,5,6];4 identifier [] self;5 identifier [] volume;6 identifier [] params;7 block [8,19,31];8 expression_statement [9];9 assignment [10,15];10 pattern_list [11,12,13,14];11 identifier [] e0;12 identifier [] b0;13 identifier [] b1;14 ident...
BirchMurnaghan equation from PRB 70, 224107
0 module [1];1 function_definition [2,3,5];2 function_name [] values;3 parameters [4];4 identifier [] self;5 block [6,12,16,50];6 expression_statement [7];7 call [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] expired;11 argument_list [];12 expression_statement [13];13 assignment [14,15];14 identifier [...
Will only return the current values
0 module [1];1 function_definition [2,3,11];2 function_name [] mgz_to_nifti;3 parameters [4,5,8];4 identifier [] filename;5 default_parameter [6,7];6 identifier [] prefix;7 None [];8 default_parameter [9,10];9 identifier [] gzip;10 True [];11 block [12,16,32,47];12 expression_statement [13];13 call [14,15];14 identifie...
Convert ``filename`` to a NIFTI file using ``mri_convert``
0 module [1];1 function_definition [2,3,6];2 function_name [] _HandleFlowProcessingRequestLoop;3 parameters [4,5];4 identifier [] self;5 identifier [] handler;6 block [7];7 while_statement [8,12];8 not_operator [9];9 attribute [10,11];10 identifier [] self;11 identifier [] flow_handler_stop;12 block [13,50,72];13 with_...
Handler thread for the FlowProcessingRequest queue.
0 module [1];1 function_definition [2,3,13];2 function_name [] _sim_atoi_inner;3 parameters [4,5,6,7,10];4 identifier [] self;5 identifier [] str_addr;6 identifier [] region;7 default_parameter [8,9];8 identifier [] base;9 integer [] 10;10 default_parameter [11,12];11 identifier [] read_length;12 None [];13 block [14,1...
Return the result of invoking the atoi simprocedure on `str_addr`.
0 module [1];1 function_definition [2,3,6];2 function_name [] get;3 parameters [4,5];4 identifier [] cls;5 identifier [] backend_id;6 block [7,28];7 for_statement [8,9,14];8 identifier [] backend_class;9 call [10,13];10 attribute [11,12];11 identifier [] cls;12 identifier [] _get_backends_classes;13 argument_list [];14...
Return an instance of backend type
0 module [1];1 function_definition [2,3,5];2 function_name [] numberofsamples;3 parameters [4];4 identifier [] self;5 block [6,10,14,46,54,83];6 expression_statement [7];7 assignment [8,9];8 identifier [] idline;9 integer [] 0;10 expression_statement [11];11 assignment [12,13];12 identifier [] linenumber;13 integer [] ...
Count the number of samples is the samplesheet
0 module [1];1 function_definition [2,3,8];2 function_name [] lin_sim_calc;3 parameters [4,5,6,7];4 identifier [] goid1;5 identifier [] goid2;6 identifier [] sim_r;7 identifier [] termcnts;8 block [9];9 if_statement [10,13];10 comparison_operator [11,12] is not;11 identifier [] sim_r;12 None [];13 block [14,28];14 expr...
Computes Lin's similarity measure using pre-calculated Resnik's similarities.
0 module [1];1 function_definition [2,3,8];2 function_name [] _get_jmx_data;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] instance;6 identifier [] jmx_address;7 identifier [] tags;8 block [9,31,41];9 expression_statement [10];10 assignment [11,12];11 identifier [] response;12 call [13,16];13 attribute [14...
Get namenode beans data from JMX endpoint
0 module [1];1 function_definition [2,3,7];2 function_name [] _update_class;3 parameters [4,5,6];4 identifier [] self;5 identifier [] oldclass;6 identifier [] newclass;7 block [8,14,20,27,34,63,94,103,112,131];8 expression_statement [9];9 assignment [10,11];10 identifier [] olddict;11 attribute [12,13];12 identifier []...
Update a class object.
0 module [1];1 function_definition [2,3,5,11];2 function_name [] get_storage_list;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 identifier [] Storage;11 block [12];12 return_statement [13];13 list_comprehension [14,21];14 call [15,18];15 a...
Return information about connected storage devices.
0 module [1];1 function_definition [2,3,7];2 function_name [] __read_chunk;3 parameters [4,5,6];4 identifier [] self;5 identifier [] start;6 identifier [] size;7 block [8];8 for_statement [9,10,14,73];9 identifier [] _retries;10 call [11,12];11 identifier [] range;12 argument_list [13];13 integer [] 3;14 block [15,19,2...
read a chunk from buffer
0 module [1];1 function_definition [2,3,7];2 function_name [] c2f;3 parameters [4,5,6];4 identifier [] r;5 identifier [] i;6 identifier [] ctype_name;7 block [8,14];8 expression_statement [9];9 assignment [10,11];10 identifier [] ftype;11 subscript [12,13];12 identifier [] c2f_dict;13 identifier [] ctype_name;14 return...
Convert strings to complex number instance with specified numpy type.
0 module [1];1 function_definition [2,3,7];2 function_name [] write_scatterfunction;3 parameters [4,5,6];4 identifier [] self;5 identifier [] job;6 identifier [] scattername;7 block [8,17,26,35,45,54];8 expression_statement [9];9 assignment [10,11];10 identifier [] scatter_outputs;11 call [12,15];12 attribute [13,14];1...
Writes out a python function for each WDL "scatter" object.
0 module [1];1 function_definition [2,3,5];2 function_name [] path;3 parameters [4];4 identifier [] self;5 block [6,69];6 if_statement [7,12];7 comparison_operator [8,11] is;8 attribute [9,10];9 identifier [] self;10 identifier [] _root_dir;11 None [];12 block [13,25,53];13 expression_statement [14];14 assignment [15,1...
Returns the build root for the current workspace.
0 module [1];1 function_definition [2,3,7];2 function_name [] from_files;3 parameters [4,5];4 identifier [] cls;5 list_splat_pattern [6];6 identifier [] glyphdata_files;7 block [8,12,16,20,124];8 expression_statement [9];9 assignment [10,11];10 identifier [] name_mapping;11 dictionary [];12 expression_statement [13];13...
Return GlyphData holding data from a list of XML file paths.
0 module [1];1 function_definition [2,3,16];2 function_name [] _assert_take_fillable;3 parameters [4,5,6,7,10,13];4 identifier [] self;5 identifier [] values;6 identifier [] indices;7 default_parameter [8,9];8 identifier [] allow_fill;9 True [];10 default_parameter [11,12];11 identifier [] fill_value;12 None [];13 defa...
Internal method to handle NA filling of take
0 module [1];1 function_definition [2,3,6];2 function_name [] create;3 parameters [4,5];4 identifier [] self;5 identifier [] request;6 block [7,19,167];7 expression_statement [8];8 assignment [9,10];9 identifier [] variant_id;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] request;14 identifi...
Add an item to the basket
0 module [1];1 function_definition [2,3,5];2 function_name [] _get_snapshot;3 parameters [4];4 identifier [] self;5 block [6,48];6 if_statement [7,12];7 comparison_operator [8,11] is;8 attribute [9,10];9 identifier [] self;10 identifier [] _snapshot;11 None [];12 block [13,40];13 expression_statement [14];14 assignment...
Create snapshot if needed.
0 module [1];1 function_definition [2,3,8];2 function_name [] save;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] reload;7 False [];8 block [9,19];9 expression_statement [10];10 call [11,18];11 attribute [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] self;15 identi...
Save changes to the file.
0 module [1];1 function_definition [2,3,5];2 function_name [] name;3 parameters [4];4 identifier [] cls;5 block [6,30];6 if_statement [7,12,19];7 comparison_operator [8,11] is;8 attribute [9,10];9 identifier [] cls;10 identifier [] __name_length__;11 None [];12 block [13];13 expression_statement [14];14 assignment [15,...
The URL name of this object, unique across all instances of this model
0 module [1];1 function_definition [2,3,5];2 function_name [] _changes;3 parameters [4];4 identifier [] plays;5 block [6,10,94];6 expression_statement [7];7 assignment [8,9];8 identifier [] changes;9 dictionary [];10 for_statement [11,12,15];11 identifier [] play;12 subscript [13,14];13 identifier [] plays;14 string []...
Find changes in ansible return data
0 module [1];1 function_definition [2,3,5];2 function_name [] reset;3 parameters [4];4 identifier [] self;5 block [6,17,34];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] stream;12 identifier [] write;13 argument_list [14];14 attribute [15,16];15 i...
Reset scroll window and cursor to default
0 module [1];1 function_definition [2,3,5];2 function_name [] create_tipo_roteiro;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 call [8,9];8 identifier [] TipoRoteiro;9 argument_list [10,13,16,19];10 attribute [11,12];11 identifier [] self;12 identifier [] networkapi_url;13 attribute [14,15...
Get an instance of tipo_roteiro services facade.
0 module [1];1 function_definition [2,3,5];2 function_name [] compute_metavar;3 parameters [4];4 identifier [] kwargs;5 block [6,15,75];6 expression_statement [7];7 assignment [8,9];8 identifier [] metavar;9 call [10,13];10 attribute [11,12];11 identifier [] kwargs;12 identifier [] get;13 argument_list [14];14 string [...
Compute the metavar to display in help for an option registered with these kwargs.
0 module [1];1 function_definition [2,3,5];2 function_name [] _gen_input_mask;3 parameters [4];4 identifier [] mask;5 block [6];6 return_statement [7];7 call [8,9];8 identifier [] input_mask;9 argument_list [10,18,26,34,42,50,58,66];10 keyword_argument [11,12];11 identifier [] shift;12 call [13,14];13 identifier [] boo...
Generate input mask from bytemask
0 module [1];1 function_definition [2,3,12];2 function_name [] run_winexe_command;3 parameters [4,5,6,7,8,9];4 identifier [] cmd;5 identifier [] args;6 identifier [] host;7 identifier [] username;8 identifier [] password;9 default_parameter [10,11];10 identifier [] port;11 integer [] 445;12 block [13,24,34,45,56];13 ex...
Run a command remotly via the winexe executable
0 module [1];1 function_definition [2,3,8,10];2 function_name [] assert_valid_name;3 parameters [4];4 typed_parameter [5,6];5 identifier [] name;6 type [7];7 identifier [] str;8 type [9];9 identifier [] str;10 block [11,18,23];11 expression_statement [12];12 assignment [13,14];13 identifier [] error;14 call [15,16];15 ...
Uphold the spec rules about naming.
0 module [1];1 function_definition [2,3,8];2 function_name [] send;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] task_path;6 identifier [] args;7 identifier [] kwargs;8 block [9,32,39];9 expression_statement [10];10 assignment [11,12];11 identifier [] message;12 dictionary [13,16,21,26,29];13 pair [14,15]...
Create the message object and pass it to the actual sender.
0 module [1];1 function_definition [2,3,5];2 function_name [] GetMemTargetSizeMB;3 parameters [4];4 identifier [] self;5 block [6,12,29,39];6 expression_statement [7];7 assignment [8,9];8 identifier [] counter;9 call [10,11];10 identifier [] c_uint;11 argument_list [];12 expression_statement [13];13 assignment [14,15];...
Retrieves the size of the target memory allocation for this virtual machine.
0 module [1];1 function_definition [2,3,5];2 function_name [] find_nonzero_constrained_reactions;3 parameters [4];4 identifier [] model;5 block [6,17];6 expression_statement [7];7 assignment [8,11];8 pattern_list [9,10];9 identifier [] lower_bound;10 identifier [] upper_bound;11 call [12,15];12 attribute [13,14];13 ide...
Return list of reactions with non-zero, non-maximal bounds.
0 module [1];1 function_definition [2,3,5];2 function_name [] makePartitions;3 parameters [4];4 identifier [] self;5 block [6,10,20,32,57,73,88,100,112];6 class_definition [7,8];7 identifier [] NetworkMeasures;8 block [9];9 pass_statement [];10 expression_statement [11];11 assignment [12,15];12 attribute [13,14];13 ide...
Make partitions with gmane help.
0 module [1];1 function_definition [2,3,4];2 function_name [] _get_plugin_dirs;3 parameters [];4 block [5,34];5 expression_statement [6];6 assignment [7,8];7 identifier [] plugin_dirs;8 list [9,25] [\n os.path.expanduser(os.path.join(USER_CONFIG_DIR, "plugins")),\n os.path.join("rapport", "plugins")\n ...
Return a list of directories where plugins may be located.
0 module [1];1 function_definition [2,3,6];2 function_name [] resolve_remote;3 parameters [4,5];4 identifier [] self;5 identifier [] uri;6 block [7];7 try_statement [8,20];8 block [9];9 return_statement [10];10 call [11,18];11 attribute [12,17];12 call [13,14];13 identifier [] super;14 argument_list [15,16];15 identifi...
Resolve a uri or relative path to a schema.
0 module [1];1 function_definition [2,3,7];2 function_name [] _download_py3;3 parameters [4,5,6];4 identifier [] link;5 identifier [] path;6 identifier [] __hdr__;7 block [8,51,74];8 try_statement [9,35];9 block [10,24];10 expression_statement [11];11 assignment [12,13];12 identifier [] req;13 call [14,19];14 attribute...
Download a file from a link in Python 3.
0 module [1];1 function_definition [2,3,6];2 function_name [] to_internal_value;3 parameters [4,5];4 identifier [] self;5 identifier [] value;6 block [7,16,28];7 expression_statement [8];8 assignment [9,10];9 identifier [] natural_key;10 call [11,14];11 attribute [12,13];12 identifier [] value;13 identifier [] split;14...
Convert to integer id.
0 module [1];1 function_definition [2,3,10];2 function_name [] check_cache;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] type;6 identifier [] data;7 default_parameter [8,9];8 identifier [] obj;9 None [];10 block [11,23,36,63,79,94,108];11 try_statement [12,19];12 block [13];13 expression_statement [14];14...
Returns the updated cached version of the given dict
0 module [1];1 function_definition [2,3,10];2 function_name [] _generateForOAuthSecurity;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] client_id;6 identifier [] secret_id;7 default_parameter [8,9];8 identifier [] token_url;9 None [];10 block [11,15,24,40,67];11 expression_statement [12];12 assignment [13,...
generates a token based on the OAuth security model
0 module [1];1 function_definition [2,3,7];2 function_name [] _get_item;3 parameters [4,5,6];4 identifier [] self;5 identifier [] package;6 identifier [] flavor;7 block [8,23];8 for_statement [9,10,13];9 identifier [] item;10 subscript [11,12];11 identifier [] package;12 string [] items;13 block [14];14 if_statement [1...
Returns the item for ordering a dedicated host.
0 module [1];1 function_definition [2,3,7];2 function_name [] __global_logging_exception_handler;3 parameters [4,5,6];4 identifier [] exc_type;5 identifier [] exc_value;6 identifier [] exc_traceback;7 block [8];8 if_statement [9,14,24];9 comparison_operator [10,13] ==;10 attribute [11,12];11 identifier [] exc_type;12 i...
This function will log all un-handled python exceptions.
0 module [1];1 function_definition [2,3,5];2 function_name [] rehighlight;3 parameters [4];4 identifier [] self;5 block [6,14,32,48,56,64];6 expression_statement [7];7 assignment [8,9];8 identifier [] start;9 call [10,13];10 attribute [11,12];11 identifier [] time;12 identifier [] time;13 argument_list [];14 expression...
Rehighlight the entire document, may be slow.
0 module [1];1 function_definition [2,3,5];2 function_name [] saveBestScore;3 parameters [4];4 identifier [] self;5 block [6,23,55];6 if_statement [7,14];7 comparison_operator [8,11] >;8 attribute [9,10];9 identifier [] self;10 identifier [] score;11 attribute [12,13];12 identifier [] self;13 identifier [] best_score;1...
save current best score in the default file
0 module [1];1 function_definition [2,3,11];2 function_name [] folder_path_for_package;3 parameters [4,5];4 identifier [] cls;5 typed_parameter [6,7];6 identifier [] package;7 type [8];8 attribute [9,10];9 identifier [] ecore;10 identifier [] EPackage;11 block [12,20,40];12 expression_statement [13];13 assignment [14,1...
Returns path to folder holding generated artifact for given element.
0 module [1];1 function_definition [2,3,5];2 function_name [] parse_wiki_terms;3 parameters [4];4 identifier [] doc;5 block [6,10,17,21,155,165];6 expression_statement [7];7 assignment [8,9];8 identifier [] results;9 list [] [];10 expression_statement [11];11 assignment [12,13];12 identifier [] last3;13 list [14,15,16]...
who needs an html parser. fragile hax, but checks the result at the end
0 module [1];1 function_definition [2,3,6];2 function_name [] metop20kmto1km;3 parameters [4,5];4 identifier [] lons20km;5 identifier [] lats20km;6 block [7,30,39,47,56,65,69,73,90];7 expression_statement [8];8 assignment [9,10];9 identifier [] cols20km;10 call [11,14];11 attribute [12,13];12 identifier [] np;13 identi...
Getting 1km geolocation for metop avhrr from 20km tiepoints.
0 module [1];1 function_definition [2,3,29];2 function_name [] safe_request;3 parameters [4,5,8,11,14,17,20,23,26];4 identifier [] url;5 default_parameter [6,7];6 identifier [] method;7 None [];8 default_parameter [9,10];9 identifier [] params;10 None [];11 default_parameter [12,13];12 identifier [] data;13 None [];14 ...
A slightly safer version of `request`.
0 module [1];1 function_definition [2,3,5];2 function_name [] previous_theme;3 parameters [4];4 identifier [] self;5 block [6,23,47,56,62,72];6 expression_statement [7];7 assignment [8,9];8 identifier [] theme;9 call [10,17];10 attribute [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 identif...
Cycle to preview the previous theme from the internal list of themes.
0 module [1];1 function_definition [2,3,6];2 function_name [] add;3 parameters [4];4 dictionary_splat_pattern [5];5 identifier [] kwargs;6 block [7,19];7 expression_statement [8];8 assignment [9,12];9 pattern_list [10,11];10 identifier [] output;11 identifier [] err;12 call [13,16];13 attribute [14,15];14 identifier []...
Make a directory shareable.
0 module [1];1 function_definition [2,3,4];2 function_name [] init;3 parameters [];4 block [5];5 if_statement [6,11];6 comparison_operator [7,8] not in;7 string [] _;8 attribute [9,10];9 identifier [] builtins;10 identifier [] __dict__;11 block [12,26];12 expression_statement [13];13 assignment [14,19];14 subscript [15...
Install gettext with the default parameters