text
stringlengths
12
1.05M
repo_name
stringlengths
5
86
path
stringlengths
4
191
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
12
1.05M
keyword
listlengths
1
23
text_hash
stringlengths
64
64
# modified mexican hat wavelet test.py # spectral analysis for RADAR and WRF patterns # NO plotting - just saving the results: LOG-response spectra for each sigma and max-LOG response numerical spectra # pre-convolved with a gaussian filter of sigma=10 import os, shutil import time, datetime import pickle imp...
yaukwankiu/armor
tests/modifiedMexicanHatTest17_kongreycompref.py
Python
cc0-1.0
7,769
[ "Gaussian" ]
ddcc9c6d9ed65c69369da11ec7775c6b029e4147d34d32e0d68fb46daece36d9
import sassie.sasmol.sasmol as sasmol import os, sys, string, glob, numpy # FIX_PDB # # 05/10/2013 -- initial coding : jc # # LC 1 2 3 4 5 6 7 # LC45678901234567890123456789012345678901234567890123456789012345678901234567...
madscatt/zazzie_1.5
trunk/sassie/build/pdbrx/apply_psfgen.py
Python
gpl-3.0
9,870
[ "CHARMM" ]
8cb99dbbe383eaeb5144e17d82f066a8585e697ec85b7c316a96632c869ded2b
""" Generate a C++ DICOM dictionary from a text file. This program will read a text file generated from the DICOM data element regsistry table (DICOM Chapter 6 part 6) and will generate a hash table that can be used for dictionary lookups. Usage: python makedict.py nemadict.txt > vtkDICOMDictHash.cxx Usage: python ma...
dgobbi/vtk-dicom
Utilities/makedict.py
Python
bsd-3-clause
13,728
[ "VTK" ]
c2c07da355d136dc4bc9be618712e14f734632b824af9f069d4ef67b661278c9
from dryscrape.driver.webkit import Driver as DefaultDriver try: import urlparse except ImportError: import urllib urlparse = urllib.parse class Session(object): """ A web scraping session based on a driver instance. Implements the proxy pattern to pass unresolved method calls to the underlying driver. If...
Elbandi/dryscrape
dryscrape/session.py
Python
mit
1,679
[ "VisIt" ]
0fe1dc8161eec568ac147e26be797e233b4c3d6346c53ee089d0e9c741c2375f
#!/usr/bin/env python3 """ Reads TNO MACC format emission file and converts to EMEP netcdf """ # July 2017 #import collections from collections import OrderedDict as odict import os import sys import numpy as np #DS stuff #import macc.MaccEmepCodes as m #import mkCdf import emxemis.maccEmepCodes as m import emxcdf....
mifads/pyscripts
emxemis/macc2emep.py
Python
gpl-3.0
5,995
[ "NetCDF" ]
b8ec307fe11a6726907678200045b612fcf7b92c24571361a244efa06164284f
# # Copyright 2001 - 2016 Ludek Smid [http://www.ospace.net/] # # This file is part of Outer Space. # # Outer Space is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (...
dahaic/outerspace
client/osci/client.py
Python
gpl-2.0
13,067
[ "Galaxy" ]
ccaf74df2eb48bcfd79f6ac9714c85c83ced35434febd7651b6296de34c4f1b4
""" Tests for tool parameters, more tests exist in test_data_parameters.py and test_select_parameters.py. """ from unittest import TestCase from galaxy.tools.parameters import basic from galaxy.util import bunch from galaxy import model from elementtree.ElementTree import XML import tools_support class DataColumnPa...
mikel-egana-aranguren/SADI-Galaxy-Docker
galaxy-dist/test/unit/tools/test_column_parameters.py
Python
gpl-3.0
3,908
[ "Galaxy" ]
7df34e9249e989608fff965270685c53dbd4dc82dde9aa5a74031e6d5c992956
# Copyright (c) 2014, Alan Saul # Licensed under the BSD 3-clause license (see LICENSE.txt) import numpy as np import unittest import GPy from GPy.models import GradientChecker import functools import inspect from GPy.likelihoods import link_functions from GPy.core.parameterization import Param from functools import pa...
TianpeiLuke/GPy
GPy/testing/likelihood_tests.py
Python
bsd-3-clause
30,412
[ "Gaussian" ]
56517b6030458fe481ed9345be9b3edd789d48a3deb814830ca2b45a683cca98
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' **hybridLFPy** ============== Provides methods for estimating extracellular potentials of simplified spiking neuron network models. How to use the documentation ---------------------------- Documentation is available in two forms: 1. Docstrings provided with th...
espenhgn/hybridLFPy
hybridLFPy/__init__.py
Python
gpl-3.0
2,041
[ "NEURON" ]
8f4e63bd34f97721e4b678ce5f5b7a17197e2e7a5ce1b734df5079e1e2111cf0
""" Egg save utilities. Note that :mod:`pickle` can't save references to functions that aren't defined at the top level of a module, and there doesn't appear to be a viable workaround. Normally :mod:`pickle` won't handle instance methods either, but there is code in place to work around that. When saving to an egg, ...
HyperloopTeam/FullOpenMDAO
lib/python2.7/site-packages/openmdao.util-0.13.0-py2.7.egg/openmdao/util/eggsaver.py
Python
gpl-2.0
28,695
[ "VisIt" ]
ff7f652a12516400776ebfbaa801dd1dd04b3cd147bc2443c6692144b28c5ae5
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This module contains simple statistical algorithms that are straightforwardly implemented as a single python function (or family of functions). This module should generally not be used directly. Everything in `__all__` is imported into `astropy.stats...
lpsinger/astropy
astropy/stats/funcs.py
Python
bsd-3-clause
61,351
[ "Gaussian" ]
aaf9cd41aa9456cfaa4f36a551e65df0f9a9f77d5af450c84d1c67d39e0c6534
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class PyMikado(PythonPackage): """Mikado is a lightweight Python3 pipeline whose purpose is to f...
LLNL/spack
var/spack/repos/builtin/packages/py-mikado/package.py
Python
lgpl-2.1
1,935
[ "Biopython" ]
10539bab5340e12b2243209b4182cc6da4a2c75b3c9fb8af68bb7e5defb7348e
#* This file is part of the MOOSE framework #* https://www.mooseframework.org #* #* All rights reserved, see COPYRIGHT for full restrictions #* https://github.com/idaholab/moose/blob/master/COPYRIGHT #* #* Licensed under LGPL 2.1, please see LICENSE for details #* https://www.gnu.org/licenses/lgpl-2.1.html from RunApp...
nuclear-wizard/moose
python/TestHarness/testers/FileTester.py
Python
lgpl-2.1
1,295
[ "MOOSE" ]
69375e245a8050e2cb95a60ddfb90f464036daafbb17e0e639651dbd2092065a
"""Analyze python import statements.""" from __future__ import (absolute_import, division, print_function) __metaclass__ = type import ast import os import re from . import types as t from .util import ( display, ApplicationError, is_subdir, ) from .data import ( data_context, ) VIRTUAL_PACKAGES = ...
2ndQuadrant/ansible
test/lib/ansible_test/_internal/import_analysis.py
Python
gpl-3.0
14,032
[ "VisIt" ]
e7718a282110a498449f402134fe5f0b4a414337151e656358ae59b335c72619
# $Id$ # # Copyright (C) 2006 Greg Landrum # # @@ All Rights Reserved @@ # This file is part of the RDKit. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the RDKit source tree. # from rdkit import Geometry from rdkit import Chem from ...
soerendip42/rdkit
rdkit/Chem/FeatMaps/FeatMaps.py
Python
bsd-3-clause
7,771
[ "Gaussian", "RDKit" ]
677d6e648d6e7fda2e66c6c7766c07142067b51ddcd0db736eb937da8035d8f0
# This is the instrument-specific file for the PS4000 series of instruments. # # pico-python is Copyright (c) 2013-2014 By: # Colin O'Flynn <coflynn@newae.com> # Mark Harfouche <mark.harfouche@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are pe...
arunpersaud/pico-python
picoscope/ps4000.py
Python
bsd-2-clause
24,959
[ "Gaussian" ]
2e6553fef30cd719ea86bdf9261cf2f217561b47ee8f99273b2cae881da6eba1
# (c) 2013-2014, Michael DeHaan <michael.dehaan@gmail.com> # Stephen Fromm <sfromm@gmail.com> # Brian Coca <briancoca+dev@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as publish...
benjixx/ansible
lib/ansible/plugins/action/assemble.py
Python
gpl-3.0
6,235
[ "Brian" ]
b1f7371639f5dd2cdec7ae6a4ad20804bca36d7df1536bd7d1f9c746ad6d860f
# # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2019 The Psi4 Developers. # # The copyrights for code used from other parties are included in # the corresponding files. # # This file is part of Psi4. # # Psi4 is free software; you can redistribute it and/or modify #...
CDSherrill/psi4
psi4/driver/qcdb/bfs.py
Python
lgpl-3.0
8,260
[ "Psi4" ]
8a6a8c03bdcf41bb141f23946aa1d832eccbb602b90decffb99656841ab3dba1
from collections import namedtuple from copy import copy, deepcopy from . import ast QUERY_DOCUMENT_KEYS = { ast.Name: (), ast.Document: ('definitions', ), ast.OperationDefinition: ('name', 'variable_definitions', 'directives', 'selection_set'), ast.VariableDefinition: ('variable', 'type', 'default_va...
dittos/graphqllib
graphql/core/language/visitor.py
Python
mit
5,185
[ "VisIt" ]
fd3d77c187b99a8011d5087e65122ab6a852eb4aaf4dbea0ffa965c3b8e7c6fb
# # @file TestModelCreator_newSetters.py # @brief ModelCreator unit tests # # @author Akiya Jouraku (Python conversion) # @author Sarah Keating # # $Id: TestModelCreator_newSetters.py 11441 2010-07-09 02:22:23Z mhucka $ # $HeadURL: https://sbml.svn.sourceforge.net/svnroot/sbml/trunk/libsbml/src/bindings/python/...
alexholehouse/SBMLIntegrator
libsbml-5.0.0/src/bindings/python/test/annotation/TestModelCreator_newSetters.py
Python
gpl-3.0
4,914
[ "VisIt" ]
db654b34e44e1b25071f1df53c20354cf357abe3e1b320fac3aafd77f5931a25
#!/usr/bin/env python """ Copyright (c) 2006-2014 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ import codecs import contextlib import cookielib import copy import getpass import hashlib import httplib import inspect import json import logging import ntpath import os imp...
Snifer/BurpSuite-Plugins
Sqlmap/lib/core/common.py
Python
gpl-2.0
128,687
[ "VisIt" ]
4f0d928cf963ddd34554b48ef8e42faec8fe81b49a6d161501d352a139231d84
# In[]: # Import required libraries import os import pandas as pd import dash import dash_core_components as core import dash_html_components as html from dash.dependencies import Input, Output from flask_caching import Cache import quantmod as qm # In[]: # Create layout app = dash.Dash("Quantmod Full Demo") app.c...
jackwluo/py-quantmod
dash_example_full.py
Python
mit
8,032
[ "BWA" ]
10347e47f5779c476f16d53bedacf240132d8acbf4e383d7515e2ae60ec89e66
# Copyright (c) 2009-2010 Aldo Cortesi # Copyright (c) 2010 matt # Copyright (c) 2010, 2012, 2014 dequis # Copyright (c) 2010 Philip Kranz # Copyright (c) 2010-2011 Paul Colomiets # Copyright (c) 2011 osebelin # Copyright (c) 2011 Mounier Florian # Copyright (c) 2011 Kenji_Takahashi # Copyright (c) 2011 Tzbob # Copyrig...
kiniou/qtile
libqtile/xcbq.py
Python
mit
31,290
[ "FLEUR" ]
d53f10456e22b8724adcbd938b2157e7a90bc84c5f5f6f6d7be0333b6853c386
""" Tests the server collection compute capabilities. """ import itertools import pathlib from contextlib import contextmanager from typing import List import numpy as np import pandas as pd import pytest import qcelemental as qcel from qcelemental.models import Molecule, ProtoModel import qcfractal.interface as ptl ...
psi4/DatenQM
qcfractal/tests/test_collections.py
Python
bsd-3-clause
57,749
[ "Psi4", "RDKit" ]
1eca5098f291db338f6b3342a07f528f8e17fc0ab7836eceac1913094f67aa2d
''' Compute the analysis (through direct inversion of B+R innovation matrix) and output the error reduction. For both observation and forecast errors, statistics need to be provided: - correlation model - correlation length - bias (0 by default) - variance (constant on the domain) By default (and as it is a ...
martndj/DaleyMenard1993
analysis.py
Python
gpl-3.0
3,006
[ "Gaussian" ]
a7bbd9f489dd06be6b713c2f794246184a258916970be30ab4a198ec4f34ecce
#!/usr/bin/python # filename: pretty_fasta.py ''' Simple script that converts an 'ugly' FASTA file -- in which the sequence contains line breaks -- into a 'pretty' FASTA file with each sequence on a single line. Dependancies: biopython, python >=2.7 ''' import argparse from Bio import SeqIO parser = argparse....
briney/seqtools
pretty_fasta.py
Python
gpl-2.0
1,159
[ "Biopython" ]
fde4154458b913d3b1acea1b27d18e3d2c4805d7010b349666261112ffa2fd3b
# -*- Python -*- # # @file test_2D_2D_nondiag.py # @brief MultivariateRandomMixture validation tests # # Copyright (C) 2013 EADS IW France # # Author(s) : Denis Barbier, IMACS # Sofiane Haddad, IMACS # # This program is free software; you can redistribu...
sofianehaddad/MVRM
test/test_2D_2D_nondiag.py
Python
lgpl-3.0
3,101
[ "Gaussian" ]
e6460279db569d4f6295042b73086b7281a56fc229c72e5811ec30945bfcaf32
""" glc.value_parser ================ Parsing possible values for shape properties. (c) 2016 LeoV https://github.com/leovoel/ """ from numbers import Number from math import floor from .utils import lerp, clamp, quadratic, bezier from .color import Color, str2color, clerp, multi_clerp import c...
leovoel/glc.py
glc/value_parser.py
Python
mit
6,630
[ "Gaussian" ]
36a88478c5263ec6a095a84c2171ace5586b834e198ff0467ba165a187d7a17c
""" fs.contrib.dropboxfs ======== A FS object that integrates with Dropbox. """ import time import shutil import optparse import tempfile import logging import copy import pytz from UserDict import UserDict from fs.base import * from fs.path import * from fs.errors import * from fs.filelike import StringIO from dr...
smartfile/fs-dropbox
dropboxfs.py
Python
mit
21,966
[ "VisIt" ]
c066026988f557cf9b0cb81a3c3f7166c1828b9d8735f46d50bfac3f653ce4a3
import mybayes as mb from mybayes.cache import * def test_run(): mb.new_network('net1') tri = mb.nfact.Triangular(left=0, mode=2, right=6) # tri.calc_histogram() # tri.draw_bar() # tri2 = nd.TriangularNode(left=3, mode=8, right=10) gauss = mb.nfact.Gaussian(loc=4, scale=1) cons = mb.nfact....
dungvtdev/upsbayescpm
main.py
Python
mit
1,389
[ "Gaussian" ]
e5349717c0f7a2dc5e59f3221a6479f1db375ad7a46dd303311e21331ec09b65
# -*- coding: utf-8 -*- """Traits-based GUI for head-MRI coregistration. Hierarchy --------- This is the hierarchy of classes for control. Brackets like [1] denote properties that are set to be equivalent. :: CoregFrame: GUI for head-MRI coregistration. |-- CoregModel (model): Traits object for estimating the he...
jaeilepp/mne-python
mne/gui/_coreg_gui.py
Python
bsd-3-clause
63,755
[ "Mayavi" ]
1da8c7c6a2d22ee08c9a1b90eae8e53c95e1478a0e68e9fb62ee01d4071bc965
#!/usr/bin/env python3 """ Copyright 2020 Paul Willworth <ioscode@gmail.com> This file is part of Galaxy Harvester. Galaxy Harvester is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 ...
pwillworth/galaxyharvester
html/feeds.py
Python
gpl-3.0
2,823
[ "Galaxy" ]
215349d18314d36929cfdbccc93158065393095fab824a2cf5a1f873c6775557
# Recipe creation tool - create build system handler for python # # Copyright (C) 2015 Mentor Graphics Corporation # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is...
schleichdi2/OPENNFR-6.0-CORE
opennfr-openembedded-core/scripts/lib/recipetool/create_buildsys_python.py
Python
gpl-2.0
30,463
[ "VisIt" ]
fc3a6ac2cb9227c8f18bbcf4359292b99fd13de4cb937daf09bd6b28aad3cf17
from scipy import signal from scipy import optimize from numpy import mean import ModifiedGaussianModel as MGM import numpy as np import matplotlib.pyplot as plt from numpy import mean center_error = 6 threshold_center_error = 3 # function of smooth def savitzky_golay(y, window_size, order, deriv=0, rate=1): ...
Vincentyao1995/Globalink2017-UBC
python_lib/dvm/pre_processing_mineral.py
Python
mit
12,960
[ "Gaussian" ]
9decdc905251ceaa5aa00021e9dec6616d71314d4387fc7c50c437ac43d99d78
import sys import time import numpy as np from gpaw.mpi import world from gpaw.test.parunittest import ParallelTestCase, ParallelTextTestRunner, \ defaultParallelTestLoader, main # ------------------------------------------------------------------ class UTParallel(ParallelTestCase): """Parallel test suite ...
robwarm/gpaw-symm
gpaw/test/parallel/ut_parallel.py
Python
gpl-3.0
4,301
[ "GPAW" ]
ac36f020625e8cb7362fde1f671095fb3837f95f5240787d4bfe450ff28c5caf
import numpy as np import theano.tensor as tt import pymc3 as pm from pyGPGO.surrogates.GaussianProcess import GaussianProcess covariance_equivalence = {'squaredExponential': pm.gp.cov.ExpQuad, 'matern52': pm.gp.cov.Matern52, 'matern32': pm.gp.cov.Matern32} class ...
hawk31/pyGPGO
pyGPGO/surrogates/GaussianProcessMCMC.py
Python
mit
4,908
[ "Gaussian" ]
4f9c37045a8cb188258964876ebc059e1ec2b14fc7593e562e6c252712987325
from __future__ import division, absolute_import, print_function import warnings import sys import collections import operator import numpy as np import numpy.core.numeric as _nx from numpy.core import linspace, atleast_1d, atleast_2d from numpy.core.numeric import ( ones, zeros, arange, concatenate, array, asarr...
ViralLeadership/numpy
numpy/lib/function_base.py
Python
bsd-3-clause
143,583
[ "Gaussian" ]
0ca6401d151cdc059b14126b2603d5e50cb86685591eab028a06e1326ae71252
############################################################################## # adaptiveMD: A Python Framework to Run Adaptive Molecular Dynamics (MD) # Simulations on HPC Resources # Copyright 2017 FU Berlin and the Authors # # Authors: Jan-Hendrik Prinz # Contributors: # # `adaptiveMD` is free software: ...
markovmodel/adaptivemd
adaptivemd/misc/__init__.py
Python
lgpl-2.1
1,018
[ "MDTraj" ]
009d11152366e163041b4cfcbd799b2c4b908cb3f98b2a17b3e0868b18caa27d
import subprocess,os def makeblastdb(fastaFile,datatype,outputname): """ this function build database given a fasta file * fastaFile: can be gzipped or not """ if fastaFile.endswith('.gz'): cmd = ('gunzip -c {input} | makeblastdb -in - -dbtype {type} -title {title} ' '-o...
shl198/Pipeline
Modules/f10_blast.py
Python
mit
1,759
[ "BLAST" ]
ee3c310030d1eb7e5d5a1758544f433e662961c739c200d451350fe21b76a939
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2012 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # Copyright (c) 2009-2015 Richard Jones, Claudio Canepa # All rights reserved. # # Redistribution and use in source and binary forms, with o...
twenty0ne/CocosBuilder-wxPython
cocos/cocos/director.py
Python
mit
26,982
[ "VisIt" ]
bf3b4ffb316bc7543f48bf73ac7b3fe1fcd003a82b7c3ca8232554de5d517309
#! /usr/bin/env python ######################################################################## # File : dirac-stager-stage-files # Author : Daniela Remenska ######################################################################## """ Submit staging requests for a particular Storage Element! Default DIRAC JobID wil...
DIRACGrid/DIRAC
src/DIRAC/StorageManagementSystem/scripts/dirac_stager_stage_files.py
Python
gpl-3.0
2,677
[ "DIRAC" ]
66388fb8e550effd23fa9cabfcc591b14ea41ef61f3526a154e080b92600ae03
# -*- coding: utf-8 -*- """ Classes for (1) marginal and (2) conditional sampling for the IMAGENET data. Note that every sampler has to implement the method get_samples(sampleIndices, featVect, numSamples) """ import numpy as np import random import scipy import os.path # utilities import utils_da...
lmzintgraf/DeepVis-PredDiff
utils_sampling.py
Python
mit
17,163
[ "Gaussian" ]
e4acf13212e300c1921f9e90ffe5a9bb9a776dae94b07fe6b90c85aefd1d5c1b
from ovito.io import import_file node = import_file("simulation.dump") node.add_to_scene() node.source.cell.display.line_width = 1.3
srinath-chakravarthy/ovito
doc/python/example_snippets/simulation_cell_display.py
Python
gpl-3.0
134
[ "OVITO" ]
677df7ed70c1c2c556857d1ff0854912490ae5316fd95ec99009978c063ad309
# Copyright 2018 Brian May # # This file is part of python-tldap. # # python-tldap is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
brianmay/python-tldap
tldap/database/helpers.py
Python
gpl-3.0
12,541
[ "Brian" ]
74e9dd016ce1ef3a756fe42ec04c26ec7c55d279b38f414fffa5f2548a0f118f
#!/usr/bin/python """Test of Orca's presentation of a combo box.""" from macaroon.playback import * import utils sequence = MacroSequence() sequence.append(TypeAction("This is a test.")) sequence.append(KeyComboAction("Left")) sequence.append(KeyComboAction("<Control><Shift>Left")) sequence.append(KeyComboAction("...
pvagner/orca
test/keystrokes/oowriter/ui_role_combo_box.py
Python
lgpl-2.1
1,440
[ "ORCA" ]
22474378d7ee70369dcb7c14f22b76a3c9e0f3a9b7f528cf0d6741425b5e1326
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
eric-haibin-lin/mxnet
tests/python/unittest/test_optimizer.py
Python
apache-2.0
57,395
[ "Gaussian" ]
22c1a5be483ac97784fc1405a2b141a0b7ecf520a11d4c96e6c8fbeee7f422c2
from subprocess import call import os from flask.ext.script import Manager from commands.utils import perform def alt_exec(cmd, alt=None): """ Tries to execute command. If command not found, it tries to execute the alternative comand """ try: call(cmd) except OSError as e: if...
uaprom-summer-2015/Meowth
commands/static.py
Python
bsd-3-clause
3,080
[ "GULP" ]
0dbe3b4897b20fefe68ed2cb84b0b8209a048655984160333894c3fe3dfbad23
# Author: Robert McGibbon <rmcgibbo@gmail.com> # Contributors: Brooke Husic <brookehusic@gmail.com> # Copyright (c) 2014, Stanford University # All rights reserved. # ----------------------------------------------------------------------------- # Imports # --------------------------------------------------------------...
msultan/msmbuilder
msmbuilder/commands/fit_transform.py
Python
lgpl-2.1
10,519
[ "MDTraj" ]
293d609a8ef0b960de308d8ba26a774e265b78e4405532b4b58134642fe5f336
###################################################################### # # File: bstat.py # # Copyright 2013 Brian Beach, All Rights Reserved. # ###################################################################### import itertools import math import scipy.special import scipy.stats import unittest def percentile...
bwbeach/bstat
bstat/bstat.py
Python
mit
6,881
[ "Brian" ]
69b57ee23a7e64db5bf45581f16ec9acbbc49702df82b65c4f1662bf64366147
from django.utils.encoding import python_2_unicode_compatible from django.conf import settings try: from django.contrib.contenttypes.fields import GenericForeignKey except ImportError: from django.contrib.contenttypes.generic import GenericForeignKey from django.contrib.contenttypes.models import ContentType f...
abendleiter/Django-facebook
django_facebook/models.py
Python
bsd-3-clause
23,221
[ "VisIt" ]
1c9da4a22fbe688e3a30b1752540f7e57fe60716f0536274eaa034d85f682f35
############################### # This file is part of PyLaDa. # # Copyright (C) 2013 National Renewable Energy Lab # # PyLaDa is a high throughput computational platform for Physics. It aims to make it easier to submit # large numbers of jobs on supercomputers. It provides a python interface to physical input, suc...
pylada/pylada-light
src/pylada/misc/relativepath.py
Python
gpl-3.0
10,211
[ "CRYSTAL", "VASP" ]
286ab53cc3b2e6d5ad04d40dc6fbaa11a5c96d46c66423b5bc4048745fcbc7f9
from __future__ import division import ast import _ast try: # Python 3+ NameConstant = _ast.NameConstant except AttributeError: # Python 2.7 NameConstant = _ast.Name class NotSafeExpression(Exception): pass class UnsafeNode(Exception): pass class Evaler(object): ALLOWED_NODES = { ...
utter-step/exleval
src/exleval/evaler.py
Python
mit
3,689
[ "VisIt" ]
7c095d46934a6951c1dda3e8fa9e4315d89e8b1dac6675270687ecf856f08479
# # Copyright 2009 Eigenlabs Ltd. http://www.eigenlabs.com # # This file is part of EigenD. # # EigenD is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) a...
Eigenlabs/EigenD
app_browser2/displayutils.py
Python
gpl-3.0
12,860
[ "Amber" ]
1ecf63987267e8316e625e17fdeb3646138bee25f2217b41e25829be5e9aa3aa
# -*- coding: utf-8 -*- ## ## This file is part of Invenio. ## Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 CERN. ## ## Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of t...
robk5uj/invenio
modules/bibedit/lib/refextract.py
Python
gpl-2.0
406,152
[ "DIRAC" ]
2ca6a5910f2a6964f8e9a822e12f0f84e1b79e0dc4b593b758c2ca9dba855ca1
# # @file TestL3KineticLaw.py # @brief L3 KineticLaw unit tests # # @author Akiya Jouraku (Python conversion) # @author Sarah Keating # # $Id$ # $HeadURL$ # # ====== WARNING ===== WARNING ===== WARNING ===== WARNING ===== WARNING ====== # # DO NOT EDIT THIS FILE. # # This file was generated automa...
alexholehouse/SBMLIntegrator
libsbml-5.0.0/src/bindings/python/test/sbml/TestL3KineticLaw.py
Python
gpl-3.0
4,320
[ "VisIt" ]
58089fe327bb71e98662dc16278862923b8ee79248c016943ce0813177adcfbd
# Copyright 2020 DeepMind Technologies Limited. # # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
deepmind/deepmind-research
kfac_ferminet_alpha/loss_functions.py
Python
apache-2.0
22,520
[ "ASE" ]
0fc96ade19c89eb57a3e7a9b8cfe26125b48956174c06cacf4bb0dba468ba773
""" This module module is used to generate the CAs and CRLs (revoked certificates) Example: from DIRAC.Core.Security import Utilities retVal = Utilities.generateRevokedCertsFile() if retVal['OK']: cl = Elasticsearch( self.__url, timeout = self.__timeout, use_ssl = True,...
andresailer/DIRAC
Core/Security/Utilities.py
Python
gpl-3.0
3,182
[ "DIRAC" ]
408a8d4c3cf333d67a601f281971089445eeade9d4822320f355fc2056193b00
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
AsimmHirani/ISpyPi
tensorflow/contrib/tensorflow-master/tensorflow/contrib/learn/python/learn/estimators/__init__.py
Python
apache-2.0
12,005
[ "Gaussian" ]
534e3294baf6dd0d25be8a05a1e49dd07a1c1084e24e17792bdd17d9f1afdf24
"""test_rdesigneur.py: """ __author__ = "Dilawar Singh" __copyright__ = "Copyright 2017-, Dilawar Singh" __version__ = "1.0.0" __maintainer__ = "Dilawar Singh" __email__ = "dilawars@ncbs.res.in" __status__ = "Development" import sys import os import numpy as n...
BhallaLab/moose
moose-core/tests/python/test_rdesigneur.py
Python
gpl-3.0
1,002
[ "MOOSE" ]
09b3067144eff8ba84e5b5dee3ed22f182de6c2519c748653a3b529f5492e446
# -*- coding: utf-8 -*- # # File: Student.py # # Copyright (c) 2008 by [] # Generator: ArchGenXML Version 2.0-beta10 # http://plone.org/products/archgenxml # # GNU General Public License (GPL) # __author__ = """unknown <unknown>""" __docformat__ = 'plaintext' from AccessControl import ClassSecurityInfo fro...
uwosh/UWOshMusicRecruiting
content/Student.py
Python
gpl-2.0
4,310
[ "VisIt" ]
9b1580157e035997917e9bda1ed96aa5f8c84bde9a09814f937564de4b4a33bf
# Mostly been tested on BG/P at Argonne National Laboratory # There are two modes for generating map files: # # Domain - used for band parallelization in TDDFT; # keep domains for same group of bands # on adjacent nodes # # Band - used for band parallelization in DFT; # keep do...
robwarm/gpaw-symm
tools/mapfile_bgp.py
Python
gpl-3.0
4,742
[ "GPAW" ]
7236ae7f70dd7b3568fd3198ece783b00757f098398d264b32f70df263b7d56d
# -*- coding: utf-8 -*- import datetime import random import re import string from lxml.html import parse from urllib2 import urlopen from urlparse import urljoin from urlparse import urlparse from werkzeug import url_encode from openerp import models, fields, api, _ URL_REGEX = r'(\bhref=[\'"](?!mailto:)([^\'"]+)[\...
web30s/odoo-9.0c-20160402
hello/templates/openerp/addons/link_tracker/models/link_tracker.py
Python
gpl-3.0
9,930
[ "VisIt" ]
96fe26016d319a8384e95a2ebc3972f0b5835553d35ac5c9435aa3cc25672bd9
#* This file is part of the MOOSE framework #* https://www.mooseframework.org #* #* All rights reserved, see COPYRIGHT for full restrictions #* https://github.com/idaholab/moose/blob/master/COPYRIGHT #* #* Licensed under LGPL 2.1, please see LICENSE for details #* https://www.gnu.org/licenses/lgpl-2.1.html # Note that...
nuclear-wizard/moose
modules/navier_stokes/test/tests/scalar_adr/supg/generate_forcing_functions.py
Python
lgpl-2.1
1,156
[ "MOOSE" ]
94de6cd753e8d2fde89bda7587f1e2464712618d5405d3b258ef4d383beec1fa
#!/usr/bin/env python # This tool takes a tab-delimited textfile as input and creates another column in the file which is the result of # a computation performed on every row in the original file. The tool will skip over invalid lines within the file, # informing the user about the number of lines skipped. import sy...
volpino/Yeps-EURAC
tools/stats/column_maker.py
Python
mit
4,345
[ "Galaxy" ]
ac10dd8452450b82b6b6abeec52e667ca15653ad01f26ac179933f16eba9347c
# this is (possibly broken) code to perform a marker-based watershed # segmentation on a mesh by making use of a pre-segmentation # modification of curvature homotopy # test this on some synthetic data (cube with markers on all six faces) # before you use it for anything serious. # IDEA: # use vtkPolyDataConnectivity...
nagyistoce/devide
modules/attic/meshMarkerWatershed.py
Python
bsd-3-clause
21,412
[ "VTK" ]
f9570246ca0feefc28b70c36f890b9c432ea35563eedc071aa637a58e6befad4
import theano import theano.tensor as T from theano import config from crop import LocallySoftRectangularCropper from crop import Gaussian import numpy as np from datasets import get_bmnist_streams import matplotlib # Force matplotlib to not use any Xwindows backend. matplotlib.use('Agg') import matplotlib.pyplot as pl...
negar-rostamzadeh/rna
test_2.py
Python
mit
1,165
[ "Gaussian" ]
834cf0bb476b99a193aa2122aa4a407e76460cc159aa5dd18c0f6211c94b0169
# Data sources database( thermoLibraries = ['primaryThermoLibrary', 'GRI-Mech3.0'], reactionLibraries = [], seedMechanisms = [], kineticsDepositories = ['training'], # 'all', 'default'==['training'], [], kineticsFamilies = ['!Intra_Disproportionation','!Substitution_O'], kineticsEstimator = 'r...
faribas/RMG-Py
examples/rmg/1,3-hexadiene/input.py
Python
mit
1,860
[ "MOPAC" ]
e2a835aa687bc988731b02df8e08fd9bd4d11354eaab27426379810002884ace
# -*- coding: utf-8 -*- # Copyright (c) 2015-2018, Exa Analytics Development Team # Distributed under the terms of the Apache License 2.0 """ Q-Chem Ouput Editor ####################### Editor classes for simple Q-Chem output files """ import six import numpy as np import pandas as pd from exa import TypedMeta from ex...
alexvmarch/atomic
exatomic/qchem/output.py
Python
apache-2.0
2,088
[ "Q-Chem" ]
31529864e9916aa97aa20d0b4ef060f588fd03e1b85c84f073c3502326433466
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2010 Jakim Friant # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as publi...
SNoiraud/gramps
gramps/plugins/tool/changenames.py
Python
gpl-2.0
10,637
[ "Brian" ]
9b9fbd75f35c784a2f21cc1a3bbbd02171b9a7277920fb556cda747157880279
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # SNABSuite -- Spiking Neural Architecture Benchmark Suite # Copyright (C) 2017 Christoph Jenzen # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software F...
hbp-unibi/SNABSuite
plot/spike_plot.py
Python
gpl-3.0
2,686
[ "NEURON" ]
98d174ff2db2df3e79e632ff3c467fbcc8eb3ef2889b0aca9af555b485dd83e1
from unittest import skip from django.test import override_settings from mainapp.tests.live.chromedriver_test_case import ChromeDriverTestCase class AccountTest(ChromeDriverTestCase): fixtures = ["initdata"] password1 = "8I$KJ37Kdk" email = "test@example.org" password2 = "sdir23744!ä" def check...
meine-stadt-transparent/meine-stadt-transparent
mainapp/tests/live/test_account.py
Python
mit
3,209
[ "VisIt" ]
7bfd2457735c614beacc58a44888e6406cbe2c0ba5db95bcadf1f402a9b57ec3
from __future__ import division, print_function, unicode_literals """ This module implements the workflow to design new materials. """ __author__ = "Chuck-Hou Yee" __copyright__ = "Copyright 2015, Correlated Materials Laboratory" __version__ = "0.1" __maintainer__ = "Chuck-Hou Yee" __email__ = "chuckyee@physics.rutge...
correlatedmaterialslaboratory/pymatdesign
pymatdesign/design.py
Python
mit
3,810
[ "pymatgen" ]
84bb754ace1dae323e22b97bbf19cf69c37cb15735007ee5e8585ced4ef963ae
# Orca # # Copyright 2005-2009 Sun Microsystems Inc. # Copyright 2010-2011 Orca Team # Copyright 2011-2015 Igalia, S.L. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version ...
chrys87/orca-beep
src/orca/scripts/web/speech_generator.py
Python
lgpl-2.1
18,460
[ "ORCA" ]
f48f312d04a8b6c91d6256a10ff3e2802d976cd557da52693b931cf214e749a8
######################################################################## # $HeadURL: $ # File : JobWrapper.py # Author : Stuart Paterson ######################################################################## """ The Job Wrapper Class is instantiated with arguments tailored for running a particular job. The JobW...
avedaee/DIRAC
WorkloadManagementSystem/JobWrapper/JobWrapper.py
Python
gpl-3.0
61,898
[ "DIRAC" ]
025e91944d4cc1d53419df6e24f33077f1fab7668219306ce1b96cc7ca1bcc8c
import pyspeckit import numpy as np # Create our own gaussian centered at 0 with width 1, amplitude 5, and # gaussian noise with amplitude 1 x = pyspeckit.units.SpectroscopicAxis(np.linspace(-10,10,50), unit='km/s') e = np.random.randn(50) d = np.exp(-np.asarray(x)**2/2.)*5 + e # create the spectrum object sp = pyspe...
vlas-sokolov/pyspeckit
examples/example_pymc.py
Python
mit
3,465
[ "Gaussian" ]
20e870096715fa6f9a004f36c0fcc2f3504d755337123a425f26517ab2c26f3c
#!/usr/bin/env python from ecmwfapi import ECMWFDataServer server = ECMWFDataServer(url="https://api.ecmwf.int/v1", key="", email="laurensgeffert@gmail.com") # Retrieve data in netCDF format server.retrieve({ 'stream': "oper", 'levtype': "sfc", ...
JanLauGe/ReadingBus
web_api.py
Python
mit
1,318
[ "NetCDF" ]
fe36159b8114bb763b13a182868f8fea01ce9887018f336544a53f5e4ef7b4f1
from . import base from .verlet import * from .openmm import *
Autodesk/molecular-design-toolkit
moldesign/integrators/__init__.py
Python
apache-2.0
63
[ "OpenMM" ]
411822ecd16f10cc34ad98e5a145f353db7a4c72ee487beaee677332d5acad5f
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest from Bio.Seq import Seq import recordtype import hgvs.parser import hgvs.utils.altseqbuilder as altseqbuilder import framework.mock_input_source as mock_input_data_source class TestA...
jmuhlich/hgvs
tests/test_hgvs_variantmapper_cp_altseqbuilder.py
Python
apache-2.0
6,971
[ "Biopython" ]
561734552ffcaa664df44cf9286eb0ae6ef42f33cbea9f61b11081d596c62777
# Copyright (c) 2010-2012 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
swiftstack/swift
test/unit/obj/test_diskfile.py
Python
apache-2.0
381,139
[ "VisIt" ]
9f31876ad6fba7eaa6fb08d63bddff66fb1ec94fd0d5d1b3d84f8fbb1ea37bc0
# -*- coding: utf-8 -*- """ Created on Tue Sep 22 14:23:47 2015 @author: lpinello """ import os import sys import subprocess as sb import gzip import argparse import unicodedata import string import re import logging logging.basicConfig(level=logging.INFO, format='%(level...
lucapinello/CRISPResso
CRISPResso/CRISPRessoWGSCORE.py
Python
agpl-3.0
25,943
[ "Bowtie" ]
c676d8f86db0eb9e74d5c0272f6ae38fbd8e8178c4b67ce447e251f631caed4f
""" DIRAC.ConfigurationSystem.Client.Helpers package """ from __future__ import absolute_import from __future__ import division from __future__ import print_function __RCSID__ = "$Id$" from DIRAC.ConfigurationSystem.Client.Helpers.Path import * from DIRAC.ConfigurationSystem.Client.Helpers.CSGlobals import getCSExt...
yujikato/DIRAC
src/DIRAC/ConfigurationSystem/Client/Helpers/__init__.py
Python
gpl-3.0
359
[ "DIRAC" ]
17f3451e0581950e1a5287e2054d77aedfbb1a44f87ba20cd600c893d445fef7
""" ======================================== Special functions (:mod:`scipy.special`) ======================================== .. module:: scipy.special Nearly all of the functions below are universal functions and follow broadcasting and automatic array-looping rules. Exceptions are noted. .. seealso:: `scipy.s...
asnorkin/sentiment_analysis
site/lib/python2.7/site-packages/scipy/special/__init__.py
Python
mit
27,481
[ "Gaussian" ]
bd3033315d7deabafca7ac52b88e88d707888bb8f1d6177afa81f1599bd803e4
'''<h1>Library for surface x-ray diffraction simulations of superlattices</h1> <p> The model is based on Fullertons algorithm for superlattices as described in Phys. Rev. B vol. 45 p. 9292 (1992). ''' # Programmed by Matts Bjorck 20091215 import numpy as np import genx.models.sxrd from genx.models.utils import f, rho...
haozhangphd/genx-py3
genx/models/sxrd_mult.py
Python
gpl-3.0
12,753
[ "Gaussian" ]
4968797d93f4f0064bc9d47e140f2607f21074d9444308a4821dec2a6c7bf49d
""":func:`~pandas.eval` parsers """ import ast import tokenize from functools import partial import numpy as np import pandas as pd from pandas import compat from pandas.compat import StringIO, lmap, zip, reduce, string_types from pandas.core.base import StringMixin from pandas.core import common as com import panda...
mbayon/TFG-MachineLearning
venv/lib/python3.6/site-packages/pandas/core/computation/expr.py
Python
mit
26,138
[ "VisIt" ]
f0b7dccbf331d6bfe6317c1664b631a0b19a6e470c59dc0585c4291a50b7b4d6
from __future__ import print_function import mxnext as X import mxnet as mx from symbol.builder import FasterRcnn, RpnHead from models.FPN.builder import FPNRpnHead from models.maskrcnn import bbox_post_processing from utils.patch_config import patch_config_as_nothrow from utils.deprecated import deprecated class ...
TuSimple/simpledet
models/maskrcnn/builder.py
Python
apache-2.0
12,833
[ "Gaussian" ]
c6924056c37fa65afe2cfe470ddd103863eb2cc7aa0431249c5c55c647705f33
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2018, Chris Houseknecht <@chouseknecht> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
hyperized/ansible
lib/ansible/modules/clustering/k8s/k8s.py
Python
gpl-3.0
9,744
[ "Galaxy" ]
6680de81985e1743210f1cb67ce185ed8ab640467fb92227ae94e5c4be37f422
# Copyright (c) 2003-2013 LOGILAB S.A. (Paris, FRANCE). # http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, o...
lukaszpiotr/pylama_with_gjslint
pylama/checkers/pylint/checkers/design_analysis.py
Python
lgpl-3.0
16,521
[ "VisIt" ]
4ad61a4a66f2a37831a01f44c6991e71290ef19cfbb6dfa07f88816b3cfb94bb
## ## This file is part of the sigrok-meter project. ## ## Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de> ## Copyright (C) 2014 Jens Steinhauser <jens.steinhauser@gmail.com> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as publish...
robacklin/sigrok
sigrok-meter/mainwindow.py
Python
gpl-3.0
5,394
[ "VisIt" ]
57070897380c277046710d3201a94154509622bfc5d743d9ff98aafaf181ddb3
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE import collections import traceback from astroid import nodes class ASTWalker: def __init__(self, linter): # callbacks per node types self.nbstatement...
PyCQA/pylint
pylint/utils/ast_walker.py
Python
gpl-2.0
3,250
[ "VisIt" ]
f2cea7044d8c01175861db3b992f314b74f99b2933682ac6512e4db14fcca58b
# -*- encoding: utf-8 -*- from django import forms from models import * class UserForm(forms.ModelForm): class Meta: model = User fields = ('username','phone_one','phone_two','contact_phone_one','contact_phone_two','blood_type','about_me') class FileForm(forms.ModelForm): class Meta: m...
flipjack/misrutas
project/app/forms.py
Python
mit
7,162
[ "CASINO" ]
6021eecf32b827ae930e8daa74728dfa1acf66a12738916b36f00aaefb512f17
# -*- coding: UTF-8 -*- """ Compute NMR observables from MD trajectories The usage of MPI is optional. The MPI parallelized batch function is only defined if mpi4py is installed. """ from __future__ import print_function, division import sys, os, time, string import mdtraj as md import numpy as np import zipfile, bz...
schilli/MOPS
MOPS/MOPS.py
Python
gpl-3.0
21,387
[ "MDTraj" ]
0fc63131874a1bae2e4b06f42cc35d68e670a0ad12ac8011910e2d0123f57855
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. from monty.json import MSONable import numpy as np from scipy.ndimage.filters import gaussian_filter1d from pymatgen.util.coord import get_linear_interpolated_value """ This module defines classes to represen...
montoyjh/pymatgen
pymatgen/core/spectrum.py
Python
mit
6,760
[ "Gaussian", "pymatgen" ]
bf5380330a5e1e3e8315ae498d83ce9b95529b8d94b53225a87b5792ae14e8d4
import os import sys import vtkAll as vtk from ddapp import botpy import math import time import types import functools import numpy as np from ddapp import transformUtils from ddapp import lcmUtils from ddapp.timercallback import TimerCallback from ddapp.asynctaskqueue import AsyncTaskQueue from ddapp import objectmo...
RussTedrake/director
src/python/ddapp/bihandeddemo.py
Python
bsd-3-clause
26,318
[ "VTK" ]
0fa245a6438a1c4c4e7912acce59318027323e7cadd441c2f22f8c974c5c61a6
#pylint: disable=missing-docstring #################################################################################################### # DO NOT MODIFY THIS HEADER # # MOOSE - Multiphysics Object Oriented Simulation Environment ...
Chuban/moose
python/MooseDocs/common/Builder.py
Python
lgpl-2.1
6,497
[ "MOOSE" ]
b1f99481fd0f194cc643f814aedcb9bbfe512ee26815ab47e885e0267fe397c1
from h2o.estimators.xgboost import * from tests import pyunit_utils def xgboost_milsongs_gaussian_medium(): assert H2OXGBoostEstimator.available() # Import big dataset to ensure run across multiple nodes training_frame = h2o.import_file(pyunit_utils.locate("bigdata/laptop/milsongs/milsongs-train.csv.gz")...
h2oai/h2o-dev
h2o-py/tests/testdir_algos/xgboost/pyunit_milsongs_gaussian_medium.py
Python
apache-2.0
1,568
[ "Gaussian" ]
91d89f217d13d6474347625c1bf281387a59ad978c5112522dbd18617d25986b
__author__ = 'olga' import unittest from gscripts.mapping.repeat_align import RepeatAlign import tests import os import shutil import sys class Test(unittest.TestCase): out_dir = 'test_output' def setUp(self): os.mkdir(self.out_dir) def tearDown(self): shutil.rmtree(self.out_dir) d...
YeoLab/gscripts
tests/test_repeat_align.py
Python
mit
3,242
[ "Bowtie" ]
22742566e32e127a1e112f19e3e35e540865ce81fefa3a97b096ff3e9d9239b9
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
wagavulin/arrow
python/pyarrow/parquet.py
Python
apache-2.0
41,154
[ "VisIt" ]
acc456e85db4d5fa32cf2bc957eb784c44d95a413f465cb5bcb072aea963bd51
# Copyright 2009 by Osvaldo Zagordi. All rights reserved. # Revisions copyright 2010 by Peter Cock. # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. """Command line wrapper for the short read aligner ...
poojavade/Genomics_Docker
Dockerfiles/gedlab-khmer-filter-abund/pymodules/python2.7/lib/python/Bio/Sequencing/Applications/_Novoalign.py
Python
apache-2.0
8,377
[ "Biopython" ]
6b2af4e617965ba6753fcbcff2afe9ab43426ba9600c8109f9c05ed1436c8323
#!/usr/bin/python #import timeit #start = timeit.default_timer() import os cwd=os.getcwd() cwd = cwd + '/' #no_lig_file=open(cwd+'no_ligand',"r") #data=[] #with no_lig_file as ins: # ins = [line.rstrip('\n') for line in ins] # for line in ins: # data.append(line) #no_lig=int(data[0]) #print no_lig os.system("python sb...
S-John-S/MAT
pymol_script_run.py
Python
mit
822
[ "PyMOL" ]
5fe33cc47206c0a6dba28a883c29ab722c04fd414822a1341e488a3a870df8af
# Copyright 2014 SolidBuilds.com. All rights reserved # # Authors: Ling Thio <ling.thio@gmail.com> from __future__ import print_function # Use print() instead of print from flask import url_for def test_page_urls(client): # Visit home page response = client.get(url_for('home_page')) assert b'<h1>Home pa...
OSPK/vis-tool
tests/test_page_urls.py
Python
bsd-2-clause
1,713
[ "VisIt" ]
46672c8f0479a3ba241b6bf6652dfb1f20b2f9869a4e98991633266a9ffad807