Did I find the right examples for you? yes no

All Samples(26)  |  Call(26)  |  Derive(0)  |  Import(0)

src/q/e/qeutil-0.1.15/qeutil/qeio.py   qeutil(Download)
        if (i_cons == 1) or (i_cons == 2):
            v = []
            v.append(float(specie.find("CONSTRAINT_1").text.strip()))
            v.append(float(specie.find("CONSTRAINT_2").text.strip()))
            v.append(float(specie.find("CONSTRAINT_3").text.strip()))
    if i_cons == 3:
        v = []
        v.append(float(specie.find("FIXED_MAGNETIZATION_1").text.strip()))
        v.append(float(specie.find("FIXED_MAGNETIZATION_2").text.strip()))
        v.append(float(specie.find("FIXED_MAGNETIZATION_3").text.strip()))

src/c/o/collective.solr-4.0/src/collective/solr/exportimport.py   collective.solr(Download)
                    value = []
                    for elem in child.getElementsByTagName('parameter'):
                        value.append(elem.getAttribute('name'))
                    self.context.required = tuple(map(str, value))
                elif child.nodeName == 'search-pattern':
                    value = []
                    for elem in child.getElementsByTagName('parameter'):
                        value.append(elem.getAttribute('name'))
                    self.context.facets = tuple(map(str, value))
                elif child.nodeName == 'filter-query-parameters':
                    value = []
                    for elem in child.getElementsByTagName('parameter'):
                        value.append(elem.getAttribute('name'))
                    value = []
                    for elem in child.getElementsByTagName('parameter'):
                        value.append(elem.getAttribute('name'))
                    self.context.highlight_fields = tuple(map(str, value))
                elif child.nodeName == 'highlight_formatter_pre':
                    value = []
                    for elem in child.getElementsByTagName('parameter'):
                        value.append(elem.getAttribute('name'))
                    self.context.field_list = tuple(map(str, value))
                elif child.nodeName == 'levenshtein_distance':

src/c/o/collective.solr-HEAD/src/collective/solr/exportimport.py   collective.solr(Download)
                    value = []
                    for elem in child.getElementsByTagName('parameter'):
                        value.append(elem.getAttribute('name'))
                    self.context.required = tuple(map(str, value))
                elif child.nodeName == 'search-pattern':
                    value = []
                    for elem in child.getElementsByTagName('parameter'):
                        value.append(elem.getAttribute('name'))
                    self.context.facets = tuple(map(str, value))
                elif child.nodeName == 'filter-query-parameters':
                    value = []
                    for elem in child.getElementsByTagName('parameter'):
                        value.append(elem.getAttribute('name'))
                    value = []
                    for elem in child.getElementsByTagName('parameter'):
                        value.append(elem.getAttribute('name'))
                    self.context.highlight_fields = tuple(map(str, value))
                elif child.nodeName == 'highlight_formatter_pre':
                    value = []
                    for elem in child.getElementsByTagName('parameter'):
                        value.append(elem.getAttribute('name'))
                    self.context.field_list = tuple(map(str, value))
                elif child.nodeName == 'levenshtein_distance':

src/p/y/python-ase-3.8.1/ase/calculators/vasp.py   python-ase(Download)
            if line.lower().startswith('  free  energy   toten'):
                if all:
                    energy_free.append(float(line.split()[-2]))
                else:
                    energy_free = float(line.split()[-2])
            # Extrapolated zero point energy
            if line.startswith('  energy  without entropy'):
                if all:
                    energy_zero.append(float(line.split()[-1]))

src/l/i/limix-0.5.2/src/interfaces/python/limix/utils/fdr.py   limix(Download)
 
	for l in range(len(lam)):
	    pi0.append(counts[l]/(m*(1-lam[l])))
 
	pi0 = sp.array(pi0)

src/w/h/whiff-1.1/whiff/rdjson/jsonParse.py   whiff(Download)
                if more:
                    cursor = nextcursor
                    valueFound.append(value)
                else:
                    return test # propagate the complaint

src/p/a/panama-0.58/panama/core/qvalue.py   panama(Download)
 
        for l in range(len(lam)):
            pi0.append(counts[l]/(m*(1-lam[l])))
 
        pi0 = sp.array(pi0)

src/c/z/czml-0.1dev/czml/czml.py   czml(Download)
                    else:
                        raise ValueError
                    self._number.append((t,v))
            else:
                self._number = float(data[0])

src/p/m/PmagPy-HEAD/thellier_gui.py   PmagPy(Download)
                specimens_LP_codes=[]
                for specimen in Data_samples_or_sites[sample_or_site].keys():
                    B.append(Data_samples_or_sites[sample_or_site][specimen])
                    magic_codes=MagIC_results_data['pmag_specimens'][specimen]['magic_method_codes']
                    codes=magic_codes.replace(" ","").split(":")