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
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # 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...
googleapis/python-datastore
tests/unit/gapic/datastore_v1/test_datastore.py
Python
apache-2.0
90,976
[ "Octopus" ]
7a259d329c293c764151c52de0fb07a33366155d09623d8cd562baf7f9347913
#!/usr/bin/env python """ PE Bash Maker V 1.11 by Brendan Kohrn August 11, 2014 Write a bash script to run the process. This program makes a shell script so that the user will not need to enter the commands for all the programs himself. When using it, navigate to the folder with your data, with all the programs ...
loeblab/Duplex-Sequencing
Nat_Protocols_Version/PE_BASH_MAKER.py
Python
bsd-3-clause
6,989
[ "BWA" ]
671b3438179b66fc27d3d55052a2cbf1d4d35e3e2293ca356095fed29f04dd61
from lib.utils import * CONF_THRES = 0.95 # Threshold for confidence score IOU_THRES = 0.5 # Threshold for IoU for evaluating detector # Labels of circlur signs cir_cls = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 16, 17, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42] def bb_iou(boxA, boxB): """ C...
chawins/aml
lib/detector_utils.py
Python
mit
4,584
[ "Gaussian" ]
619bd8a8085cdb565a2ed2ee90eaf9bcac7a6461ca83adfccc70b86cf83e5a22
import os import sys import director.vtkAll as vtk import director.vtkNumpy as vnp from director import ioUtils from director import filterUtils from director import transformUtils from director import objectmodel as om from director.shallowCopy import shallowCopy from collections import OrderedDict import pyassimp imp...
mitdrc/director
src/python/director/assimp2vtk.py
Python
bsd-3-clause
5,718
[ "VTK" ]
2d956a06b06db994e5f557b920d3b1ed19ddc903aaec5e8e871441015841221c
import os, sys, re, inspect, types, errno, pprint, subprocess, io, shutil, time, copy import path_tool path_tool.activate_module('FactorySystem') path_tool.activate_module('argparse') from ParseGetPot import ParseGetPot from socket import gethostname #from options import * from util import * from RunParallel import R...
danielru/moose
python/TestHarness/TestHarness.py
Python
lgpl-2.1
40,327
[ "MOOSE", "VTK" ]
72d2c3c2c309dc5052dc10bf5762de86f61db6972bc0ae461324a2ae4201cf6a
# The Hazard Library # Copyright (C) 2012 GEM Foundation # # This program 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 of the # License, or (at your option) any later version. # # Th...
ROB-Seismology/oq-hazardlib
openquake/hazardlib/gsim/base.py
Python
agpl-3.0
41,941
[ "Gaussian" ]
87d0ea8f14b2b258de4c3f18d1f541e2a8fda97c903cb15c74dfe3f1468dcfc7
"""Processes for testing purposes""" from pywps.Process import WPSProcess class NoInputsProcess(WPSProcess): """This process has no inputs and no outputs""" def __init__(self): WPSProcess.__init__( self, identifier="noinputsprocess", title="No inputs") class LiteralProcess(WPSProcess):...
3liz/qgis-wps4server
filters/PyWPS/pywps/processes/tests.py
Python
gpl-3.0
6,768
[ "NetCDF" ]
966af07040a3bdd2589ab68fd3a0b1475400bb48a0785e53bb3590b074973d02
import codecs import struct import re from datetime import datetime __author__="brian" __date__ ="$Feb 6, 2011 1:38:17 AM$" class MediaLibrary: """A class to read (not write) the database used by winamp""" def __init__(self, db, verbose=False): print("Reading the winamp database from {}".format(db)) ...
bmillham/djrq2
web/app/djrq/model/nullsoft/nullsoftdb.py
Python
mit
6,885
[ "Brian" ]
f5b1ed7c94c7e4043446ce901e2950d11762d54474143ead14e34824302dc1b5
"""Test for RSMDef.py - Rural Site & Vertical Diffusion Model (RSM & VDM)""" import os import pytest from .test_base import auto_setup_uwg, calculate_tolerance, setup_open_matlab_ref from functools import reduce TEST_DIR = os.path.abspath(os.path.dirname(__file__)) def test_rsm_init(): """Test Initialize RSM i...
chriswmackey/UWG_Python
tests/test_RSMDef.py
Python
gpl-3.0
6,683
[ "EPW" ]
8248d2f38a7780465eb20b39d8d2c93ed70941d612c6019e9329fd199e22e66e
# -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding: utf-8 -*- # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 import MDAnalysis as mda import numpy as np from pytim import * from pytim.datafiles import * u = mda.Universe(WATER_GRO, WATER_XTC) oxygens = u.select_atoms('name OW') radii = pytim_data.vdw...
Marcello-Sega/pytim
pytim/examples/example_profile.py
Python
gpl-3.0
633
[ "MDAnalysis" ]
d421e4817a485cebfeec72cf95e500dd56e2685fa398b9ec4d473f95c137c203
from __future__ import unicode_literals, absolute_import from urllib import urlencode from django.utils.html import conditional_escape, mark_safe DEFAULT_DESCRIPTION = \ "Scotch ale lambic, hoppy ester double bock/dopplebock. brewpub " \ "units of bitterness amber copper grainy specific gravity. mouthfeel " ...
aptivate/atanigeriatool
django/website/lscharts/embed.py
Python
gpl-3.0
5,567
[ "Amber" ]
b949d73942a5b89ed1b787617ef57f07db6b70b4a1c61ea33e7be44e95b42f16
import os import shared def compress(config): """Compresses netcdf files to netcdf4 format. Relies on the NCO operator nccopy. Will try and compress all output netcdf files associated with the current initial time, based on the standard WRF naming convention. If a simulation produces multiple wrfo...
envhyf/wrftools
wrftools/post.py
Python
gpl-3.0
12,158
[ "NetCDF" ]
8fbac1f9478cb8f5d9b25a45b31c3a93e8799a1894759b48334e4550076e11d7
#!/usr/bin/env python # -*- coding: UTF-8 -*- import math import random import sys from wx.lib.pubsub import pub as Publisher import numpy as np import vtk import invesalius.constants as const import invesalius.project as prj import invesalius.session as ses import invesalius.utils as utils TYPE = {const.LINEAR: _(...
fabio-otsuka/invesalius3
invesalius/data/measures.py
Python
gpl-2.0
31,691
[ "VTK" ]
0bdd0a8ad6ac598df3870e1a99e8b48b3a9bf39f6dc2dfa04740cb2aadb8b618
# GromacsWrapper # Copyright (c) 2009-2010 Oliver Beckstein <orbeckst@gmail.com> # Released under the GNU Public License 3 (or higher, your choice) # See the file COPYING for details. """ :mod:`gromacs` -- GromacsWrapper Package Overview ================================================= **GromacsWrapper** (package :m...
pslacerda/GromacsWrapper
gromacs/__init__.py
Python
gpl-3.0
11,589
[ "Gromacs" ]
4f1b7c1cbcb77a2f7227afa6e3825a9dd4f6efd6d3a7b09609b191551ee9843a
# coding: utf-8 # Copyright (c) Materials Virtual Lab # Distributed under the terms of the BSD License. from __future__ import division, print_function, unicode_literals, \ absolute_import import os import abc import io import subprocess import itertools import six import numpy as np from monty.tempfile import S...
czhengsci/veidt
veidt/potential/lammps/calcs.py
Python
bsd-3-clause
18,891
[ "LAMMPS", "pymatgen" ]
215d4d5bb904fdacafe8c487d7b59f10c7fbb5de683e81a17d618d3044407212
#!/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 descrip...
xfxf/veyepar
dj/scripts/addeps.py
Python
mit
172,355
[ "Brian" ]
f43d9833aa5d72be83b5ec9175765cc4da0a6365987eb5c0c05f372fbd6eca39
# # Copyright 2016 The BigDL 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 applicable law or agreed to in ...
psyyz10/BigDL
pyspark/dl/nn/layer.py
Python
apache-2.0
100,868
[ "Gaussian" ]
b5d6941fb1691559a3b81e5bb95c0dbeab7a57d7c24f45a90997310e5f14f13c
# -*- coding: utf-8 -*- # # MELD documentation build configuration file, created by # sphinx-quickstart on Mon Aug 11 15:01:20 2014. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All ...
laufercenter/meld
docs/conf.py
Python
mit
8,490
[ "OpenMM" ]
da692507fbcee7916697b0495985150976898ce841636cd3904d2d953dc35920
import pickle from io import BytesIO import numpy as np import scipy.sparse from sklearn.datasets import load_digits, load_iris from sklearn.cross_validation import cross_val_score, train_test_split from sklearn.externals.six.moves import zip from sklearn.utils.testing import assert_almost_equal from sklearn.utils.te...
arjoly/scikit-learn
sklearn/tests/test_naive_bayes.py
Python
bsd-3-clause
17,862
[ "Gaussian" ]
ddff1ff4c691a4471cc6e8610150239a0de63df447cbfbcb45907e6f963b2aba
import numpy as np from HPOlibConfigSpace.configuration_space import ConfigurationSpace from autosklearn.pipeline.components.base import AutoSklearnClassificationAlgorithm from autosklearn.pipeline.constants import * class GaussianNB(AutoSklearnClassificationAlgorithm): def __init__(self, random_state=None, ve...
hmendozap/auto-sklearn
autosklearn/pipeline/components/classification/gaussian_nb.py
Python
bsd-3-clause
3,040
[ "Gaussian" ]
cdc806418dc315e40243d7b390148f722cca4d979fcff6dee495eaf3a7732885
#!/usr/bin/env python # File created on 2 Jul 2014 from __future__ import division from collections import defaultdict __author__ = "Jesse Zaneveld" __copyright__ = "Vega Thurber Lab Copyright 2014" __credits__ = ["Jesse Zaneveld",""] __license__ = "GPL" __version__ = "0.1-dev" __maintainer__ = "Jesse Zaneveld" __ema...
zaneveld/viroscape
viroscape/taxonomy.py
Python
bsd-2-clause
5,674
[ "BLAST" ]
59b8cdb7e342a19a28a77d7d02f60c572d09373c6f0dcd1b4519289130082aa5
# -*- coding: utf-8 -*- # vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4 ############################################################################### # OpenLP - Open Source Lyrics Projection # # ------------------------------------------------------...
marmyshev/transitions
openlp/plugins/presentations/lib/powerpointcontroller.py
Python
gpl-2.0
12,162
[ "Brian" ]
c202c1fdd785ccd265f8ec4d0862d51a20eebdabcb5154628be973cab047cb74
from rscraper import * def createCranBiocGitTables(): """Create a table of R packages from CRAN, Bioconductor, and Github. Use previously-scraped information about github R projects to populate a table of packages ("packages" are defined as github projects that are in R and contain a...
cbogart/rscraper
weeklyScrape.py
Python
apache-2.0
2,064
[ "Bioconductor" ]
22ff706763617c118b37c3e3e9156b1b86c77d3eb0204b149ec95ff7021d5d67
import pytest from thefuck.rules.npm_wrong_command import match, get_new_command from thefuck.types import Command output = ''' Usage: npm <command> where <command> is one of: access, add-user, adduser, apihelp, author, bin, bugs, c, cache, completion, config, ddp, dedupe, deprecate, dist-tag, dist-tags, ...
SimenB/thefuck
tests/rules/test_npm_wrong_command.py
Python
mit
1,919
[ "GULP" ]
196240e75ff1aafe66638c3bc3c4e95a32dd8f9ec84b8b8b2fc6db2de622e5c5
# HF XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # HF X # HF X f90wrap: F90 to Python interface generator with derived type support # HF X # HF X Copyright James Kermode 2011 # HF X # HF X These portions of the source code are released under the GNU General # HF X Public License, ve...
davidovitch/f90wrap
f90wrap/fortran.py
Python
gpl-2.0
28,433
[ "VisIt" ]
0c9cbfe95a793b63634cdcce07dedad0eeb36d44d42552dda1ff2ba66d47a0b3
"""M-probability estimate""" import numpy as np import pandas as pd from sklearn.base import BaseEstimator from category_encoders.ordinal import OrdinalEncoder import category_encoders.utils as util from sklearn.utils.random import check_random_state __author__ = 'Jan Motl' class MEstimateEncoder(BaseEstimator, util...
wdm0006/categorical_encoding
category_encoders/m_estimate.py
Python
bsd-3-clause
10,725
[ "Gaussian" ]
037ea2ef6cccc072d76c6a6e17f8549e06b5cdf0ca7c96f467a7b6b4731ee609
# creates: Pt.png paw_note.pdf import os import numpy as np import matplotlib matplotlib.use('Agg') import pylab as plt from gpaw.atom.all_electron import AllElectron ae = AllElectron('Pt') ae.run() fig = plt.figure(1, figsize=(7, 4), dpi=80) fig.subplots_adjust(left=0.05, bottom=0.11, right=0.85, top=0.95) for n, l...
qsnake/gpaw
doc/documentation/paw_note/make_paw_note.py
Python
gpl-3.0
1,310
[ "GPAW" ]
7b26f2b1dc586bb12647a7450f5517af3f27fddb99c3898ba04d6193b92e044b
# Author: Virgile Fritsch <virgile.fritsch@inria.fr> # # License: BSD 3 clause import numpy as np from . import MinCovDet from ..utils.validation import check_is_fitted, check_array from ..metrics import accuracy_score from ..base import OutlierMixin class EllipticEnvelope(MinCovDet, OutlierMixin): """An object ...
chrsrds/scikit-learn
sklearn/covariance/elliptic_envelope.py
Python
bsd-3-clause
7,417
[ "Gaussian" ]
3c715b3951e5fd2d8ae591d1136df5f1cf2fc7ddab363120d7bbe97a0f491eeb
from typing import Callable, List, Optional, Tuple import copy import dataclasses import os import numpy as np from spins import goos from spins.goos_sim import maxwell from spins.goos_sim.maxwell import render from spins.goos_sim.maxwell import simspace from spins import fdfd_solvers from spins import fdfd_tools fr...
stanfordnqp/spins-b
spins/goos_sim/maxwell/simulate.py
Python
gpl-3.0
30,448
[ "Gaussian" ]
c00c24c5f169a80fd601766793d6bb8e71e667c0dc13e4093cec507bd8935416
import copy import random import unittest from hearthbreaker.agents.basic_agents import DoNothingAgent, PredictableAgent from hearthbreaker.cards.base import MinionCard from hearthbreaker.constants import MINION_TYPE, CARD_RARITY from hearthbreaker.tags.status import ChangeAttack from tests.agents.testing_agents impor...
jirenz/CS229_Project
tests/copy_tests.py
Python
mit
108,561
[ "BLAST" ]
e82cbcb5a1ac0e0d86df30ea401226ebc2b49e8fe85c714d286ac7744ea96c49
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ Common test support for pymatgen test scripts. This single module should provide all the common functionality for pymatgen tests in a single location, so that test scripts can just import it and work right...
tschaume/pymatgen
pymatgen/util/testing.py
Python
mit
6,808
[ "pymatgen" ]
8eb368392b3e07ec3856e8b5105b870820268232fe90de7a8810861c52a3a306
#!/usr/bin/env python3 """ Reads the uniref100 flat file and creates a SQLite3 database of commonly-accessed attributes for each entry. INPUT When you BLAST against a database like UniRef100 or UniRef90 you'll get accessions like: UniRef100_A8PWR2 RepID=A8PWR2_MALGO UniRef100_M9MHS5 RepID=M9MHS5_PSEA3...
jorvis/biocode
blast/uniref_to_sqlite3.py
Python
mit
7,850
[ "BLAST" ]
868830d195330f12d3d2f74b59eca6e3df030262cef3286a993fcda1ccece8a4
# Copyright 2017 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...
adit-chandra/tensorflow
tensorflow/python/ops/linalg/linalg_impl.py
Python
apache-2.0
44,558
[ "Gaussian" ]
cd23214ed47e4a1b437db069c1e0716135f684765e15b9bf8f3b02611485d3fd
import ast class LabelVisitor(ast.NodeVisitor): def __init__(self): self.result = '' def handle_comma_separated(self, comma_separated_list): if comma_separated_list: for element in range(len(comma_separated_list)-1): self.visit(comma_separated_list[element]) ...
python-security/pyt
pyt/helper_visitors/label_visitor.py
Python
gpl-2.0
8,424
[ "VisIt" ]
29fa4604ecab771b7a1a83908e48f73ee17bd8ae37af3b1511c6a5c56044b2f3
import traceback import tornado.escape import tornado.web from misc import standalone_helper from server.data_gates.default_data_gate import DefaultDataGate class Endpoint(tornado.web.RequestHandler): """ The base class for any http endpoint to use. This assures a equal response structure and error handling...
OpServ-Monitoring/opserv-backend
app/server/apis/endpoint.py
Python
gpl-3.0
6,451
[ "VisIt" ]
fa4e049bd01df6078e53b4e84d2477aee4be49f920b12412f6115f85b70ce47d
''' # This script is an example of calculation of long range interactions (Coulomb interaction) using # the Ewald summation method. # # The initial data file is 'ini_struct_deserno.dat'. It contains initial information about # the system: the box size, particle id, position and charge. # # File 'deserno_ewald.d...
capoe/espressopp.soap
testsuite/ewald/ewald_eppDeserno_comparison.py
Python
gpl-3.0
6,710
[ "ESPResSo" ]
8a89119ca261cf4b52050c8c279d307f9a57bdc65b117310eb12f4223df8a41d
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Mon Jul 31 17:03:59 2017 @author: fespir """ """ NAME; Plot of the global distribution of Aerosol Optical Depth at 550nm for June 2008 PURPOSE; This program to processes AOD, lon and lat variables for each pixel from a .nc file taken by AATSR and produces...
fe114/CCI_LAND
plot_aod_global.py
Python
gpl-3.0
3,704
[ "NetCDF" ]
0c35e043eaa2fcbf5b57130f1594fd0b574677535f05b97b44627bf078ae5a27
import os #import pyfits import astropy.io.fits as pyfits import numpy as np import glob import shutil import time import matplotlib.pyplot as plt # testing by Britt USE_PLOT_GUI=False from matplotlib.figure import Figure from matplotlib.backends.backend_agg import FigureCanvasAgg import matplotlib.ticker as mticker...
gbrammer/unicorn
analysis.py
Python
mit
170,576
[ "Gaussian" ]
6fa7b8f12ccb54637877b817a8c2682297aeea873e40eb21b09c6ea9277cf0e2
#!/usr/bin/env python # Copyright 2014-2020 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...
sunqm/pyscf
pyscf/dft/rks.py
Python
apache-2.0
18,166
[ "Gaussian", "PySCF" ]
6317585a84e864da3de7b559ef747391278b5d02965f87f312a67924d94e3fe2
import argparse import json from antlr4 import * import fuzzy.defuzzifiers as defuzzifiers import fuzzy.functions as functions import fuzzy.models as models from fuzzy.parsing.FuzzyLexer import FuzzyLexer from fuzzy.parsing.FuzzyParser import FuzzyParser from fuzzy.parsing.evaluator import Evaluator def print_dict(...
ealmuina/fuzzy-logic-evaluator
main.py
Python
mit
1,704
[ "VisIt" ]
5dbde59ab3f2a5626b58b9955f829661494fa0d8ed64f4ea654278109d1b7c16
# Databricks notebook source # MAGIC %md # MAGIC ScaDaMaLe Course [site](https://lamastex.github.io/scalable-data-science/sds/3/x/) and [book](https://lamastex.github.io/ScaDaMaLe/index.html) # MAGIC # MAGIC This is a 2019-2021 augmentation and update of [Adam Breindel](https://www.linkedin.com/in/adbreind)'s initial ...
lamastex/scalable-data-science
dbcArchives/2021/000_6-sds-3-x-dl/055_DLbyABr_04-ConvolutionalNetworks.py
Python
unlicense
22,551
[ "NEURON" ]
fd30f57eb11382a31df2a276de199598370f28aa4ba3a401fa5ef3b99f3ac912
#* 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 import subp...
nuclear-wizard/moose
python/TestHarness/tests/test_UnknownPrereq.py
Python
lgpl-2.1
778
[ "MOOSE" ]
fa4c22fc09c941fe6991ba009793a5e49b62f60c20118ff724527b452b476280
# (c) Crown Owned Copyright, 2016. Dstl. from django.contrib.auth import get_user_model from django.core.urlresolvers import reverse from django_webtest import WebTest from apps.organisations.models import Organisation from apps.teams.models import Team from testing.common import login_user class TeamWebTest(WebTe...
dstl/lighthouse
apps/teams/tests/test_team_join.py
Python
mit
5,237
[ "VisIt" ]
e76d94dce929d962b60a9d020e0016042006cb7a18be4835d7aecf0f8f8d4592
# -*- coding: utf-8 -*- """Release data for the IPython project.""" #----------------------------------------------------------------------------- # Copyright (c) 2008, IPython Development Team. # Copyright (c) 2001, Fernando Perez <fernando.perez@colorado.edu> # Copyright (c) 2001, Janko Hauser <jhauser@zscout.de>...
marcoantoniooliveira/labweb
oscar/lib/python2.7/site-packages/IPython/core/release.py
Python
bsd-3-clause
5,583
[ "Brian" ]
aa569c9c77c396757b0683c2e669f82404c31481087ae2adcfc7fd23236f624f
#!/usr/bin/env python __author__ = "Mike McCann" __copyright__ = "Copyright 2012, MBARI" __license__ = "GPL" __maintainer__ = "Mike McCann" __email__ = "mccann at mbari.org" __doc__ = ''' Script to read data from CSV formatted data that Monique makes from the ESP Drifter platform and write them to netCDF files. ...
stoqs/stoqs
stoqs/loaders/CANON/toNetCDF/espDriftToNetcdf.py
Python
gpl-3.0
11,370
[ "NetCDF" ]
f7b12f6bda0f33632517fc738cb99f2b90a09aa083f2cab5bbb0adfd9f3d28a8
#!/usr/bin/env python3 # -*- coding: utf-8 -* """ restart_particles - create a spawning file for particle tracking based on the end position on a particle tracking run restart_particles -i Input_file -o Output_file Date Time Input_file - name of the netcdf file O...
abstractwisdom/Age-Tracer
reborn_v1.0.py
Python
gpl-3.0
5,616
[ "NetCDF" ]
ed69f0f1874ecf6985973950fafe4066e076ab06dcf8291f4020abe2e3456caa
''' Created on 29 Mar 2015 @author: ian ''' """ Some function calls can be ignored when attempting to resolve FuncCalls to FuncDefs because we will not ever find their implementation. i.e. They are in the standard library. """ import os from pycparser import c_ast import astcache from interfaces import InterfaceReso...
juniper-project/fpgas-caicos
flowanalysis.py
Python
gpl-2.0
8,467
[ "VisIt" ]
92a2825bf73468a6357cdf8ba5b9aebbf683f5d0b857d1924ea4aa3bb5d9dc33
######################################################################## # $HeadURL $ # File: FTSStrategy.py # Author: Krzysztof.Ciba@NOSPAMgmail.com # Date: 2013/04/12 13:12:07 ######################################################################## """ :mod: FTSStrategy ================= .. module: FTSStrate...
rajanandakumar/DIRAC
DataManagementSystem/private/FTSStrategy.py
Python
gpl-3.0
18,131
[ "DIRAC" ]
5ee2c2ccac5c22cab67d24dd11539e2063c60255e4e15a3e70a90c97e18cd56b
import unittest import copy import numpy as np from math import pi, cos, sin from pele.angleaxis.rigidbody import RBTopologyBulk, RigidFragmentBulk from pele.angleaxis.aaperiodicttransforms import MeasurePeriodicRigid, ExactMatchRigidPeriodic, TransformPeriodicRigid from pele.angleaxis.bulk_rigid_mindist import MinDis...
kjs73/pele
pele/angleaxis/tests/test_bulk_rigid_mindist.py
Python
gpl-3.0
8,409
[ "PyMOL" ]
083c5233565261e96ede5ee97f78b06ed4ec5ee26c5bc894f852b9870c967e1c
#!/usr/bin/env python Info=""" Module name: lmp2radii-column.py Author: (c) Andres Jaramillo-Botero California Institute of Technology ajaramil@wag.caltech.edu Project: pEFF Version: August 2009 Extracts the electron radii from a lammps trajectory dump of style custom: dump 1 all custom period dump_file id type...
crtrott/lammps
tools/eff/lmp2radii_col.py
Python
gpl-2.0
3,357
[ "LAMMPS" ]
74fdcad4ca5f1223c363fb64ee2ba101d754d27efdccd881a9fb64d6d33adf9e
#!/usr/bin/env python #!/usr/bin/env python # -*- coding: utf-8 -*- # # shrandom.py # shelly # """ Random number generation. """ import sys import optparse import random def random_uniform(min_=0, max_=1): r = random.random while True: yield min_ + (max_ - min_) * r() def random_gaussian(mu=0, s...
larsyencken/shelly
shelly_cmd/shrandom.py
Python
isc
1,411
[ "Gaussian" ]
9462dea531497b093d6487b2a7c05126af2c8a48136d5a5f9f86cdad2512ae1d
import psi4 import forte import pytest def test_scfinfo(): """Test the SCFInfo class python API""" ref_energy = -99.50300245245828 geom = """ 1 2 H 0.0 0.0 0.0 F 0.0 0.0 1.0 """ psi4.core.clean() mol = psi4.geometry(geom) psi4.set_options( { 'basis': 'cc...
evangelistalab/forte
tests/pytest/scfinfo/test_scfinfo.py
Python
lgpl-3.0
1,066
[ "Psi4" ]
9d1b976dbd9ce704144565702aed8cf9ab4d54caf5a2415af18e1267431bb42d
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2010 Nick Hall # Copyright (C) 2011 Tim G L Lyons # # This program is free software; you can redistribute it and/or modify # it under the terms of t...
dermoth/gramps
gramps/gui/displaystate.py
Python
gpl-2.0
22,902
[ "Brian" ]
736657edfccfc1210a3575a7c6b2c46c8ed4c0d5913e56e317a9ec4c9e98977e
######################################################################################### # # author: Richard Neher # email: richard.neher@tuebingen.mpg.de # # Reference: Richard A. Neher, Colin A Russell, Boris I Shraiman. # "Predicting evolution from the shape of genealogical trees" # ###################...
rneher/FitnessInference
prediction_src/fitness_inference.py
Python
mit
14,559
[ "Biopython", "Gaussian" ]
dcaec164125efbae1856929003e3e73a08693e2a74aed5b701cdf924ed190728
import kivy kivy.require('1.8.0') from kivy.app import App from kivy.properties import ObjectProperty from kivy.uix.boxlayout import BoxLayout from kivy.uix.popup import Popup from kivy.clock import Clock from plyer import accelerometer ''' This example uses Kivy Garden Graph addon to draw graphs plotting the accele...
johnbolia/plyer
examples/accelerometer/using_graph/main.py
Python
mit
2,757
[ "VisIt" ]
2b4bebd168f2aaab0ca77a6f663027f8f3565714b392a64db83ed2437f8c9ea0
import json import os import os.path import shutil import sys import unittest import datetime from collections import OrderedDict from time import sleep from typing import Union, List from unittest import TestCase from cate.cli import main from cate.core.ds import DATA_STORE_REGISTRY from cate.core.op import OP_REGIST...
CCI-Tools/ect-core
test/cli/test_main.py
Python
mit
29,582
[ "NetCDF" ]
dc643e56e19f9dee7802779b79802a15f7b7ad96c790f31f3a23043096027098
from malleefowl import wpslogging as logging logger = logging.getLogger(__name__) def modelUncertaintyWorker(resource): """returns the result :param resource: list of pathes to netCDF files """ from cdo import Cdo cdo = Cdo() from flyingpigeon.utils import check_timestepps # check resource for consis...
KatiRG/flyingpigeon
examples/modelUncertainty2.py
Python
apache-2.0
2,217
[ "NetCDF" ]
18529e75e5c44d68c1f0e325241ea0767c6fbb299a6e734b8cdf99c4fa22ea84
# -*- coding: utf-8 -*- """ # # ENCODING # import json from stalker import db, Task, Project from anima.utils import task_hierarchy_io db.setup() t = Task.query.get(12106) data = json.dumps(t, cls=task_hierarchy_io.StalkerEntityEncoder, check_circular=False, indent=4) # # DECODING # project = Project.query.filter(Proj...
eoyilmaz/anima
anima/utils/task_hierarchy_io.py
Python
mit
7,449
[ "VisIt" ]
86b7077075ef3554e6236e29ce926f5f2a1678e7b3634203d34150d64d9246e2
# encoding: utf-8 import os import numpy as np import glob import re try: import netCDF4 as netCDF except: import netCDF3 as netCDF import pyroms import pyroms_toolbox import _remapping import matplotlib.pyplot as plt import datetime def remapping_bound(varname, srcfile, wts_files, srcgrd, dst_grd, \ ...
kshedstrom/pyroms
pyroms_toolbox/pyroms_toolbox/remapping_bound.py
Python
bsd-3-clause
39,859
[ "NetCDF" ]
9e3c48630579454acabed2d4761d515e149527327a9f35210c2236b5af129346
from __future__ import unicode_literals from django.db import models class Person(models.Model): person_id = models.BigIntegerField(primary_key=True) gender_concept = models.ForeignKey('Gender', null=True, blank=True) year_of_birth = models.DecimalField(max_digits=4, decimal_places=0) month_of_birth = ...
chop-dbhi/omop_harvest
omop_harvest/models.py
Python
bsd-2-clause
33,702
[ "VisIt" ]
8657cd5ffcd059977fb972626638a8982d563fae2e7f440bfb70598eb8cd61e0
"""Collection of function implementations. Functions are either implemented as :class:`~chainer.Function`\\ s or :class:`~chainer.FunctionNode`\\ s. """ from chainer.functions.activation.clipped_relu import clipped_relu # NOQA from chainer.functions.activation.clipped_relu import ClippedReLU # NOQA from chainer.fun...
aonotas/chainer
chainer/functions/__init__.py
Python
mit
19,888
[ "Gaussian" ]
a11361f2e89f8be0570f1965ae9365e264dec3807730d5946dd29a8698a8a25b
"""This example implements RF experiments from https://pubs.acs.org/doi/abs/10.1021/acs.jcim.6b00290""" import sys import os import deepchem import deepchem as dc import tempfile, shutil from bace_datasets import load_bace from deepchem.hyper import HyperparamOpt from sklearn.ensemble import RandomForestRegressor from ...
deepchem/deepchem
examples/bace/bace_rf.py
Python
mit
4,200
[ "CRYSTAL" ]
78a3a08a303d94b723dc83fb2d146a6bae5562f0616bb73a1324dae67ba0b5d5
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2006 Donald N. Allingham # Copyright (C) 2007-2008 Brian G. Matherly # # 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; ...
Forage/Gramps
gramps/gui/plug/quick/_textbufdoc.py
Python
gpl-2.0
12,690
[ "Brian" ]
ffbd4d298b25e3e6f5fb29b0535d783da520281267b85d3b514ada06a4b47e33
# -*- coding: utf-8 -*- # # ChemTreeMap documentation build configuration file, created by # sphinx-quickstart on Wed Feb 24 18:13:58 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. #...
ajing/ChemTreeMap
docs/source/conf.py
Python
apache-2.0
9,194
[ "RDKit" ]
9eebe7a0ab6eb47ef06d4db8b69375e6c75b84b35373151ef25f83f62b18d779
""" Given dictionary of words and two strings a and b. Covert a to b by changing only one character at a time and makig sure that all the intermediate words in the dictionary. Example: dictionary: {"cat", "bat","had","hat","bad"} a = "bat" b = "had" Solution: "bat" -> "bad" -> "had" Implementation: Create graph ...
bkpathak/HackerRank-Problems
python/graphs/convert_string.py
Python
mit
2,280
[ "VisIt" ]
f5b3d33d6a597404926b19b2245267ae56d7c2e3269b9860c13d7253e5bc44bc
# encoding: utf-8 #---------------------------------------------------------------------------- # Copyright (C) 2008-2014, IPython Development Team and Enthought, Inc. # Distributed under the terms of the BSD License. See COPYING.rst. #---------------------------------------------------------------------------- """...
RaoUmer/distarray
examples/seismic_volume/create_volume.py
Python
bsd-3-clause
9,894
[ "Gaussian" ]
72fed993b59a1e7c9e8804d9a377dde4e5e8b9e15d4cb917b47d88036366452d
""" Universe configuration builder. """ import sys, os import logging, logging.config from optparse import OptionParser import ConfigParser from galaxy.util import string_as_bool from galaxy import eggs import pkg_resources log = logging.getLogger( __name__ ) def resolve_path( path, root ): """If 'path' is rela...
mikel-egana-aranguren/SADI-Galaxy-Docker
galaxy-dist/lib/galaxy/webapps/demo_sequencer/config.py
Python
gpl-3.0
5,754
[ "Galaxy" ]
738478e7978dd5e5a1a7a858a49204a5bd20826e47c17ee7c6b3103a9c3b1100
# Copyright (c) 2003-2014 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...
JetChars/vim
vim/bundle/python-mode/pymode/libs/pylint/utils.py
Python
apache-2.0
36,353
[ "VisIt" ]
daa28dd3306e2fc4b531ba4af596ceb455bc40c96747133da7fa445dd40fbd0e
import unittest, time, sys, os sys.path.extend(['.','..','py']) import h2o, h2o_cmd, h2o_hosts, h2o_import as h2i, h2o_exec import h2o_glm, h2o_gbm, h2o_rf # TODO: DeepLearning class ModelManagementTestCase(unittest.TestCase): tear_down_cloud = True # tear_down_cloud = False def tearDown(self): h2...
janezhango/BigDataMachineLearning
py/testdir_single_jvm/test_model_management.py
Python
apache-2.0
31,952
[ "Gaussian" ]
0072bc976bcd52044684f6658580842d2a0646b96d9a0a5e4fedf936394c680e
__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/Network/Obsolete/NetworkClient_r9D.py
Python
gpl-3.0
40,556
[ "ADF" ]
85475dbfc12a960b332b2824da47946130219884cbad62f5af951a4fc1965da5
import numpy as np import matplotlib.pyplot as plt from scipy.io import loadmat from openmdao.api import Problem from wakeexchange.OptimizationGroups import OptAEP from wakeexchange.gauss import gauss_wrapper, add_gauss_params_IndepVarComps from wakeexchange.floris import floris_wrapper, add_floris_params_IndepVarCom...
byuflowlab/gaussian-wake
doc/compare.py
Python
apache-2.0
12,295
[ "Gaussian" ]
211a580d912ea7fdfcb6fe3a7680d93616dad69446eb64ce143354566ceb8ef3
########################################################################### # # Copyright 2020 Google LLC # # 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/l...
google/starthinker
dags/dcm_replicate_to_bigquery_dag.py
Python
apache-2.0
7,424
[ "VisIt" ]
fa3f9342a730f782d93af0d240a110ea3267c1da9caaf2c8798008a763657858
# # @file TestReadFromFile4.py # @brief Reads tests/l1v1-minimal.xml into memory and tests it. # # @author Akiya Jouraku (Python conversion) # @author Ben Bornstein # # ====== WARNING ===== WARNING ===== WARNING ===== WARNING ===== WARNING ====== # # DO NOT EDIT THIS FILE. # # This file was generated automatic...
TheCoSMoCompany/biopredyn
Prototype/src/libsbml-5.10.0/src/bindings/python/test/sbml/TestReadFromFile4.py
Python
bsd-3-clause
3,087
[ "VisIt" ]
671308221177611f807ef8be85c7947f34bd4d03d2fd86fc4f49b9f028db186f
# -*- coding: utf-8 -*- # Author: Hao Wang <wangronin@gmail.com> # Bas van Stein <bas9112@gmail.com> from __future__ import print_function import pdb import numpy as np from numpy import log, pi, log10 from scipy import linalg, optimize from scipy.linalg import cho_solve from scipy.optimize import fmin_l_b...
Basvanstein/OWCK
OWCK/gpr.new.py
Python
gpl-2.0
54,241
[ "Gaussian" ]
122efba8ddeb4aa3115b59e7f33a1b4ae21ca1558e47d7063831b18bed12e491
#!/usr/bin/env python import sys sitePython = "@SITEPYTHON@" if sitePython: sys.path.insert( 0, "@SITEPYTHON@" ) from DIRAC.Core.Base import Script Script.parseCommandLine() from DIRAC.WorkloadManagementSystem.JobWrapper.JobWrapper import JobWrapper, rescheduleFailedJob from DIRAC.WorkloadManagementSystem.Client.J...
coberger/DIRAC
WorkloadManagementSystem/JobWrapper/JobWrapperTemplate.py
Python
gpl-3.0
5,088
[ "DIRAC" ]
6a024180527b39bf1e11a5c74f9365b6535f8b4a79314a6f876235ef733ea9fd
from ..componentclass import ComponentClass from nineml.exceptions import NineMLUsageError, NineMLSerializationError from .. import Parameter class RandomDistribution(ComponentClass): nineml_type = 'RandomDistribution' nineml_attr = ComponentClass.nineml_attr + ('standard_library',) standard_library_bas...
INCF/lib9ML
nineml/abstraction/randomdistribution/base.py
Python
bsd-3-clause
4,513
[ "VisIt" ]
d079c5e56673524d8f3a4eb9221a5132b1044373b566c91d6e0da0183ab09891
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: shirui <shirui816@gmail.com> import re import warnings import argparse from scipy.constants import Boltzmann as KB from scipy.constants import Avogadro as NA import numpy as np import pandas as pd from argparse import RawTextHelpFormatter from scipy.stats import g...
Shirui816/UmbrellaIntegrate.py
wham.py
Python
mit
9,219
[ "Avogadro", "Gaussian" ]
e11e53e9c068f9752778aecc26dec41933c3d3942c6cd59480e24922786169af
#!/usr/bin/env python -i # preceeding line should have path for Python on your machine # viz_gl.py # Purpose: viz running LAMMPS simulation via GL tool in Pizza.py # Syntax: viz_gl.py in.lammps Nfreq Nsteps # in.lammps = LAMMPS input script # Nfreq = dump and viz shapshot every this many steps # ...
arielzn/lammps
python/examples/viz_gl.py
Python
gpl-2.0
1,950
[ "LAMMPS" ]
05bb7924fa1f185f937b5b2d4bad5ef49e331581c03e47699c5b66a8851cc691
#!/usr/bin/env python # -*- coding: UTF-8 -*- # # Copyright 2014 Google Inc. 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/LICENS...
googlei18n/nototools
nototools/extra_locale_data.py
Python
apache-2.0
18,658
[ "MOE", "MOOSE" ]
d22c37a9ecb15bcf7aa823d8887c7807b7ee138a8bd8655cd9887df5149bd96e
# Functional test: functional test: mesocrystal simulation # from __future__ import print_function import ctypes, math, numpy, os, sys, time import utils from bornagain import * # ---------------------------------------------------------------------------- # Sample builder to build mixture of cylinders and prisms o...
gpospelov/BornAgain
Tests/Functional/PyCore/mesocrystal1.py
Python
gpl-3.0
8,286
[ "CRYSTAL" ]
16691e72891a98a1471949978e4690799bf7066620440143590e161a277ca914
#!/usr/bin/env python from __future__ import print_function import sys, os import argparse import netCDF4 as nc import numpy as np import shlex import shutil import subprocess as sp import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap from regridder import Regridder from mkancil import Mkancil fr...
CWSL/access-cm-tools
grid/make_grids.py
Python
apache-2.0
35,131
[ "NetCDF" ]
fc609a921976b350057082411c05c0f2d23994fa7c902cb4409d45a8b99c9ad4
# coding: utf-8 from __future__ import unicode_literals import base64 import datetime import hashlib import json import netrc import os import random import re import socket import sys import time import math from ..compat import ( compat_cookiejar, compat_cookies, compat_etree_fromstring, compat_getp...
longman694/youtube-dl
youtube_dl/extractor/common.py
Python
unlicense
121,217
[ "VisIt" ]
98e83a68b4627f0db4385981002e57608c902e6f7cce47986c26fa2c29069b2e
''' Functions and classes for inserting station observation data from multiple sources into a single database format. Copyright 2014,2015, Jared Oyler. This file is part of TopoWx. TopoWx is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
jaredwo/topowx
twx/db/create_db_all_stations.py
Python
gpl-3.0
60,857
[ "NetCDF" ]
43661b12e105e298f246bb95e076f26cd210de65a5e5a1d172d1134498fd70f3
"""Neural network position reconstruction""" import numpy as np from pax import plugin, utils class PosRecNeuralNet(plugin.PosRecPlugin): """Reconstruct S2 x,y positions from top pmt hit pattern using a feed-foward neural net See Alex Kish' thesis for details: http://www.physik.uzh.ch/groups/groupbaudis...
XENON1T/pax
pax/plugins/posrec/NeuralNet.py
Python
bsd-3-clause
5,341
[ "NEURON" ]
0343b40eaf8dd0b5cf3db54ff0e6a10e6545285da416e56b49e53ef4b05e4875
import math import random import copy import pickle """ module: brain multilayer neural network. The bias input in implemented by adding an extra weight to each set of inputs. The weights are stored as an 3 dimensional array [layers][neurons_in_layer][weights_into_neuron] e.g. 3 inputs 2 hidden neurons ...
pauljohnleonard/pod-world
CI_2015/CI_examples/NNSearchForTruthTable/brain.py
Python
gpl-2.0
7,992
[ "NEURON" ]
33c34256f71b111728b0aedbd8d86577cad26e069884a2c2879aa6997e9a2123
# -*- coding: utf-8 -*- # YAFF is yet another force-field code. # Copyright (C) 2011 Toon Verstraelen <Toon.Verstraelen@UGent.be>, # Louis Vanduyfhuys <Louis.Vanduyfhuys@UGent.be>, Center for Molecular Modeling # (CMM), Ghent University, Ghent, Belgium; all rights reserved unless otherwise # stated. # # This file is pa...
molmod/yaff
yaff/conversion/gaussian.py
Python
gpl-3.0
6,358
[ "Gaussian" ]
dfc8071e14f63371e6f38a99f3eb20bfa77be7297b64cd0a46ac9e5e67ab5872
""" pytest for TransformationClient """ # pylint: disable=protected-access,missing-docstring,invalid-name import pytest # sut from DIRAC.TransformationSystem.Client.TransformationClient import TransformationClient tc = TransformationClient() @pytest.mark.parametrize("tsFiles, dictOfNewLFNsStatus, force, expected...
andresailer/DIRAC
TransformationSystem/Client/test/Test_Client_TransformationClient.py
Python
gpl-3.0
2,121
[ "DIRAC" ]
67da69b769553c81381cf33923eb88dacf87f91a232ff0041d34f65b3eb59aef
#------------------------------------------------------------------------------- # Cloud-COPASI # Copyright (c) 2013 Edward Kent. # All rights reserved. This program and the accompanying materials # are made available under the terms of the GNU Public License v3.0 # which accompanies this distribution, and is available...
edkent/cloud-copasi
cloud_copasi/web_interface/pools/condor_log_tools.py
Python
gpl-3.0
6,711
[ "COPASI" ]
e8e1cbf637b80c056314809cffb438310f5d4dc852179fd18006fbd561dc126e
#!/bin/env python # script to analyse mixtures of chiffchaff audios # by Dan Stowell, summer 2012 from glob import glob from subprocess import call import os.path import csv from math import log, exp, pi, sqrt, ceil, floor from numpy import array, mean, cov, linalg, dot, median, std import numpy as np import tempfile...
danstowell/markovrenewal
experiments/chiffchaff.py
Python
gpl-2.0
35,302
[ "Gaussian" ]
93946b8ee6ee8101e11b56f7453d7a9a0d7d143ade01e52347f862274919406c
""" BSRT Analysis ------------- Top-level script to query BRST data, then perform an analysis and output the generated plots. The script runs through the following steps: - Processes the output files of ``BSRT_logger.py`` for a given timeframe, returns them in as a `TfsDataFrame` for further processing. - Additionally...
pylhc/PyLHC
pylhc/bsrt_analysis.py
Python
mit
15,453
[ "Gaussian" ]
bf9a5f4b9ebc31cfb5480f8ad81057961329b337c839ae099c5df42bd5384c14
""" Calculate residuals """ from scipy.optimize import curve_fit import glob import os import numpy as np import matplotlib.pyplot as plt from math import log10, floor from matplotlib import rc import matplotlib.gridspec as gridspec from matplotlib.colors import LogNorm plt.rc('text', usetex=True) from matplotlib.tick...
annayqho/TheCannon
code/lamost/li_giants/residuals.py
Python
mit
7,181
[ "Gaussian" ]
d4e79f11061f88d580bb1796facee6fa680acd0da6148d42ec7e248be84458ff
# coding=utf-8 from global_test_case import GlobalTestCase as TestCase from ..models import Confirmation, send_confirmation_email from ..models import Message, WriteItInstance, ConfirmationTemplate from django.core import mail from subdomains.utils import reverse from django.contrib.auth.models import User from django....
TEDICpy/write-it
nuntium/tests/confirmation_template_test.py
Python
gpl-3.0
12,470
[ "VisIt" ]
3ab11870f8a918686a0880d349486ec8fe03ec753fd3e5aa9aa185ec77d6babf
# (c) 2012-2014, Michael DeHaan <michael.dehaan@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 published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
ColOfAbRiX/ansible
lib/ansible/constants.py
Python
gpl-3.0
28,297
[ "Galaxy", "MOOSE" ]
47745412cafb24e5d86adc5c0006bc09f6f340aeaf0d4e6098b0867d08531ccf
#!/usr/bin/env python # =============================================================================== # Copyright 2015 Geoscience Australia # # 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 ...
ama-jharrison/agdc
agdc/agdc/abstract_ingester/tile_contents.py
Python
apache-2.0
15,707
[ "NetCDF" ]
8ab6df95d0ee8f8ea493aae045ba4e9a71d566608555598f0c22843e209ae8a5
''' synbiochem (c) University of Manchester 2016 synbiochem is licensed under the MIT License. To view a copy of this license, visit <http://opensource.org/licenses/MIT/>. @author: neilswainston ''' # pylint: disable=invalid-name # pylint: disable=no-member import sys import numpy as np from synbiochemdev.learning...
neilswainston/development-py
synbiochemdev/learning/ch2/adaline.py
Python
mit
1,303
[ "VisIt" ]
084ad4aac95d895c352a3ac8d5f2f521db4d360d95833d893adfe06ca6ab706d
#!/usr/bin/env python # Copyright 2009 by Michiel de Hoon. All rights reserved. # Revisions copyright 2010 by Peter Cock. All rights reserved. # 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. """Test ...
updownlife/multipleK
dependencies/biopython-1.65/Tests/test_SwissProt.py
Python
gpl-2.0
102,052
[ "Biopython" ]
4f111398d4db6e79b17affabf8c4db36a75f05f8f6022360a73b3a9abdcc3185
from config import CLIENT_DIST_PATH from bs4 import BeautifulSoup from shutil import copyfile from argparse import ArgumentParser, REMAINDER from re import sub, IGNORECASE def main(): args = parse_arguments() for arg in args.args: if args.backup: # save a backup of original just in case ...
wangchulab/CIMAGE
cimage/cimage-clientpatches/source/cimage-preview/modify-existing-dta.py
Python
mit
3,294
[ "GULP" ]
2f4c442fd2124cfd1118c17b462d728c5f5857791833a1a3d26c71568db3096f
# -*- coding: utf-8 -*- """ ORCA Open Remote Control Application Copyright (C) 2013-2020 Carsten Thielepape Please contact me by : http://www.orca-remote.org/ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publi...
thica/ORCA-Remote
src/ORCA/download/Repository.py
Python
gpl-3.0
7,855
[ "ORCA" ]
c4ee514356e7a1304d9edf0ad8ed8ce1db7f2b0146c61cf22d19f18d14094b7c
#!/usr/bin/python """Test of sayAll.""" from macaroon.playback import * import utils sequence = MacroSequence() #sequence.append(WaitForDocLoad()) sequence.append(PauseAction(5000)) sequence.append(utils.StartRecordingAction()) sequence.append(KeyComboAction("KP_Add")) sequence.append(utils.AssertPresentationActio...
chrys87/orca-beep
test/keystrokes/firefox/say_all_empty_anchor.py
Python
lgpl-2.1
1,541
[ "ORCA" ]
8a18e673d26cfc3d80a16b42e9d52020074649d1f863fea6f8794354a9e6653c
from ase.calculators.dftb import Dftb from ase.optimize import QuasiNewton from ase.io import write from ase.structure import molecule test = molecule('H2O') test.set_calculator(Dftb(label='h2o', atoms=test, Hamiltonian_MaxAngularMomentum_='', ...
misdoro/python-ase
doc/ase/calculators/dftb_ex1_relax.py
Python
gpl-2.0
554
[ "ASE" ]
df8a57d4535f349ece3f41659ea2e807f043ce3cee851876a7c58738f93067f0