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
Testopus = "./core/octopus/layouts/octopusLayout.json"
TheGentlemanOctopus/thegentlemanoctopus
octopus_code/core/tests/utils.py
Python
gpl-3.0
54
[ "Octopus" ]
16813871987f3526968b68760de26564be10bf564895f0c0e2f7e96c3bc57e3d
# import necessary python packages import numpy as np import pandas as pd import datetime import os from scipy.ndimage.filters import maximum_filter from scipy.ndimage.morphology import generate_binary_structure, binary_erosion from collections import Counter from matplotlib import pyplot as plt from pymongo import Mo...
willettk/rgz-analysis
python/rgz.py
Python
mit
28,157
[ "Galaxy", "Gaussian" ]
82e029fb514a2ad85f2f0d8d55ed0148a244b2e64d0eb3a778b14d0456852364
#!/usr/bin/env python ## Copyright (C) 2011-2012, 2014 The PISM Authors ## script to generate figure: results from SeaRISE experiments ## usage: if UAFX_G_D3_C?_??.nc are result NetCDF files then do ## $ slr_show.py -m UAFX # try different netCDF modules try: from netCDF4 import Dataset as CDF except: pri...
talbrecht/pism_pik06
util/slr_show.py
Python
gpl-3.0
3,713
[ "NetCDF" ]
924e6b2c9db2d617cbf0c28e8b267bd34694a5687b22948192de3550ae1d9f78
# Copyright 2015 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...
alistairlow/tensorflow
tensorflow/python/keras/_impl/keras/layers/noise.py
Python
apache-2.0
5,871
[ "Gaussian" ]
93a6319c4203f92ab9e53a8974ee152eab2681f553a10ccfe3bbdadbe79b72a8
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-today OpenERP SA (<http://www.openerp.com>) # # This program is free software: you can redistribute it and/or modify # it under the terms o...
chjw8016/GreenOdoo7-haibao
openerp/addons/project/project.py
Python
mit
74,113
[ "VisIt" ]
664fa61a0fe787aa69284274d449d231dcc72dd01d19b5e10065119f8b12930b
# -*- coding: utf-8 -*- """ Created on Thu Jul 14 14:05:09 2016 @author: cjs14 functions based on nearest neighbour calculations """ import math import pandas as pd import numpy as np from scipy.spatial import cKDTree from collections import Counter from IPython.core.display import clear_output import matplotlib.pat...
chrisjsewell/ipymd
ipymd/atom_analysis/nearest_neighbour.py
Python
gpl-3.0
24,578
[ "CRYSTAL", "OVITO" ]
304acd63687aa6b197f1601885726b7b8f4f2ea139f244cc51eedbee9f473654
# Copyright (c) 2012-2014, GPy authors (see AUTHORS.txt). # Licensed under the BSD 3-clause license (see LICENSE.txt) """ Gaussian Processes regression examples """ MPL_AVAILABLE = True try: import matplotlib.pyplot as plt except ImportError: MPL_AVAILABLE = False import numpy as np import GPy def olympic_m...
SheffieldML/GPy
GPy/examples/regression.py
Python
bsd-3-clause
24,334
[ "Gaussian" ]
dd576bc35c83b53dd4d49812b5252fbf78e4022c264ca7efd9941544eb89f893
from cellprofiler.gui.help import USING_METADATA_HELP_REF, USING_METADATA_GROUPING_HELP_REF, LOADING_IMAGE_SEQ_HELP_REF TM_OVERLAP = 'Overlap' TM_DISTANCE = 'Distance' TM_MEASUREMENTS = 'Measurements' TM_LAP = "LAP" TM_ALL = [TM_OVERLAP, TM_DISTANCE, TM_MEASUREMENTS,TM_LAP] LT_NONE = 0 LT_PHASE_1 = 1 LT_SPLIT = 2 LT_...
LeeKamentsky/CellProfiler
cellprofiler/modules/trackobjects.py
Python
gpl-2.0
145,080
[ "Gaussian" ]
adf441f00e52c63777acb655e40ba763e344741ffe2d38921bb3f6a327fa2bd4
""" Acceptance Tests for Course Information """ from common.test.acceptance.pages.studio.course_info import CourseUpdatesPage from common.test.acceptance.tests.studio.base_studio_test import StudioCourseTest from ...pages.studio.auto_auth import AutoAuthPage from ...pages.studio.index import DashboardPage class User...
TheMOOCAgency/edx-platform
common/test/acceptance/tests/studio/test_studio_course_info.py
Python
agpl-3.0
6,771
[ "VisIt" ]
4b1b5bd062f4b9dd18dc779e5846669a89a9bc08d37b68a85e3e069066d10ba4
import os # remove any visible GPU, force tensorflow to run only on CPU os.environ['CUDA_VISIBLE_DEVICES'] = "" import tensorflow as tf from multiprocessing import cpu_count from six.moves import cPickle from numbers import Number from collections import defaultdict, OrderedDict from .visualization import * _path = ...
trungnt13/BAY2-uef17
data/__init__.py
Python
gpl-3.0
2,750
[ "Galaxy" ]
8c6e75085ab2921a72786b7d585a2e30b27f48c523c839be77d7b23ae8d6372f
# -*- coding: utf-8 -*- from collections import namedtuple Grant = namedtuple('Grant', 'url, grantee, location, title, type, total_support, ' 'year, description, break_down, urls') GRANTS = [ Grant( u'dream-yard', u'DreamYard Project', u'United States', ...
glogiotatidis/bedrock
bedrock/grants/grants_db.py
Python
mpl-2.0
39,061
[ "ORCA" ]
4f23c622e5ec5c7b8a7afa3176da1c16385a946b13ee18b2778273d72762d0a8
#!/usr/bin/env python from optparse import OptionParser, OptionGroup import re import tempfile from bs_align import output from bs_align.bs_pair_end import * from bs_align.bs_single_end import * from bs_align.bs_rrbs import * import os #import re #from bs_utils.utils import * if __name__ == '__main__': parser =...
BioInfoTools/BSVF
bin/BSseeker2/bs_seeker2-align.py
Python
lgpl-3.0
22,609
[ "Bowtie" ]
b63351d00892fd69582836c51a21330f1155f069b5dde1a17ceef3475952bdbf
# -*- coding: utf-8 -*- # Copyright 2012 splinter authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. import time class CookiesTest: def test_create_and_access_a_cookie(self): """Should be able to create and access a cookie""...
cobrateam/splinter
tests/cookies.py
Python
bsd-3-clause
3,771
[ "VisIt" ]
258664378e01a1b346e03c721e75a37761b3592a8642e60108dc4b2098e9817d
# -*- coding: iso-8859-1 -*- # ----------------------------------------------------------------------------- # sphinxext.py - Kaa specific extensions for Sphinx # ----------------------------------------------------------------------------- # Copyright 2009-2012 Dirk Meyer, Jason Tackaberry # # Please see the file AUTH...
freevo/kaa-base
src/distribution/sphinxext.py
Python
lgpl-2.1
20,688
[ "VisIt" ]
a314d42ab4223ab3496434ae8197baeb1b02fcbc57a89bd737fc3426fe6e2a1c
import numpy as np from scipy import ndimage as ndi from scipy import stats from ..util import img_as_float, pad from ..feature import peak_local_max from ..feature.util import _prepare_grayscale_input_2D from ..feature.corner_cy import _corner_fast from ._hessian_det_appx import _hessian_matrix_det from ..transform i...
jwiggins/scikit-image
skimage/feature/corner.py
Python
bsd-3-clause
27,165
[ "Gaussian" ]
2f98dff357d7d2eb15bb607829cfa1a857ad5103fba3596e8eed4c35959d13c4
import argparse from rdkit import Chem from rdkit.Chem.rdmolfiles import SmilesWriter parser = argparse.ArgumentParser() parser.add_argument('inputfile', help="sdf filename for convert to smiles") args = parser.parse_args() sdf = Chem.SDMolSupplier( args.inputfile ) writer = SmilesWriter("converted.smi") for mol in s...
ptosco/rdkit
Contrib/Fastcluster/testdata/sdf2smi.py
Python
bsd-3-clause
364
[ "RDKit" ]
b9ab22ecd834e679fbdf9b39df67fb74407abab62b9eca250982cce068c7e6d9
#!/usr/bin/env python ## from wrfpy.config import config import csv import os import astral from netCDF4 import Dataset from netCDF4 import date2num import numpy as np import bisect from datetime import datetime import glob from pathos.multiprocessing import ProcessPool as Pool class readObsTemperature(config): ...
rvanharen/wrfpy
wrfpy/readObsTemperature.py
Python
apache-2.0
6,814
[ "NetCDF" ]
66bf4060b938a9c896b91ccdbe3478c163c1c524c1abc1017b30a3976b0e539b
#!/usr/bin/env python3 # Copyright (c) 2015-2018 by the parties listed in the AUTHORS file. # All rights reserved. Use of this source code is governed by # a BSD-style license that can be found in the LICENSE file. import copy from datetime import datetime import os import pickle import re import sys import tracebac...
tskisner/pytoast
pipelines/toast_ground_sim.py
Python
bsd-2-clause
59,891
[ "Gaussian" ]
c35b95d58cc03a8cc3bc330691e52345c82337c615479dae36f271999685d7e7
#!/usr/bin/env python # Script to convert Tinker PDB atom namings to Amber # Note this won't change coordinates/atom ordering. To # get atom ordering consistent with an Amber prmtop, the # resulting PDB should be read into Leap & re-saved. # Usage: tinker_pdb_to_amber.py input_pdb.pdb output_pdb.pdb import mdtraj ...
rtb1c13/scripts
General/tinker_pdb_to_amber.py
Python
gpl-2.0
1,237
[ "Amber", "MDTraj", "TINKER" ]
8b07ebf39d7f9ca48bdb2de7ff2fcb75e09675fd12b9b6ae160d9d039b339f5d
"""This module defines an ASE interface to ABINIT. http://www.abinit.org/ """ import os from glob import glob from os.path import join, isfile, islink import numpy as np from ase.data import atomic_numbers from ase.units import Bohr, Hartree, fs from ase.data import chemical_symbols from ase.io.abinit import read_a...
suttond/MODOI
ase/calculators/abinit.py
Python
lgpl-3.0
24,084
[ "ABINIT", "ASE", "DIRAC", "Gaussian" ]
67d622c2a4b809e37ac614b268f001d7ee57fb2ee6a4707497948906b2253297
"""K-means clustering""" # Authors: Gael Varoquaux <gael.varoquaux@normalesup.org> # Thomas Rueckstiess <ruecksti@in.tum.de> # James Bergstra <james.bergstra@umontreal.ca> # Jan Schlueter <scikit-learn@jan-schlueter.de> # Nelle Varoquaux # Peter Prettenhofer <peter.prettenh...
mrshu/scikit-learn
sklearn/cluster/k_means_.py
Python
bsd-3-clause
45,375
[ "Gaussian" ]
2469bb4b75fa145797071ee28c3ab90b076b4c9d1956d6253c5edcfb934839d9
# $HeadURL$ """ Encoding and decoding for dirac, Ids: i -> int I -> long f -> float b -> bool s -> string z -> datetime n -> none l -> list t -> tuple d -> dictionary """ __RCSID__ = "$Id$" import types import datetime import os import inspect import traceback from pprint import pprint # Setting this envi...
andresailer/DIRAC
Core/Utilities/DEncode.py
Python
gpl-3.0
9,819
[ "DIRAC" ]
29bedb2bc060ee65787fb7160f197a234f568d4acc4cb1bc164a9830a8b3273b
#!/usr/bin/env python # Script which test the different filtering thresholds per barcode # Returns per barcode the detected species which match the criteria import sys import os ### Get the OTU abundance from the file (This is per barcode) def GetOTUabundance(statFile, pOTU): # Local variables f = open(statFile) ...
RIKILT/CITESspeciesDetect
CheckCriteriaBlastSingleSample.py
Python
bsd-3-clause
5,204
[ "BLAST" ]
4c6ddc239dc6d7cdc7ff29cd4c6fd7d2deeb5917c82aed06168607fafcc5cec8
#!/usr/bin/env python2.5 # # Copyright 2009 the Melange authors. # # 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 applic...
SRabbelier/Melange
app/soc/modules/gci/views/models/program.py
Python
apache-2.0
40,076
[ "VisIt" ]
536b7507ef66a31659e56d7b9f468308c8647f0c5ff3d75d8cdece9001018eab
#!/usr/bin/env python # # $File: importMS.py $ # # This file is part of simuPOP, a forward-time population genetics # simulation environment. Please visit http://simupop.sourceforge.net # for details. # # Copyright (C) 2004 - 2010 Bo Peng (bpeng@mdanderson.org) # # This program is free software: you can redistribute i...
BoPeng/simuPOP
docs/importMS.py
Python
gpl-2.0
2,127
[ "VisIt" ]
86fd23d9970a4741cf9fda8f7e7c29feb1d1572687c8bdaea7a97a7ecb1c8e74
#!/usr/bin/env python # Author: Andrew Jewett (jewett.aij at g mail) # License: MIT License (See LICENSE.md) # Copyright (c) 2013 """ Reorder the atoms in the Angles section of a data file to make sure that atoms have a "canonical order" (for example the first atom has a lower id than the last atom, for ang...
jewettaij/moltemplate
moltemplate/nbody_reorder_atoms.py
Python
mit
4,360
[ "LAMMPS" ]
d2c772e45cf701717312a6202eef1657762f0f3013a61c65d501f8670f97bfb0
from wtforms import validators, FormField, SelectField from wtforms_alchemy import ModelForm, ModelFieldList from models import ShoppingItem, Visit, ShoppingCategory class CategoryForm(ModelForm): class Meta: model = ShoppingCategory include = ['id'] '''field_args = { 'id': { ...
jlutz777/FreeStore
forms/checkout.py
Python
mit
1,609
[ "VisIt" ]
bd703ee3034809aecd5fd9e7e5e055388cc120e3678f27bdde2c7b5287349d3f
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2006 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...
pmghalvorsen/gramps_branch
gramps/plugins/gramplet/soundgen.py
Python
gpl-2.0
3,732
[ "Brian" ]
ab7ed8e3807a4acd5a54ccd408eab755e2384fab8772282a5044070eef2d5b3d
import numpy as np import theano import theano.tensor as T import unittest import tempfile from numpy.testing import assert_equal, assert_array_equal, assert_array_almost_equal from nose.tools import assert_true from smartlearner import views, stopping_criteria, Trainer, tasks from smartlearner.direction_modifiers im...
ASalvail/smartlearner
tests/direction_modifiers/test_gradient_noise.py
Python
bsd-3-clause
6,530
[ "Gaussian" ]
9530be10bb7fd2c8a93f460c4dbfc0c1f28234bdd371ea3b1819b235a86fcce6
# -*- coding: utf-8 -*- """ pyClanSphere.utils.forms ~~~~~~~~~~~~~~~~~~~~~~~~ This module implements a sophisticated form validation and rendering system that is based on diva with concepts from django newforms and wtforms incorporated. It can validate nested structures and works in both ways....
jokey2k/pyClanSphere
pyClanSphere/utils/forms.py
Python
bsd-3-clause
65,405
[ "VisIt" ]
94a8eac6247326c3b8ef314386c8b190386cbf2a0556fab51b57ca47f946395e
# -*- coding: utf-8 -*- # PEP8:OK, LINT:OK, PY3:OK ############################################################################# ## This file may be used under the terms of the GNU General Public ## License version 2.0 or 3.0 as published by the Free Software Foundation ## and appearing in the file LICENSE.GPL includ...
juancarlospaco/vagrant
main.py
Python
gpl-3.0
23,005
[ "VisIt" ]
50707446f6ad223fca15e2a38386494efc65daa574c106be046ae9bba9f473ff
################################################################################ # Copyright (C) 2013-2014 Jaakko Luttinen # # This file is licensed under the MIT License. ################################################################################ import numpy as np import functools from bayespy.utils import mi...
bayespy/bayespy
bayespy/inference/vmp/nodes/node.py
Python
mit
47,028
[ "Gaussian" ]
23ecd969aeeb3ea95896f218f4adc69034a217238d070247e0ae9ff10e0efc55
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ Utilities for statistical operations """ from __future__ import absolute_import, division, print_function import numpy as np import scipy.stats as stats def norm(x, mu, sigma=1.0): """ Scipy norm function """ return stats.norm(loc=mu, scale=s...
kadrlica/dmsky
dmsky/utils/stat_funcs.py
Python
mit
2,830
[ "Gaussian" ]
329c0198001981ddd00a1685ac037cdf76bb296fa8680ffb605ebaeb92b2ca7c
#!/usr/bin/python import os, re import plmd class Setup (plmd.PLMD_module): def __init__(self, config): # Load the config file self.config = plmd.PLMD_Config( config ) # Confirm with user self.printStage("Step 1: Starting up PLMD. Submission file parameters:") ...
MathiasGruber/plmd
src/plmd/caseSubmit.py
Python
gpl-2.0
17,406
[ "ADF", "Amber" ]
b3205fb87d143cf5777d394babcc38c74c2ff71ebb289f306fd83e80314aa1a5
#!/usr/bin/env python """ Ben Payne ben.is.located@gmail.com Yoga graph Use: This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/. """ import networkx as nx # format for directed graph...
bhpayne/yoga_graph
src/generate_dot.py
Python
gpl-2.0
716
[ "VisIt" ]
a86239b4a29151e7139a090f3779d83518b95fc788334d36bf8f7e4f479144b0
"""Test template support in VTK-Python VTK-python decides which template specializations to wrap according to which ones are used in typedefs and which ones appear as superclasses of other classes. In addition, the wrappers are hard-coded to wrap the vtkDenseArray and vtkSparseArray classes over a broad range of types...
daviddoria/PointGraphsPhase1
Common/Testing/Python/TestTemplates.py
Python
bsd-3-clause
4,339
[ "VTK" ]
8eb473105aabdade8edb6288856936af230ac9e06b392565286e178d5d35a7fb
from paraview.simple import * import tonic from tonic import paraview as pv dataset_destination_path = '/tmp/spherical' # Initial ParaView scene setup Cone() Show() view = Render() # Choose data location dh = tonic.DataHandler(dataset_destination_path) camera = pv.create_spherical_camera(view, dh, range(0, 360, 30)...
Kitware/tonic-data-generator
scripts/paraview/samples/camera-spherical.py
Python
bsd-3-clause
603
[ "ParaView" ]
049e9c1cb5c54f71fb73bd7b0f34402ad2815b5567d9ae240b41c0e42cb36a82
import os import sys from setuptools import setup, find_packages _here = os.path.dirname(__file__) f = open(os.path.join(_here, 'README.md'), 'r') README = f.read() f.close() install_requires = ['lxml'] if sys.version_info[0] == 2: # python2 does not have mock in the standard lib install_requires.append('moc...
kiarasky/mp.importer
setup.py
Python
mit
1,078
[ "Brian" ]
152a563d826631d9dcb63465daf3e18060859779d7672074021fc7cc4fb1631f
#!/galaxy/home/mgehrin/hiclib/bin/python """ Application to convert AXT file to FASTA file. Reads an AXT file from standard input and writes a FASTA file to standard out. usage: %prog < axt_file > fasta_file """ __author__ = "Bob Harris (rsharris@bx.psu.edu)" import sys import bx.align.axt def usage(s=None): mes...
bxlab/HiFive_Paper
Scripts/HiCLib/bx-python-0.7.1/build/scripts-2.7/axt_to_fasta.py
Python
bsd-3-clause
1,174
[ "Galaxy" ]
92bece6951854fc2460bb1dd028e10c1c062f849d11a16600f0496ff48e6e52f
""" media (:mod:`skrf.media.media`) ======================================== Media class. .. autosummary:: :toctree: generated/ Media DefinedGammaZ0 """ from numbers import Number import warnings import numpy as npy from numpy import real, imag, ones, any, gradient, array from scipy import stats from ...
temmeand/scikit-rf
skrf/media/media.py
Python
bsd-3-clause
42,952
[ "Gaussian" ]
7426433041e8cd53d47966c274ec69f2eba74aab04adb662b913d700a94a8596
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2015 by Gaik Tamazian # gaik (dot) tamazian (at) gmail (dot) com import logging import subprocess from itertools import chain logging.basicConfig() logger = logging.getLogger(__name__) class MakeBlastDb(object): """ The class implements a wrappe...
gtamazian/Chromosomer
chromosomer/wrapper/blast.py
Python
mit
2,727
[ "BLAST" ]
a01e99cf06b7138e671fa731fe7a63e38f8c55382ed3e9b7b9cb2bcd2239a7e7
#!/usr/bin/env python #TOR manager module developed by Marios Kourtesis <name.surname@gmail.com> import commands import socket import time from multiprocessing import Process from framework.dependency_management.dependency_resolver import BaseComponent from framework.lib.general import cprint class TOR_manager(Base...
DePierre/owtf
framework/http/proxy/tor_manager.py
Python
bsd-3-clause
5,312
[ "VisIt" ]
382aa9c4633ed9c8a8c84dad06b70afc7faa9acd85b68001108d6ee2358cc223
#!/usr/bin/env python # -*- coding: utf-8 -*- # Example of "structured points" dataset # vtkStructuredPoints is a child class of vtkImageData import vtk dx = 0.2 grid = vtk.vtkStructuredPoints() #grid = vtk.vtkImageData() grid.SetOrigin(0.1, 0.1, 0.1) # default values grid.SetSpacing(dx, dx, dx) grid.SetDimensions...
rboman/progs
classes/sph/sandbox/strpoints.py
Python
apache-2.0
1,465
[ "VTK" ]
e6323577734caf2f01ba47f0ea5ad7910289734fe9e741056debbfc4a827c56a
import os import scipy.stats import numpy import matplotlib.pylab as pl import pandas as pd # program path on this machine #=================================================================== blastneuron_DIR = "/home/xiaoxiaol/work/src/blastneuron" PRUNE_SHORT_BRANCH = blastneuron_DIR + "/bin/prune_short_branch" PRE_...
XiaoxiaoLiu/morphology_analysis
stats_analysis/process_lims_data.py
Python
gpl-3.0
4,053
[ "NEURON" ]
419107a68dcfaa0efe7dee05662f8f3edd9fe1a3b75ed60b7fee9dcdf778bace
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This module implements classes (called Fitters) which combine optimization algorithms (typically from `scipy.optimize`) with statistic functions to perform fitting. Fitters are implemented as callable classes. In addition to the data to fit, the ``__c...
DougBurke/astropy
astropy/modeling/fitting.py
Python
bsd-3-clause
51,488
[ "Gaussian" ]
a9020ca29ee094296669f63896374d63eb548bff9f7007c4fbe4dbcad7fd4fd0
#!/usr/bin/env python # generate Python Manifest for the OpenEmbedded build system # (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de> # (C) 2007 Jeremy Laine # licensed under MIT, see COPYING.MIT import os import sys import time VERSION = "2.6.6" __author__ = "Michael 'Mickey' Lauer <mlauer@vanille-me...
xifengchuo/openembedded
contrib/python/generate-manifest-2.6.py
Python
mit
14,802
[ "VisIt" ]
0ff9b5dff428e7d56865d823904dd2ea745202112b548919b47f1e052bfc08cb
#!/usr/bin/env python __copyright__ = "Copyright 2015, http://radical.rutgers.edu" __license__ = "MIT" import sys import radical.pilot as rp import radical.utils as ru dh = ru.DebugHelper () CNT = 0 RUNTIME = 10 SLEEP = 1 CORES = 16 UNITS = 1 SCHED = rp.SCHED_DIRECT_SUBMISSION ...
JensTimmerman/radical.pilot
tests/issue_572.py
Python
mit
5,093
[ "Gromacs" ]
1fb757cbc30a63ff101ac8f4803770e1a8f550dac5d01122115808fd206ed71a
# -*- coding: utf-8 -*- """ Visualization tools used without Keras. Makes performance graphs for training and validating. """ import numpy as np import matplotlib.pyplot as plt from matplotlib.backends.backend_pdf import PdfPages class TrainValPlotter: """ Class for plotting train/val curves. Instructio...
ViaFerrata/DL_pipeline_TauAppearance
orcanet/utilities/visualization.py
Python
agpl-3.0
13,254
[ "Gaussian" ]
7ced705645c8631a79491b20ce1b80428c8ba2c3ec1ff3933dd8bda19178aca7
__author__ = 'chris hamm' #NetworkClient_r9D #Created: 1/10/2015 #Added functions to parse chunk objects (Has now been decided that these will not be needed) #Added a command logging system that records what commands has been received and sent to server/controller. These will be displayed after the client shuts down a...
COCS4950G7/COSC4950
Source/Rainbow/NetworkClient.py
Python
gpl-3.0
40,561
[ "ADF" ]
cb538d13c8adaa4cbd0b429d1663a11dd631429e94caf2421c42042a34cf2100
""" Bistability with NaP Reference: Wang X-J (2008) Attractor network models In Encyclopedia of Neuroscience, volume 1, pp. 667-679 Edited by Squire LR. Oxford: Academic Press. @author: Guangyu Robert Yang @ 2017/4 """ from __future__ import division from collections import OrderedDict import random as pyrand # Impo...
xjwanglab/book
BistabilityNaP/BistabilityNaP.py
Python
mit
6,185
[ "Brian", "NEURON" ]
f5a3da6d9cb30d2a2aab6509ae659310ed06b869742c645a1661559d9df33c5c
import subprocess import MySQLdb import os import shutil import json import uuid from Bio import SeqIO from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord from Bio.Alphabet import generic_protein from biokbase.workspace.client import Workspace as workspaceService from GenomeAnnotationAPI.GenomeAnnotationAPIClie...
rsutormin/PangenomeOrthomcl
lib/PangenomeOrthomcl/PangenomeOrthomclBuilder.py
Python
mit
18,725
[ "BLAST" ]
24fdaab50b4a577c22ec715cb2fdfe3de52a045a2e827d3cfeabaaa35c6802fb
# -*- coding: utf-8 -*- # # Copyright (c) 2016, the cclib development team # # This file is part of cclib (http://cclib.github.io) and is distributed under # the terms of the BSD 3-Clause License. """A library for parsing and interpreting results from computational chemistry packages. The goals of cclib are centered ...
Schamnad/cclib
src/cclib/__init__.py
Python
bsd-3-clause
1,379
[ "ADF", "Firefly", "GAMESS", "Gaussian", "Jaguar", "MOPAC", "Molpro", "NWChem", "ORCA", "Q-Chem", "cclib" ]
ca72773fe6abd10ea9455a4e2364a8867320fd0af0b227315d486adf88f396b7
import wx import wx.grid import wx.lib.scrolledpanel import os import os.path import time import platform import multiprocessing import webbrowser import datetime from threading import Thread from tools import * class KICPanel(wx.lib.scrolledpanel.ScrolledPanel): def __init__(self, parent, W, H): #if (plat...
schenc3/InteractiveROSETTA
InteractiveROSETTA/scripts/kic.py
Python
gpl-2.0
83,223
[ "PyMOL" ]
3509d990e6c370dab85f8eb0655cf0efeee962c4366607ede4153fb6ede11ba2
# coding: utf8 { '': '', ' Quotas: %(quotas)s x%(quota_amount).2f': ' Quotas: %(quotas)s x%(quota_amount).2f', ' Transaction number: %s': ' Transaction number: %s', '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression lik...
reingart/gestionlibre
languages/es.py
Python
agpl-3.0
34,315
[ "VisIt" ]
1821440997573378706936914bea9cdc933593597e1b19d4216e92e81233911f
""" depth_connectivity.py --- Assign bathymetry to a grid based on cell-to-cell connectivity derived from a high-resolution DEM. Adapted from Holleman and Stacey, JPO, 2014. Primary entry point: edge_depths=edge_connection_depth(g,dem,edge_mask=None,centers='lowest') see end of file """ # Copied from .../research...
rustychris/stompy
stompy/grid/depth_connectivity.py
Python
mit
15,086
[ "VisIt" ]
ec9e3782da6578708fb4acb8ccfa3a73aea12690a52dd5713854c4eaaae8b48d
""" EvMenu This implements a full menu system for Evennia. It is considerably more flexible than the older contrib/menusystem.py and also uses menu plugin modules. To start the menu, just import the EvMenu class from this module, ```python from evennia.utils.evmenu import EvMenu EvMenu(caller, menu_module_...
TheTypoMaster/evennia
evennia/utils/evmenu.py
Python
bsd-3-clause
26,765
[ "VisIt" ]
e397bed5456b739ed3f3904297534afc9081bb86f32b56b9c22ae216e1d134cf
#!/usr/bin/env python """ Copyright (c) 2006-2014 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ import sys PYVERSION = sys.version.split()[0] if PYVERSION >= "3" or PYVERSION < "2.6": exit("[CRITICAL] incompatible Python version detected ('%s'). For successfully ru...
pwnieexpress/raspberry_pwn
src/pentest/sqlmap/lib/utils/versioncheck.py
Python
gpl-3.0
820
[ "VisIt" ]
850dae71ff51fb6228775f86c771aa77d0159bd9f054fa1a9230be82b7b98471
""" Definition for RHEAS Datasets decorators. .. module:: datasets.decorators :synopsis: Definition of the Datasets decorators .. moduleauthor:: Kostas Andreadis <kandread@jpl.nasa.gov> """ from functools import wraps import tempfile import shutil import urllib from datetime import datetime from ftplib import FT...
nasa/RHEAS
src/datasets/decorators.py
Python
mit
6,705
[ "NetCDF" ]
1fc7f2a130687ce6696a831499aaff13d3e513004650e292f83e476e775a77b5
"""Module to read and write atoms in cif file format. See http://www.iucr.org/resources/cif/spec/version1.1/cifsyntax for a description of the file format. STAR extensions as save frames, global blocks, nested loops and multi-data values are not supported. """ import shlex import re import numpy as np from ase.par...
grhawk/ASE
tools/ase/io/cif.py
Python
gpl-2.0
12,115
[ "ASE", "CRYSTAL" ]
2187966d86399e9af99d5cb193b4fdde665a86d374cada6d0677d079a8392b1d
# -*-python-*- # # Copyright (C) 2006-2013 The ViewCVS Group. All Rights Reserved. # # By using this file, you agree to the terms and conditions set forth in # the LICENSE.html file which can be found at the top level of the ViewVC # distribution or at http://viewvc.org/license-1.html. # # For more information, visit h...
marcellodesales/svnedge-console
svn-server/lib/viewvc/vcauth/forbidden/__init__.py
Python
agpl-3.0
1,602
[ "VisIt" ]
e522032de63baf71e37601531b3338fb6ac55c1c827db53edb06a4740261c1a7
""" ========================================================= Gaussian Processes regression: basic introductory example ========================================================= A simple one-dimensional regression example computed in two different ways: 1. A noise-free case 2. A noisy case with known noise-level per ...
kashif/scikit-learn
examples/gaussian_process/plot_gpr_noisy_targets.py
Python
bsd-3-clause
3,680
[ "Gaussian" ]
e87c560a15586a1462cd9b785f76ff6f6b4221b68b240b18e1b97070a943c449
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Abinit Post Process Application author: Martin Alexandre last edited: May 2013 """ from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvasQT from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure im...
jmbeuken/abinit
scripts/post_processing/appa/utility/canvas.py
Python
gpl-3.0
5,606
[ "ABINIT" ]
6193ffd55ad44838a2618a98838e83cd3f66a368d2ac88d3545f593139dc88ab
# This module handles the skeleton descriptions stored in trajectory files. # # Written by Konrad Hinsen # last revision: 2001-4-19 # _undocumented = 1 import MMTK import MMTK.Environment import MMTK.ForceFields import string, types # # Atoms # class A: def __init__(self, name, index, type = None): self.name =...
fxia22/ASM_xf
PythonD/site_python/MMTK/Skeleton.py
Python
gpl-2.0
3,867
[ "CRYSTAL" ]
f681e8c74bb34da3b712bdf939bd3c60b32c5270284541d0fb095ff7c1bca4d9
''' This is a very simple example referenced in the beginner's tutorial: https://enigmampc.github.io/catalyst/beginner-tutorial.html Run this example, by executing the following from your terminal: catalyst run -f buy_btc_simple.py -x bitfinex --start 2016-1-1 --end 2017-9-30 -o buy_btc_simple_out.pickle If you ...
sovicak/AnonymniAnalytici
2018_02_15_cryptocurrencies_trading/algorithms/buy_btc_simple.py
Python
mit
1,343
[ "VisIt" ]
33df22bf01baf6b62f80e296b57d5d5b7b36de3c4a81e59680e70695c7a5d016
from __future__ import (absolute_import, division, print_function, unicode_literals) import calendar import ccdproc import collections import coloredlogs import datetime import glob import logging import math import numpy as np import os import pandas import random import re import scipy import...
simontorres/goodman
goodman_pipeline/core/core.py
Python
bsd-3-clause
181,354
[ "Gaussian" ]
7dab4f5050108cfe7ecfd9e2e8f6e1fd15c4b33ab917ce5464e41ea8a60a2eca
''' DIRAC Transformation DB Transformation database is used to collect and serve the necessary information in order to automate the task of job preparation for high level transformations. This class is typically used as a base class for more specific data processing databases ''' import re, time, thre...
sposs/DIRAC
TransformationSystem/DB/TransformationDB.py
Python
gpl-3.0
81,020
[ "DIRAC" ]
dc46d728126b505f1bdfae41fbd5c81450c215fc01b3d74ffbee869f2c1e551e
# Copyright (C) 2009-2014 CEA/DEN, EDF R&D # # 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 2.1 of the License, or (at your option) any later version. # # This library ...
FedoraScientific/salome-hexablock
doc/pyplots/process_vtk.py
Python
lgpl-2.1
1,650
[ "VTK" ]
e073f48c769a31bf52aa97b0ea7e234dc0b3ea8f9cd42051914c93ddfbc788ec
from __future__ import division import logging import optparse import os import shutil import subprocess import sys import tempfile from brocclib.assign import Assigner from brocclib.get_xml import NcbiEutils from brocclib.taxonomy_db import NcbiLocal, TAXONOMY_DB_FP from brocclib.parse import iter_fasta, read_blast ...
kylebittinger/brocc
brocclib/command.py
Python
gpl-3.0
6,648
[ "BLAST" ]
5634e7cca073e9adb98d2669e21b5aa96c4b129f130d1408c6b823409ec91a31
from collections import defaultdict import datetime import restkit.errors import time import numbers from django.utils.datastructures import SortedDict from corehq.apps.reports.standard.cases.basic import CaseListReport from corehq.apps.reports.standard.cases.data_sources import CaseDisplay from corehq.pillows.base im...
SEL-Columbia/commcare-hq
custom/_legacy/hsph/reports/field_management.py
Python
bsd-3-clause
24,096
[ "VisIt" ]
65822240ef3f4431197a58e0fc5e227cc457068932d80ff9d4e73def84c60e0c
# Copyright (C) 2003 CAMP # Please see the accompanying LICENSE file for further information. from math import pi import sys import numpy as np from numpy.fft import fftn, ifftn, fft2, ifft2 from gpaw.transformers import Transformer from gpaw.fd_operators import Laplace, LaplaceA, LaplaceB from gpaw import PoissonC...
qsnake/gpaw
gpaw/poisson.py
Python
gpl-3.0
21,264
[ "GPAW", "Gaussian" ]
289145c871f3817abdf8429a8eb037ae197510c451dd48c24c70f9964bf932ab
# Copyright: (c) 2013, James Cammarata <jcammarata@ansible.com> # Copyright: (c) 2018, Ansible Project # 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 import os.path import re import sh...
pgmillon/ansible
lib/ansible/cli/galaxy.py
Python
gpl-3.0
46,300
[ "Galaxy" ]
e7e5ecd13c99f309b68e4aa7541ddcd87e9f014b3792654520acbc289f43ca71
#encoding=utf-8 """ Courseware views functions """ import logging import urllib import json import cgi from collections import OrderedDict from datetime import datetime from django.utils import translation from django.utils.translation import ugettext as _ from django.utils.translation import ungettext from django.c...
xuxiao19910803/edx-platform
lms/djangoapps/courseware/views.py
Python
agpl-3.0
61,622
[ "VisIt" ]
9f9fc30fa5696f77d724c89e3003885d72c3099524cc366047ec31d9e5385832
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe import frappe.utils from frappe.utils import cstr, flt, getdate, comma_and from frappe import _ from frappe.model.mapper import get_map...
gangadharkadam/sher
erpnext/selling/doctype/sales_order/sales_order.py
Python
agpl-3.0
14,276
[ "VisIt" ]
d953842f2e4c013bef220a174b599de7793bd6353a26f640b7f9782c12117d5e
#IMPORTS import numpy as np import pyfits as pf import matplotlib.pyplot as plt from scipy.optimize import leastsq from scipy.optimize import curve_fit from scipy.optimize import fmin import os from calendar import timegm # This method uses images in 'focus_dir' to find the best focus for the Telescope # ...
scizen9/kpy
guider/sedmtools.py
Python
gpl-2.0
14,768
[ "Gaussian" ]
57a543985de19b27f2a898a920be105b3956852f9bdf921607359cb1eff1f896
# Version: 0.19 """The Versioneer - like a rocketeer, but for versions. The Versioneer ============== * like a rocketeer, but for versions! * https://github.com/python-versioneer/python-versioneer * Brian Warner * License: Public Domain * Compatible with: Python 3.6, 3.7, 3.8, 3.9 and pypy3 * [![Latest Version][pypi...
jreback/pandas
versioneer.py
Python
bsd-3-clause
70,095
[ "Brian" ]
79431ab39d9fcafb372b2803c73c83ab1f5b485632e4fdd1be660d1fd91413be
""" Defines the database models """ import json from datetime import datetime from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class Order(db.Model): """ORM object for the orders. Takes drink, message and optional time of order. order_id is automatically assigned. Running eval on the outpu...
Laspimon/transact
app/members.py
Python
mit
2,761
[ "ESPResSo" ]
80e9b2d56863c24184722ae492e7a97d5e6d56d7fa7274e67ec29f024c640b07
#!/usr/bin/env python """ Laplace equation with shifted periodic BCs. Display using:: ./postproc.py laplace_shifted_periodic.vtk --wireframe -b -d'u,plot_warp_scalar,rel_scaling=1' or use the --show option. """ from __future__ import absolute_import import sys sys.path.append('.') from argparse import ArgumentPars...
sfepy/sfepy
examples/diffusion/laplace_shifted_periodic.py
Python
bsd-3-clause
5,046
[ "VTK" ]
77d2093e3a600356a040fcc2ff357d3306c5d546fabecffcfb1ce8e63766253d
#! /usr/bin/env python # -*- coding: utf-8 -*- import logging import re import urllib.parse as urlparse import json import os import time import traceback from urllib.parse import urlencode from bs4 import BeautifulSoup from selenium.webdriver import DesiredCapabilities from selenium.webdriver import FirefoxProfile f...
CvvT/crawler_sqlmap
crawler/crawler.py
Python
apache-2.0
9,101
[ "VisIt" ]
a99d9df6c32246b2febbebef30376525f791552b26162d695f0ff23099b4433a
#pylint: disable=missing-docstring #* 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/...
nuclear-wizard/moose
python/chigger/filters/PlaneClipper.py
Python
lgpl-2.1
1,242
[ "MOOSE", "VTK" ]
ae1d05b673ed76733825c3f208022d380467eacbbe6511cd3798e953ed0dbc21
#!/usr/bin/python # # Created on Aug 25, 2016 # @author: Gaurav Rastogi (grastogi@avinetworks.com) # Eric Anderson (eanderson@avinetworks.com) # module_check: supported # Avi Version: 17.1.1 # # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the te...
e-gob/plataforma-kioscos-autoatencion
scripts/ansible-play/.venv/lib/python2.7/site-packages/ansible/modules/network/avi/avi_sslprofile.py
Python
bsd-3-clause
7,849
[ "VisIt" ]
1c8af7f35522c778f0275199f8b2a8340bf2ed98396e402cd8ee3904fc78af6d
# Unit tests for cache framework # Uses whatever cache backend is set in the test settings file. import copy import io import os import pickle import re import shutil import tempfile import threading import time import unittest import warnings from unittest import mock from django.conf import settings from django.core...
mattseymour/django
tests/cache/tests.py
Python
bsd-3-clause
91,717
[ "Brian" ]
7c712187b10a8cfd99ab65ea634d2b2c62897ef2d43b03972e95824d856341fb
from django.db import models from taggit.managers import TaggableManager ARTIFACT_TYPES = ( (0, 'Gold'), (1, 'Treasure'), (2, 'Weapon'), (3, 'Magic Weapon'), (4, 'Container'), (5, 'Light Source'), (6, 'Drinkable'), (7, 'Readable'), (8, 'Door/Gate'), (9, 'Edible'), (10, 'Boun...
kdechant/eamon
adventure/models.py
Python
mit
22,320
[ "BLAST" ]
dd0b680a06f69ec93057f1aad3a5315d79814a855c333aea828a19aced97e36d
# -*- coding: utf-8 -*- """ Acceptance tests for CMS Video Module. """ import os from mock import patch from nose.plugins.attrib import attr from unittest import skipIf from ...pages.studio.auto_auth import AutoAuthPage from ...pages.studio.overview import CourseOutlinePage from ...pages.studio.video.video import Vid...
JCBarahona/edX
common/test/acceptance/tests/video/test_studio_video_module.py
Python
agpl-3.0
11,750
[ "VisIt" ]
99333970e5ab6de9caff16e70caac8fe881a90024b56a7e27ad5f39312349db0
#----------------------------------------------------------------------------- # Copyright (c) 2010-2012 Brian Granger, Min Ragan-Kelley # # This file is part of pyzmq # # Distributed under the terms of the New BSD License. The full license is in # the file COPYING.BSD, distributed as part of this software. #-----...
ellisonbg/pyzmq
zmq/tests/test_ioloop.py
Python
lgpl-3.0
4,155
[ "Brian" ]
3092fb9fb552dac6dc2fe5095b5e5cd5b13a318c1005c81377b0c1362224753f
####################################################################################### # Python-code: Shiny Bubblebeam wrapper # Author: Adam L Borne # Contributers: Paul A Stewart, Brent Kuenzi ####################################################################################### # This program runs the R scrip...
bornea/APOSTL
shiny_bubble/APOSTL_Interactive_Analysis.py
Python
gpl-2.0
3,548
[ "Galaxy" ]
2fd4b273add241f1c700c3e55be4ce70c9e9e53b4ce00e24c83b666391a81042
# 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 use ...
SecurityCompass/libcloud
libcloud/security.py
Python
apache-2.0
2,959
[ "VisIt" ]
6870f5dd3dcc5a3a24e8a28a88cd6c2a89ded142c6a54cae5fc186843b8e4218
#!/usr/bin/env python # Copyright 2014-2018 The PySCF Developers. 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 # # U...
gkc1000/pyscf
pyscf/lib/test/test_misc.py
Python
apache-2.0
1,673
[ "PySCF" ]
3a4a33ae76ca011589426c9275a2932cd4b6db7cdac19ce66aa3c7a80fe69bb4
# Animation.py # Aaron Taylor # Moose Abumeeiz # # This is the class for all animations in the game, based on time # it will advance the frame when it is the correct time # from pygame import * from time import time as cTime class Animation: """Class to handle all animation timing""" def __init__(self, frames, in...
ExPHAT/binding-of-isaac
Animation.py
Python
mit
2,346
[ "MOOSE" ]
4131f6a5ca50dfb3127b987511bd6175bfc59f8a78d77388632d81af26b5035c
""" This tests only need the PilotAgentsDB, and connects directly to it Suggestion: for local testing, run this with:: python -m pytest -c ../pytest.ini -vv tests/Integration/WorkloadManagementSystem/Test_PilotAgentsDB.py """ # pylint: disable=wrong-import-position import DIRAC DIRAC.initialize() # Ini...
DIRACGrid/DIRAC
tests/Integration/WorkloadManagementSystem/Test_PilotAgentsDB.py
Python
gpl-3.0
6,648
[ "DIRAC" ]
96ca688247e38be699486bde1180090b8a36b550b9384b53a99c002fcb0ddb6c
""" Octave (and Matlab) code printer The `OctaveCodePrinter` converts SymPy expressions into Octave expressions. It uses a subset of the Octave language for Matlab compatibility. A complete code generator, which uses `octave_code` extensively, can be found in `sympy.utilities.codegen`. The `codegen` module can be us...
kaichogami/sympy
sympy/printing/octave.py
Python
bsd-3-clause
22,542
[ "DIRAC" ]
c6da626f7aeab8f8202069267f2d213abc896554e71d82568286806db16277f8
# -*- coding: utf-8 -*- # # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2003-2005 Donald N. Allingham # Copyright (C) 2008 Stefan Siegel # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2021 Mirko Leonhaeuser # # This program is free software; you can redistribute it and/or ...
Nick-Hall/gramps
gramps/plugins/rel/rel_de.py
Python
gpl-2.0
11,357
[ "Brian" ]
fc9e40daf086f2fa41b190dfd5b3cd1401f2621ab6b3fec7eedd560263676561
"""Courses API Version 1.0. This API client was generated using a template. Make sure this code is valid before using it. """ import logging from datetime import date, datetime from .base import BaseCanvasAPI from .base import BaseModel class CoursesAPI(BaseCanvasAPI): """Courses API Version 1.0.""" def __i...
tylerclair/py3canvas
py3canvas/apis/courses.py
Python
mit
129,580
[ "VisIt" ]
cb6f86e8512b50205433ebf237dbea622da188c1638c8ca5c1add8555bb68cb8
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2017 Lenovo, Inc. # # 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 published by # the Free Software Foundation, either version 3 of the License, or # ...
adityacs/ansible
lib/ansible/modules/network/lenovo/cnos_conditional_template.py
Python
gpl-3.0
8,539
[ "VisIt" ]
e2366a0b81b1055e751b56501cb268cf54a2598a5ef2dc62200225a41db7075a
#!/usr/bin/env python # adds episodes from an external source, like a json file or url. """ fields: title - Talk title speakers - list of: name - person's name. email - email address (hide behind auth) twitter_id - twitter @username bio - info about the person picture_url - head shot summary - short descri...
yoe/veyepar
dj/scripts/addeps.py
Python
mit
120,529
[ "Brian" ]
1ddd1b5c327cc51efeeebaf463de3f79ef5028cfca0df52e660470dee9f0479e
# this program corresponds to special.py ### Means test is not done yet # E Means test is giving error (E) # F Means test is failing (F) # EF Means test is giving error and Failing #! Means test is segfaulting # 8 Means test runs forever ### test_besselpoly ### test_mathieu_a ### test_mathieu_even_coef ##...
witcxc/scipy
scipy/special/tests/test_basic.py
Python
bsd-3-clause
119,513
[ "Elk" ]
91f57bb651ae6e9c109a1321aee661a2f0a75fdafeba043f8ad484f670b46dd1
#!/usr/bin/python """Test of the fix for bug 568768""" from macaroon.playback import * import utils sequence = MacroSequence() ######################################################################## # Load the local test case. # sequence.append(KeyComboAction("<Control>l")) sequence.append(TypeAction(utils.htmlURL...
h4ck3rm1k3/orca-sonar
test/keystrokes/firefox/bug_568768.py
Python
lgpl-2.1
1,454
[ "ORCA" ]
35af77bebeb45dc2ba21de539c71bf5973f0d59addb1a2f77a3c0307092e8f58
""" test File Plugin """ from __future__ import print_function from __future__ import absolute_import from __future__ import division import mock import unittest import tempfile import os import shutil import errno from DIRAC import S_OK from DIRAC.Resources.Storage.StorageElement import StorageElementItem def mock...
ic-hep/DIRAC
src/DIRAC/Resources/Storage/test/Test_FilePlugin.py
Python
gpl-3.0
18,616
[ "DIRAC" ]
edee6292cdd0e65fd64099653a82c7e322a536c749d048b8ca2f24b9f4291f8b
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- # ## BEGIN LICENSE # Copyright (c) 2012, Peter Levi <peterlevi@peterlevi.com> # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License version 3, as published # by the Free Sof...
GLolol/variety
variety/Smart.py
Python
gpl-3.0
37,386
[ "VisIt" ]
cc458bb3844a8136017b2595be3c98eaa38a661b5ccf6017d9bc23e5e73a2005
import unittest import ssexp class JsonTests(unittest.TestCase): def setUp(self): class Parrot(object): def __init__(self, is_dead=True, from_egg=None): self.is_dead = is_dead self.from_egg = from_egg self.preserializer = ssexp.SsexpPreserializer() ...
jahs/ssexp
test.py
Python
mit
2,221
[ "Brian" ]
c116e2fe99acee56e2d3c314b2b897c07656886d816b9be7c7d751c9f6b289b4
''' Copyright 2016 Crowd-ML team 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 agreed to in wri...
jihunhamm/Crowd-ML
client/python/pythonClient.py
Python
apache-2.0
12,063
[ "Gaussian" ]
47e28aaaab4588e14121651d244cd4fd3a3e7d9f3d3bc5b566621951d2820125