/dports/devel/py-numba/numba-0.51.2/numba/core/typing/ |
H A D | setdecl.py | 21 assert not kws 41 assert not kws 50 assert not kws 56 assert not kws 63 assert not kws 68 assert not kws 75 assert not kws 81 assert not kws 93 assert not kws 113 assert not kws [all …]
|
H A D | listdecl.py | 20 assert not kws 39 assert not kws 49 assert not kws 55 assert not kws 61 assert not kws 67 assert not kws 80 assert not kws 94 assert not kws 104 assert not kws 114 assert not kws [all …]
|
H A D | arraydecl.py | 163 assert not kws 638 assert not kws 644 assert not kws 654 if 'axis' in kws and 'dtype' not in kws: 660 elif 'dtype' in kws and 'axis' not in kws: 666 elif 'dtype' in kws and 'axis' in kws: 671 args = list(args) + [kws['axis'], kws['dtype']] 719 assert not kws 728 assert not kws 735 assert not kws [all …]
|
/dports/biology/py-goatools/goatools-1.1.6/goatools/ |
H A D | wr_tbl.py | 51 if 'sort_by' in kws: 67 items_str = kws.get("items", "items") if "items" not in kws else kws["items"] 89 items_str = "items" if "items" not in kws else kws["items"] 121 items_str = "items" if "items" not in kws else kws["items"] 143 sep = "\t" if 'sep' not in kws else kws['sep'] 165 sep = "\t" if 'sep' not in kws else kws['sep'] 172 sep = "\t" if 'sep' not in kws else kws['sep'] 173 fld2fmt = None if 'fld2fmt' not in kws else kws['fld2fmt'] 174 if 'sort_by' in kws: 176 prt_if = kws['prt_if'] if 'prt_if' in kws else None [all …]
|
H A D | godag_plot.py | 14 engine = kws['engine'] if 'engine' in kws else 'pydot' 21 engine = kws['engine'] if 'engine' in kws else 'pydot' 41 engine = kws['engine'] if 'engine' in kws else 'pydot' 86 self.log = kws['log'] if 'log' in kws else sys.stdout 87 self.title = kws['title'] if 'title' in kws else None 93 self.id2symbol = kws['id2symbol'] if 'id2symbol' in kws else {} 94 self.study_items = kws['study_items'] if 'study_items' in kws else None 96 self.alpha_str = kws['alpha_str'] if 'alpha_str' in kws else None 100 self.dpi = kws['dpi'] if 'dpi' in kws else 150 116 def _init_go2res(**kws): argument [all …]
|
H A D | wr_tbl_class.py | 9 def __init__(self, **kws): argument 10 self.kws = kws 11 self.title = kws.get('title', None) 12 self.fld2fmt = kws.get('fld2fmt', None) 15 self.prt_if = kws.get('prt_if', None) 27 self.vars = WrXlsxParams(**kws) 149 def get_hdrs(self, **kws): argument 218 def get_hdrs(flds_all, **kws): argument 221 hdrs = kws.get('hdrs', None) 225 if 'prt_flds' in kws: [all …]
|
H A D | godag_obosm.py | 15 def __init__(self, **kws): argument 19 self._init_go2obj(**kws) 21 self.traverse_child = kws['traverse_child'] if 'traverse_child' in kws else False 22 self.traverse_parent = kws['traverse_parent'] if 'traverse_parent' in kws else True 28 def _init_go2obj(self, **kws): argument 30 if 'goids' in kws and 'obodag' in kws: 32 obo = kws['obodag'] 35 elif 'goid2goobj' in kws: 36 goid2goobj = kws['goid2goobj'] 40 elif 'goea_results' in kws: [all …]
|
H A D | go_enrichment.py | 73 self.kws = kwargs 257 self.log = kws['log'] if 'log' in kws else sys.stdout 302 methods = Methods(kws['methods']) if 'methods' in kws else self.methods 303 alpha = kws['alpha'] if 'alpha' in kws else self.alpha 322 if 'keep_if' in kws: 330 def _get_log_or_prt(self, kws): argument 332 if 'log' in kws: 333 return kws['log'] 334 if 'prt' in kws: 335 return kws['prt'] [all …]
|
/dports/devel/py-numba/numba-0.51.2/numba/core/ |
H A D | options.py | 35 kws = self.values.copy() 40 if kws.pop("forceobj", False): 43 if kws.pop('looplift', True): 46 if kws.pop('boundscheck', False): 49 if kws.pop('_nrt', True): 56 if kws.pop('nogil', False): 68 if 'parallel' in kws: 71 if 'fastmath' in kws: 74 if 'error_model' in kws: 77 if 'inline' in kws: [all …]
|
/dports/biology/py-goatools/goatools-1.1.6/goatools/anno/ |
H A D | factory.py | 19 kws_ncbi = {k:kws[k] for k in Gene2GoReader.exp_kws.intersection(kws.keys())} 22 kws_gaf = {k:kws[k] for k in GafReader.exp_kws.intersection(kws.keys())} 25 kws_gpad = {k:kws[k] for k in GpadReader.exp_kws.intersection(kws.keys())} 28 kws_id2go = {k:kws[k] for k in IdToGosReader.exp_kws.intersection(kws.keys())} 33 def get_objanno_g_kws(**kws): argument 40 def get_type_filename(**kws): argument 42 if 'gpad' in kws: 44 if 'gaf' in kws: 45 return 'gaf', kws['gaf'] 46 if 'gene2go' in kws: [all …]
|
H A D | gaf_reader.py | 22 def __init__(self, filename=None, **kws): argument 25 godag=kws.get('godag'), 26 hdr_only=kws.get('hdr_only', False), 27 prt=kws.get('prt', sys.stdout), 28 namespaces=kws.get('namespaces'), 29 allow_missing_symbol=kws.get('allow_missing_symbol', False)) 31 def read_gaf(self, namespace='BP', **kws): argument 33 return self.get_id2gos(namespace, **kws) 67 def _init_associations(self, fin_gaf, **kws): argument 70 …nts = ini.init_associations(kws['hdr_only'], kws['prt'], kws['namespaces'], kws['allow_missing_sym…
|
/dports/www/py-bokeh/bokeh-2.3.3/tests/unit/bokeh/plotting/ |
H A D | test__stack.py | 55 assert len(kws) == len(stackers) 56 for i, kw in enumerate(kws): 64 for i, kw in enumerate(kws): 75 for i, kw in enumerate(kws): 86 for i, kw in enumerate(kws): 98 for i, kw in enumerate(kws): 134 for i, kw in enumerate(kws): 143 for i, kw in enumerate(kws): 155 for i, kw in enumerate(kws): 167 for i, kw in enumerate(kws): [all …]
|
/dports/math/py-seaborn/seaborn-0.11.0/seaborn/tests/ |
H A D | test_matrix.py | 95 kws['mask'] = mask 108 kws['mask'] = mask 115 kws['mask'] = mask 139 kws["vmin"] = 0 140 kws["vmax"] = 1 149 kws["vmin"] = -4 150 kws["vmax"] = 5 151 kws["center"] = 0 193 kws["center"] = .5 542 kws['axis'] = 0 [all …]
|
/dports/biology/py-goatools/goatools-1.1.6/goatools/cli/ |
H A D | gosubdag_plot.py | 109 def get_go_color(self, **kws): argument 115 if 'GO' in kws: 119 if 'go_file' in kws: 271 kws = dict(kws) 281 def _chk_docopts(self, kws): argument 284 outfile = kws['outfile'] 285 if len(kws) == 2 and os.path.basename(kws['obo']) == "go-basic.obo" and \ 290 if 'gaf' in kws and 'gene2go' in kws: 292 if 'gene2go' in kws: 329 if 'sections' in kws: [all …]
|
H A D | wr_hierarchy.py | 80 self.goids = self.init_goids(self.kws.get('GO'), self.kws.get('i'), self.gosubdag.go2nt) 110 if 'o' in self.kws: 111 fouts_txt.append(self.kws['o']) 112 if 'f' in self.kws: 120 upstr = '_up' if 'up' in self.kws else '' 131 objwr = WrHierGO(self.gosubdag, **self.kws) 141 if 'item_marks' in self.kws: 154 if 'include_only' in self.kws: 161 self.kws['include_only'] = goids 169 if 'item_marks' not in self.kws: [all …]
|
H A D | wr_sections.py | 68 kws = self.objdoc.get_docargs(prt=None) 73 grprdflt = GrouperDflts(self.gosubdag, kws['slims']) 76 sections = self._read_sections(kws['ifile']) 82 if not os.path.exists(kws['ifile']): 83 objsecwr.wr_txt_section_hdrgos(kws['ifile']) 84 objsecwr.wr_txt_section_hdrgos(kws['ofile']) 86 if 'py' in kws: 91 objgowr.wr_txt_gos(kws['txt'], sortby=objsecpy.fncsortnt) 109 def _get_tcntobj(goids, go2obj, **kws): argument 112 if 'gaf' in kws or 'gene2go' in kws: [all …]
|
/dports/biology/py-goatools/goatools-1.1.6/goatools/gosubdag/plot/ |
H A D | go_edge.py | 18 def __init__(self, gosubdag, **kws): argument 21 self.kws = extract_kwargs(kws, self.exp_keys, self.exp_elems) 25 ret = self.kws['dict'].copy() 26 if 'dict' in self.kws and 'edge2txt' in self.kws['dict']: 27 self._init_edge2txt_altgos(self.kws['dict']['edge2txt']) 49 self.kws = optobj.get_kws() # GoEdgeOpts -> text options 54 def add_edges(self, edges_list, go2node, dag, **kws): argument 58 edge2txt = self.kws.get('edge2txt') 63 kws = dict(kws) 64 kws['label'] = edge2txt[(src, tgt)] [all …]
|
/dports/devel/py-numba/numba-0.51.2/numba/np/ufunc/ |
H A D | decorators.py | 34 def __new__(cls, func, **kws): argument 35 identity = cls.get_identity(kws) 36 cache = cls.get_cache(kws) 37 imp = cls.get_target_implementation(kws) 45 def __new__(cls, func, signature, **kws): argument 46 identity = cls.get_identity(kws) 47 cache = cls.get_cache(kws) 50 targetoptions=kws) 53 def vectorize(ftylist_or_function=(), **kws): argument 118 vec = Vectorize(func, **kws) [all …]
|
/dports/textproc/py-rdflib/rdflib-5.0.0/rdflib/extras/ |
H A D | describer.py | 131 def about(self, subject, **kws): argument 153 def value(self, p, v, **kws): argument 168 v = cast_value(v, **kws) 171 def rel(self, p, o=None, **kws): argument 200 o = cast_identifier(o, **kws) 204 def rev(self, p, s=None, **kws): argument 226 s = cast_identifier(s, **kws) 257 def cast_value(v, **kws): argument 259 v = Literal(v, **kws) 263 def cast_identifier(ref, **kws): argument [all …]
|
/dports/devel/pysvn/pysvn-1.9.12/Source/ |
H A D | pysvn.hpp | 224 Py::Object cmd_add( const Py::Tuple& args, const Py::Dict &kws ); 232 Py::Object cmd_cat( const Py::Tuple& args, const Py::Dict &kws ); 236 Py::Object cmd_copy( const Py::Tuple& args, const Py::Dict &kws ); 240 Py::Object cmd_diff( const Py::Tuple& args, const Py::Dict &kws ); 250 Py::Object cmd_info( const Py::Tuple& args, const Py::Dict &kws ); 255 Py::Object cmd_log( const Py::Tuple& args, const Py::Dict &kws ); 257 Py::Object cmd_lock( const Py::Tuple& args, const Py::Dict &kws ); 260 Py::Object cmd_list( const Py::Tuple& args, const Py::Dict &kws ); 262 Py::Object cmd_ls( const Py::Tuple& args, const Py::Dict &kws ); 322 Py::Object is_url( const Py::Tuple& args, const Py::Dict &kws ); [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/slideshow-lib/slideshow/private/ |
H A D | utils.rkt | 39 (lambda (kws kw-vals . args) 40 (if (memq kw kws) 41 (keyword-apply proc kws kw-vals args) 42 (keyword-apply-with-keyword proc kw kw-val kws kw-vals args)))) 47 (define (keyword-apply-with-keyword proc kw kw-val kws kw-vals args) 48 (let loop ([kws kws] [kw-vals kw-vals] [rev-kws '()] [rev-kw-vals '()]) 50 [(or (null? kws) 51 (keyword<? kw (car kws))) 52 (define new-kws (append (reverse rev-kws) (list kw) kws)) 54 (keyword-apply proc new-kws new-kw-vals args)] [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/typed-racket-lib/typed-racket/static-contracts/combinators/ |
H A D | function.rkt | 25 (struct function-combinator combinator (indices mand-kws opt-kws typed-side?) 57 (define mand-kws-stx (append-map list mand-kws mand-kw-ctcs)) 58 (define opt-kws-stx (append-map list opt-kws opt-kw-ctcs)) 70 [(and (null? mand-kws) (null? opt-kws) 107 mand-kws 108 opt-kws 143 (function-combinator new-args indices mand-kws opt-kws typed-side?)) 178 (recur a-mand-kws b-mand-kws) 179 (recur a-opt-kws b-opt-kws) 184 (+ (recur v-indices) (recur v-mand-kws) (recur v-opt-kws) (recur v-args))) [all …]
|
/dports/devel/py-astroid/astroid-2.9.0/astroid/ |
H A D | exceptions.py | 69 def __init__(self, message="", **kws): argument 72 for key, value in kws.items(): 88 super().__init__(message, **kws) 109 **kws, argument 111 super().__init__(message, **kws) 131 super().__init__(message, **kws) 196 def __init__(self, message="Inference failed for {node!r}.", **kws): argument 197 super().__init__(message, **kws) 214 def __init__(self, message="{name!r} not found in {scope!r}.", **kws): argument 215 super().__init__(message, **kws) [all …]
|
/dports/biology/py-goatools/goatools-1.1.6/goatools/grouper/ |
H A D | aart_geneproducts_all.py | 29 def __init__(self, grprdflt, hdrobj, **kws): argument 32 self.kws = {k:v for k, v in kws.items()} 106 if 'fmtgo' not in self.kws: 107 self.kws['fmtgo'] = self.grprdflt.gosubdag.prt_attr['fmt'] + "\n" 108 if 'fmtgo2' not in self.kws: 110 if 'fmtgene' not in self.kws: 111 if 'itemid2name' not in self.kws: 112 self.kws['fmtgene'] = "{AART} {ID}\n" 114 self.kws['fmtgene'] = "{AART} {ID} {NAME}\n" 115 if 'fmtgene2' not in self.kws: [all …]
|
/dports/lang/python-legacy/Python-2.7.18/Lib/email/ |
H A D | parser.py | 18 def __init__(self, *args, **kws): argument 35 if '_class' in kws: 37 kws['_class'] = args[0] 39 if 'strict' in kws: 41 kws['strict'] = args[1] 44 if '_class' in kws: 45 self._class = kws['_class'] 46 del kws['_class'] 49 if 'strict' in kws: 52 del kws['strict'] [all …]
|