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
from behave import * @given(u'main page loaded') def given_main_page_loaded(context): context.browser.visit('https://google.com/') @when(u'type "{query_string}" and press enter') def typed_and_pressed_enter(context, query_string): context.browser.fill('q', query_string) button = context.browser.find_by_na...
danielgimenes/bdd_python_tools_test
behave+splinter/steps/google_test.py
Python
mit
545
[ "VisIt" ]
07fd2aab49766b0442522a1581a9d2f80607c15bd11517587473ec2709391da3
"""Implementation of the WebSocket protocol. `WebSockets <http://dev.w3.org/html5/websockets/>`_ allow for bidirectional communication between the browser and server. WebSockets are supported in the current versions of all major browsers, although older versions that do not support WebSockets are still in use (refer ...
Batterfii/tornado
tornado/websocket.py
Python
apache-2.0
40,818
[ "VisIt" ]
cbdeb2cfb635b14e80e18611f9861348ecb0f0ca78348bb1b96b3938e890d0ac
#!/usr/bin/env python """ Ping a list of services and show the result """ __RCSID__ = "$Id$" import sys from DIRAC import S_OK, S_ERROR, gLogger, exit from DIRAC.Core.Base import Script # Define a simple class to hold the script parameters class Params: def __init__( self ): self.raw = False self.pingsT...
DIRACGrid/DIRACDocs
source/DeveloperGuide/AddingNewComponents/DevelopingCommands/dirac-ping-info.py
Python
gpl-3.0
1,504
[ "DIRAC" ]
4399ec893c84ca1d299d1b3c1e83b066975fd7fe492832cf490dc781fd89a25f
#!/usr/bin/env Python ########################################################################## # # Copyright (C) 2015-2018 Sam Westreich # # 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; # # T...
transcript/samsa_v2
python_scripts/DIAMOND_general_RefSeq_analysis_counter.py
Python
gpl-3.0
8,393
[ "BLAST" ]
40f55e4680b6a9d0dec9a9aefe739001e1c1c9940cdacc61e406b47db94db02a
#!/usr/bin/python # # @author: Gaurav Rastogi (grastogi@avinetworks.com) # Eric Anderson (eanderson@avinetworks.com) # module_check: supported # # Copyright: (c) 2017 Gaurav Rastogi, <grastogi@avinetworks.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # ANSIB...
sgerhart/ansible
lib/ansible/modules/network/avi/avi_backupconfiguration.py
Python
mit
4,821
[ "VisIt" ]
52370a22d8bf163ddacd05a9edd39999a32a43861158c8c6622fecf316a5c663
# # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2016 The Psi4 Developers. # # The copyrights for code used from other parties are included in # the corresponding files. # # This program is free software; you can redistribute it and/or modify # it under the terms of ...
kannon92/psi4
psi4/driver/qcdb/molpro2.py
Python
gpl-2.0
27,551
[ "CFOUR", "Psi4" ]
9d30cb78aa127c59aca63afd2838e348b2d1b0568342f42dd42bdc23e8c9ca14
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
Laurawly/tvm-1
tests/python/unittest/test_te_autodiff.py
Python
apache-2.0
11,590
[ "VisIt" ]
8c1fc8f07f4ea93618f9b93a8fe81614c25a4d97c42c2c5051d1c5cfe6d9ca50
# Adafruit BNO055 Absolute Orientation Sensor Library # Copyright (c) 2015 Adafruit Industries # Author: Tony DiCola # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, inc...
francisc0garcia/autonomous_bicycle
src/classes/BNO055.py
Python
apache-2.0
28,496
[ "CRYSTAL" ]
d572ae30d0e8efb22624c0aa37f4d1871b37ffea2ca39a0f75757fe319d30b1b
# -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 ## ## Copyright (C) 2012 Async Open Source <http://www.async.com.br> ## All rights reserved ## ## 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 Foundati...
andrebellafronte/stoq
stoqlib/gui/test/test_returnedsaledialog.py
Python
gpl-2.0
6,397
[ "VisIt" ]
fb152a13260479d479f025a873cd6f5d625ef270db1702febe2efbfa653c8512
# encoding: UTF-8 # # Copyright 2012-2013 Alejandro Autalán # # 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 Software Foundation. # # This program is distributed in the hope that it will be useful, but #...
mhcrnl/pygubu
pygubudesigner/properties.py
Python
gpl-3.0
26,413
[ "FLEUR" ]
f4090d08d5e9828194bddae5606a9746f6a696b8ec5d7dddc893e372639cd937
#!/usr/bin/env python ''' $Id: drawMIweb.py 1390 2013-04-16 00:42:22Z apandini $ Copyright (C) 2009-13 Alessandro Pandini 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 3 of the Lic...
jkleinj/GSAtools
Rscripts/pymolscripts/drawMIweb.py
Python
gpl-3.0
13,337
[ "PyMOL" ]
4a4b65f7966894812f417702ccf09ac9a907a81427a6c142ade151d8195422f7
############################################################################## # MDTraj: A Python Library for Loading, Saving, and Manipulating # Molecular Dynamics Trajectories. # Copyright 2012-2017 Stanford University and the Authors # # Authors: Robert McGibbon # Contributors: # # MDTraj is free software: y...
mattwthompson/mdtraj
tests/test_distance.py
Python
lgpl-2.1
7,156
[ "MDTraj" ]
1bc8f4db7d12188d05626c7e0b342954f3f9b601184db4dd098e2078279ea102
#!/usr/bin/env python # -*- coding=utf-8 -*- # code based on http://gvallver.perso.univ-pau.fr/?p=587 import sys import numpy as np import os import argparse import matplotlib.pyplot as plt from matplotlib.collections import LineCollection from matplotlib.gridspec import GridSpec from pymatgen.io.vasp.outputs import...
albalu/dekode
plot_BSDOS.py
Python
mit
8,006
[ "VASP", "pymatgen" ]
6a6a3c06bfbbad6b369a36bb4d39fd05ea9d00bb19f542fde6702c03870ed629
def find_closest_point_pd(pourbaix_diagram_object): from pymatgen.analysis.pourbaix.plotter import PourbaixPlotter import matplotlib.pyplot as plt import numpy as np from pymatgen.util.coord_utils import in_coord_list from pymatgen.analysis.pourbaix.maker import PREFAC lw = 1 limits = [[-2, 16],[-3, 3]]...
raulf2012/pourbaix_pymatgen
find_closest_point_pd.py
Python
mit
4,017
[ "pymatgen" ]
bfeed11efd5777cf69b41413716f897ba22fdf5345426e61911997b1121bb50e
import os import sys import vtkAll as vtk from ddapp import botpy import math import time import types import functools import numpy as np from ddapp import transformUtils from ddapp import lcmUtils from ddapp.timercallback import TimerCallback from ddapp.asynctaskqueue import AsyncTaskQueue from ddapp import objectmo...
rdeits/director
src/python/ddapp/tasks/taskuserpanel.py
Python
bsd-3-clause
10,831
[ "VTK" ]
6c05a4736038025841b992cb05a33880cc12ad650f733f128d6a61039e36319d
# dirstate.py - working directory tracking for mercurial # # Copyright 2005-2007 Matt Mackall <mpm@selenic.com> # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. import errno from node import nullid from i18n import _ import scmutil...
spraints/for-example
mercurial/dirstate.py
Python
gpl-2.0
29,458
[ "VisIt" ]
065e3962f30171b06f39363c1c5f9e5d5e8ca517cb077d286d1ad7ff1c4c25cd
Aimport os import sys import pytest import numba from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D import numpy as np import functools import time from numba import jit, njit from PIL import Image import pand...
CompPhysics/MachineLearning
doc/src/week39/codes/test12.py
Python
cc0-1.0
26,978
[ "Gaussian" ]
d5f2924253f29991827f138b561514c81af16fc89c8d9b04efc0338ea0569b47
""" Acceptance tests for the teams feature. """ import json import random import time from uuid import uuid4 import ddt from dateutil.parser import parse from selenium.common.exceptions import TimeoutException from common.test.acceptance.fixtures import LMS_BASE_URL from common.test.acceptance.fixtures.course import ...
ahmedaljazzar/edx-platform
common/test/acceptance/tests/lms/test_teams.py
Python
agpl-3.0
84,274
[ "VisIt" ]
994003c5fbb6e6e9dbb2159c4a1f0a535756dcbe4f81e4428838e7e1bdcd8aff
"""Tests for next/prev message navigation.""" import os import re from rust_test_common import * # Test data for message order tests. # # 'command': The command to run. # 'path': The path to open. # 'messages': List of expected messages. Tuples of: # (sequence, path, level, rowcol, inline_highlight, raw_highligh...
rust-lang/sublime-rust
tests/test_message_order.py
Python
mit
8,543
[ "VisIt" ]
b87b9459b64aca2fcd9531d03adc755a2309a7779282b581de28a4fdb09daa85
# This file is part of MyPaint. # Copyright (C) 2012 by Andrew Chadwick <andrewc-git@piffle.org> # # 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, or # (at your ...
kragniz/mypaint
gui/colors/hcywheel.py
Python
gpl-2.0
43,177
[ "FLEUR" ]
ac9d072dcf0566d2e5c875c5f9c73ea85857dd7920063de4b390276d307f21ce
# # Copyright (C) 2003-2006 greg Landrum and Rational Discovery LLC # # @@ All Rights Reserved @@ # This file is part of the RDKit. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the RDKit source tree. # """ Supplies a class for worki...
greglandrum/rdkit
rdkit/Chem/Fingerprints/DbFpSupplier.py
Python
bsd-3-clause
4,652
[ "RDKit" ]
a7f5616e2e74b9e1397a0ad87eb00cbdc6042ee82f89ec4d4f8a36729ecb29a7
# The MIT License # # Copyright 2014, 2015 Piotr Dabkowski # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the 'Software'), # to deal in the Software without restriction, including without limitation the rights # to use, copy, modif...
hexpl0it/plugin.video.genesi-ita
resources/lib/libraries/js2py/translators/pyjsparser.py
Python
gpl-3.0
103,483
[ "VisIt" ]
8eeae85d384f9162a15f20d01c98b2cfb1d2ad09d7a5014fc0793fde537041cf
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import os import unittest import tempfile import numpy as np from pymatgen import Structure from pymatgen.util.testing import PymatgenTest from pymatgen.io.abinit.inputs import (BasicAbinitInput, BasicMultiDat...
gVallverdu/pymatgen
pymatgen/io/abinit/tests/test_inputs.py
Python
mit
10,885
[ "ABINIT", "pymatgen" ]
e7a140b6306369548da374d5eee81e43798f3673ea9fe5c5f9aefac84d12f84f
#!/usr/bin/python # -*- coding: utf-8 -*- # # --- BEGIN_HEADER --- # # sssmonitor - Global SSS monitor back end # Copyright (C) 2003-2014 The MiG Project lead by Brian Vinter # # This file is part of MiG. # # MiG is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public Lic...
heromod/migrid
mig/shared/functionality/sssmonitor.py
Python
gpl-2.0
8,347
[ "Brian" ]
f16d233d4c11de859a421617ffb109ff086f342a71ac91a3564b961643f2ef05
import ast import codecs import os from subprocess import check_call from distutils.command.sdist import sdist from pip.download import PipSession from pip.req import parse_requirements from setuptools import find_packages, setup name = "django-gitstorage" package_name = "gitstorage" long_desc_file = "README.rst" c...
bors-ltd/django-gitstorage
setup.py
Python
gpl-3.0
2,122
[ "VisIt" ]
889f76609ed9cc28bcae6aaaf0885a183395a10afef8f105e382cf2bd560b30f
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals from nose.tools import * # noqa PEP8 asserts from osf_tests import factories from tests.base import OsfTestCase from website.util import api_url_for from website.views import find_bookmark_collection class Te...
aaxelb/osf.io
osf_tests/test_search_views.py
Python
apache-2.0
15,088
[ "Brian" ]
e5397e2b39f404778c7a001f0506341cd14c5d7b47852d20925de86bc62c3a70
# -*- coding: utf-8 -*- # # define_hill_tononi.py # # This file is part of the NEST Instrumentation App. # # Copyright (C) 2004 The NEST Initiative # # NEST Instrumentation App 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 Softw...
compneuronmbu/NESTConnectionApp
static/examples/define_hill_tononi_3D.py
Python
gpl-2.0
57,744
[ "Gaussian" ]
a56d9400bebbb12012670d59ee2f15328c26c83a3d7fce44db5d25801311feab
# Program to spin a wheel and choose a language # Created By Jake Huxell For Advent Of Code 2015 """ Some notes about the program. TODO: 1. Upkeep and bug fix as I go along """ # Get pygame libraries import pygame, sys, random from pygame.locals import * # Generate random seed for the program - Use current time ra...
Huxellberger/SpinnerOfSyntax
Wheel.py
Python
gpl-2.0
8,691
[ "exciting" ]
0f4435def4bc7d4042a39a48960f9d29dacf054bc244a70557c87ccc519a95c3
from __future__ import division import pickle from io import BytesIO import numpy as np import scipy.sparse from sklearn.datasets import load_digits, load_iris from sklearn.model_selection import train_test_split from sklearn.model_selection import cross_val_score from sklearn.externals.six.moves import zip from sk...
clemkoa/scikit-learn
sklearn/tests/test_naive_bayes.py
Python
bsd-3-clause
23,990
[ "Gaussian" ]
16996561dbba647420e16b225f9bbd18843fa010b46d16f60e3e63fd20da4c08
# Copyright (c) 1998-2000 John Aycock # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publ...
asherkhb/coge
bin/last_wrapper/Bio/Parsers/spark.py
Python
bsd-2-clause
18,936
[ "Biopython" ]
77ccd79b0e441708b969e6c9515c4f412b63b6d965451d20f688ba6f0b7d6ba5
#!/usr/bin/env python from octopus.shelltool.ResultProcessor import BaseResultProcessor,NodeResultPropertyCleaner class NodeResult(NodeResultPropertyCleaner): def getElementType(self): return 'node' def getId(self): return self.result['id'] def getProperties(self): props = self.pro...
octopus-platform/joern
python/joern-tools/joern/shelltool/PlotResult.py
Python
lgpl-3.0
868
[ "Octopus" ]
2b543fc3bbccba51e0d5d49c1de8b5f87b62e4ab315c55a1940e245494b26d66
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() # create tensor ellipsoids # Create the RenderWindow, Renderer and interactive renderer # ren1 = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.SetMultiSamples(0) ...
hlzz/dotfiles
graphics/VTK-7.0.0/Filters/Modeling/Testing/Python/TenEllip.py
Python
bsd-3-clause
2,810
[ "VTK" ]
6c7043574b2c3238e3ab68422f1b89b0757e8635f01a70fd2f4b16092546defc
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.md') as f: readme = f.read() with open('LICENSE') as f: license = f.read() with open('yaps2/version.py') as f: exec(f.read()) setup( name='yaps2', version=__version__, description='Yet Another Pipeline Set...
indraniel/yaps2
setup.py
Python
bsd-2-clause
1,231
[ "pysam" ]
01bc5c55e2e77d41e92ced3ecce15465cfd8e011ac446290a6eabee8e1bc63dd
#!/usr/bin/env python # Perform Path Similarity Analysis on a submatrix """Perform Path Similarity Analysis (PSA) using MDAnalysis.analysis.psa. Provide all trajectories and topology files in a JSON input file (two lists, one with topology files, the other with trajectory files) or on the command line. There *must* b...
Becksteinlab/SPIDAL-MDAnalysis-Midas-tutorial
rp/mdanalysis_psa_partial.py
Python
bsd-3-clause
6,248
[ "MDAnalysis" ]
0dba90c4120feb591400f1a0faa55ace335d54a2817a86d18b49e828db59ad09
import numpy as np import natsort import pandas as pd import sys, os, re import time import netCDF4 as nc from scipy import integrate from etl.spa_ncdf import spa_netCDF4 __author__ = 'Rhys Whitley' __email__ = 'rhys.whitley@gmail.com' __created__ = "2015-10-15" __modified__ = time.strftime("%c") __version__ = '1.0'...
rhyswhitley/savanna_iav
src/data_preproc/etl/SPAoutput_ETL.py
Python
cc0-1.0
12,029
[ "NetCDF" ]
2463e9835fc7dfda7b5ac9fcf0b8ff0a296325b65459c64e87c61361b06b0ebf
"""Traits-based GUI for head-MRI coregistration""" # Authors: Christian Brodbeck <christianbrodbeck@nyu.edu> # # License: BSD (3-clause) import os from ..externals.six.moves import queue import re from threading import Thread import traceback import warnings import numpy as np from scipy.spatial.distance import cdis...
alexandrebarachant/mne-python
mne/gui/_coreg_gui.py
Python
bsd-3-clause
55,647
[ "Mayavi" ]
a87ff8a2975524734f96810edd1c91b16879b66e534f67d70269283af8f2a612
# -*- coding: utf-8 -*- # SyConn - Synaptic connectivity inference toolkit # # Copyright (c) 2016 - now # Max-Planck-Institute of Neurobiology, Munich, Germany # Authors: Philipp Schubert, Joergen Kornfeld from PythonQt import QtGui, Qt, QtCore from PythonQt.QtGui import QTableWidget, QTableWidgetItem try: import ...
StructuralNeurobiologyLab/SyConn
syconn/analysis/syconn_knossos_viewer.py
Python
gpl-2.0
41,864
[ "NEURON" ]
b72553805a4c9fce4e4b4a4215b1e4eb1eb9a171310f0561beda8fbfa8ded346
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2015-2015: Alignak team, see AUTHORS.txt file for contributors # # This file is part of Alignak. # # Alignak 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 So...
ddurieux/alignak
alignak/stats.py
Python
agpl-3.0
7,812
[ "CRYSTAL" ]
afe1309db71ed51adaa03a98919dbedb9d925f30067ca0c1cca45222c4e8ca21
# Licensed under a 3-clause BSD style license - see LICENSE.rst # -*- coding: utf-8 -*- """ ================ desiutil.sklearn ================ Useful functions from the sklearn python package. """ class GaussianMixtureModel(object): """Read and sample from a pre-defined Gaussian mixture model. Parameters ...
desihub/desiutil
py/desiutil/sklearn.py
Python
bsd-3-clause
4,488
[ "Gaussian" ]
175d2cd9f396a9ae673ccd267c13eac54edf9af0ab53e8aa6227b2f6ca569562
#!/usr/bin/env python # # Code related to ESET's Linux/Moose research # For feedback or questions contact us at: github@eset.com # https://github.com/eset/malware-research/ # # This code is provided to the community under the two-clause BSD license as # follows: # # Copyright (C) 2015 ESET # All rights reserved. # # Re...
eset/malware-research
moose/ida/mips_identify_syscalls.py
Python
bsd-2-clause
20,841
[ "MOOSE" ]
fd9fb3e8d55985dc2a0670767cc65061748f1d724f08d6ca2db1635a56dcc177
# # This source file is part of appleseed. # Visit https://appleseedhq.net/ for additional information and resources. # # This software is released under the MIT license. # # Copyright (c) 2016-2018 Esteban Tovagliari, The appleseedhq Organization # # Permission is hereby granted, free of charge, to any person obtaini...
appleseedhq/appleseed-maya
scripts/appleseedMaya/register.py
Python
mit
7,230
[ "VisIt" ]
c981a435dbfbaa43cfc3126544fe5c4170d5da468d19bf89e1623c75964e86c8
#!/opt/local/bin/ipython #""" #Usage: #./subim_gaussfit.py @file_list.txt x_cen y_cen [outfile.txt] #%run subim_gaussfit.py @file_list.txt x_cen y_cen [outfile.txt] in an interactive session # or %run subim_gaussfit.py @file_list.txt @coord_list.txt [outfile.txt] #""" import sys #sys.path.append('/Users/adam/classes/pr...
ufoym/agpy
agpy/subim_gaussfit.py
Python
mit
6,196
[ "Gaussian" ]
8596fa86212d39fb4fe03420eb806b1715eac5c1b5127b5124843d2ae3e1cedb
#!/usr/bin/python # -*- coding: utf-8 -*- """ ========================================================= Logit function ========================================================= Show in the plot is how the logistic regression would, in this synthetic dataset, classify values as either 0 or 1, i.e. class one or two, u...
DailyActie/Surrogate-Model
01-codes/scikit-learn-master/examples/linear_model/plot_logistic.py
Python
mit
1,426
[ "Gaussian" ]
83e589dcada1db32ac80411bb18360f12568f62ff558b2d24adf5848d9df5ddf
# # 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...
arunkgupta/gramps
gramps/plugins/textreport/summary.py
Python
gpl-2.0
10,795
[ "Brian" ]
40cacfb55145488c3bd98e3be8e16a08628aeedfbb2e8531e6ccdbdb10e2fd2f
from io import BytesIO from threading import Lock import contextlib import itertools import os.path import pickle import shutil import tempfile import unittest import sys import numpy as np import pandas as pd import xarray as xr from xarray import Dataset, open_dataset, open_mfdataset, backends, save_mfdataset from ...
NicWayand/xray
xarray/test/test_backends.py
Python
apache-2.0
44,435
[ "NetCDF" ]
e66413f894bd279d9ceec0ac3a9a832a082c958552f9e42f85e0f5526b02f1b9
#!/usr/bin/python # -*- coding: utf-8 -*- ############################################################################ # # Copyright (C) 2010-2014 # Christian Kohlöffel # Jean-Paul Schouwstra # # This file is part of DXF2GCODE. # # DXF2GCODE is free software: you can redistribute it and/or modify # it un...
oryxr/dxf2gcode
dxf2gcode.py
Python
gpl-3.0
43,333
[ "VisIt" ]
868cb21da503026ed8c9da934cbe2a2d458e16350e81405d2c36a39d11ed3879
"""Tests for ΔCC½ algorithms.""" from __future__ import annotations from unittest import mock from dxtbx.model import Crystal, Experiment, ExperimentList, Scan from dials.algorithms.statistics.cc_half_algorithm import CCHalfFromDials from dials.array_family import flex from dials.command_line.compute_delta_cchalf i...
dials/dials
tests/algorithms/statistics/test_delta_cchalf_algorithm.py
Python
bsd-3-clause
4,068
[ "CRYSTAL" ]
b29d446f0a0f657a63c5102c23c167c8fdc5550221f0c0544cb9d99393f36dfc
''' gaussian_filter.py - given a color RGB image, try different Gaussian kernels for image blurring Author: Esha Uboweja (euboweja) ''' # Import Libraries import cv2 import numpy as np import sys # Callback function for trackbar def nothing(x): pass # Read image in color format if len(sys.argv) > 1: im_name =...
eknight7/cv_build18
filtering/gaussian_filter.py
Python
mit
1,547
[ "Gaussian" ]
c8073b65c300f25a45ffd4e469e029e2319a9ef6f7d5dcbc81e2b9a784fac71e
# -*- coding: utf-8 -*- # Begin CVS Header # $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/bindings/python/unittests/Test_CVersion.py,v $ # $Revision: 1.8 $ # $Name: $ # $Author: shoops $ # $Date: 2010/07/16 18:55:59 $ # End CVS Header # Copyright (C) 2010 by Pedro Mendes, Virginia Tech I...
jonasfoe/COPASI
copasi/bindings/python/unittests/Test_CVersion.py
Python
artistic-2.0
2,030
[ "COPASI" ]
14cac34e75e25e75b3f5210f22cec63566b94eaff7ddea7ac81c23a8c8d44435
import os import numpy as np from ase import io, units from ase.optimize import QuasiNewton from ase.parallel import paropen, rank, world from ase.md import VelocityVerlet from ase.md import MDLogger from ase.md.velocitydistribution import MaxwellBoltzmannDistribution class MinimaHopping: """Implements the minima...
suttond/MODOI
ase/optimize/minimahopping.py
Python
lgpl-3.0
29,451
[ "ASE" ]
7990a56f331a194e46697fa35ce36184c7e42c711aa28d7943d5f174fd94e3d4
# -*- coding: utf-8 -*- from __future__ import with_statement import warnings from almost import Approximate from pytest import deprecated_call, raises from conftest import various_backends from trueskill import * inf = float('inf') nan = float('nan') class almost(Approximate): def normalize(self, value): ...
amit-bansil/netsci
robocompviz/trueskill/trueskilltest.py
Python
mit
22,195
[ "Gaussian" ]
af15818a89b5dade27df7ecc3054fffb7be709988e14d0af30e7555e221b8421
""" Acceptance tests for Video. """ import os from unittest import skipIf from unittest.mock import patch from common.test.acceptance.fixtures.course import CourseFixture, XBlockFixtureDesc from common.test.acceptance.pages.common.auto_auth import AutoAuthPage from common.test.acceptance.pages.lms.courseware import ...
eduNEXT/edunext-platform
common/test/acceptance/tests/video/test_video_module.py
Python
agpl-3.0
8,636
[ "VisIt" ]
a8c91807cdf2a48bde231d66df475e040f9925d3bf49a0b90a59ab7ceb568511
# Copyright (C) 2010-2018 The ESPResSo project # # This file is part of ESPResSo. # # ESPResSo is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later v...
mkuron/espresso
samples/load_checkpoint.py
Python
gpl-3.0
2,567
[ "ESPResSo" ]
d5e1643a7f5c736ef94dadf11a09c5e50537f10d9f71bf15cfa2117073153f44
# # Copyright (c) 2015 nexB Inc. and others. All rights reserved. # http://nexb.com and https://github.com/nexB/scancode-toolkit/ # The ScanCode software is licensed under the Apache License version 2.0. # Data generated with ScanCode require an acknowledgment. # ScanCode is a trademark of nexB Inc. # # You may not use...
yashdsaraf/scancode-toolkit
tests/licensedcode/test_detection_datadriven.py
Python
apache-2.0
6,867
[ "VisIt" ]
12ca2ae891cecc60abb948e0fc07509f921a21c80c2a49ae553dceb27700d31d
""" Test topological fingerprints. """ import unittest from deepchem.feat import CircularFingerprint class TestCircularFingerprint(unittest.TestCase): """ Tests for CircularFingerprint. """ def setUp(self): """ Set up tests. """ from rdkit import Chem smiles = 'CC(=O)OC1=CC=CC...
deepchem/deepchem
deepchem/feat/tests/test_circular_fingerprints.py
Python
mit
1,648
[ "RDKit" ]
5a891fa42bca97517e8f55cbe30d1dd71013fbfc4f08348e7d1953a77bf13225
# Copyright (c) 2003-2016 LOGILAB S.A. (Paris, FRANCE). # http://www.logilab.fr/ -- mailto:contact@logilab.fr # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/master/COPYING """Python code format's checker. By default try to follow Gu...
bgris/ODL_bgris
lib/python3.5/site-packages/pylint/checkers/format.py
Python
gpl-3.0
41,232
[ "VisIt" ]
581f29d28fc357bc9ce0df8ee4e8e5f86be8e33a6470fc8e1fe827b1cf2020c0
from string import Template import logging from hs_core.hydroshare.utils import get_resource_types logger = logging.getLogger(__name__) def parse_app_url_template(url_template_string, term_dict_list=()): """ This func replaces pre-defined HS Terms in url_template_string with real values; Example: http://...
ResearchSoftwareInstitute/MyHPOM
hs_tools_resource/utils.py
Python
bsd-3-clause
2,737
[ "NetCDF" ]
1057b95605578f12e66fe03ab6a8edabd268abbb37236ed8e10430d2acc93c04
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ The set of functions to generate random 2D/3D phantoms The TomoPhantom package is released under Apache License, Version 2.0 @author: Daniil Kazantsev """ def rand_init2D(x0min, x0max, y0min, y0max, c0min, c0max, ab_min, ab_max): import numpy as np x0 = np.ran...
dkazanc/TomoPhantom
Wrappers/Python/tomophantom/randphant/generator.py
Python
apache-2.0
7,191
[ "Gaussian" ]
1c5d208b6b1cb66ee10ec57d499ea53e44eb04c17b5c1442f8ba78f65920b2ed
# Copyright (C) 2012,2013 # Max Planck Institute for Polymer Research # Copyright (C) 2008,2009,2010,2011 # Max-Planck-Institute for Polymer Research & Fraunhofer SCAI # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the terms of t...
govarguz/espressopp
src/integrator/ExtAnalyze.py
Python
gpl-3.0
2,409
[ "ESPResSo" ]
61b1f626c678803884e58b5d719887fd748cd617a41208622a5bd0ff540b0eed
from Circ import circ from Enemy import enemy from Particle import particle from Poly import poly from Projectile import projectile from gameFunctions import * class missile(projectile): def __init__(this, pos, aim, speed): '''initializes a missile projectile, used for the missileLauncher weapon''' ...
reid-vollett/Software_Quality_Project
Missile.py
Python
gpl-3.0
3,006
[ "BLAST" ]
e162b196b4fe6834155f024d728ebdc10be0b541e32b0294c97f80ba1855f84f
######################################################################## # $HeadURL$ # File : LCGPilotDirector.py # Author : Ricardo Graciani ######################################################################## """ LCGPilotDirector class, It includes: - basic configuration for LCG - submit and monitor m...
Sbalbp/DIRAC
WorkloadManagementSystem/private/LCGPilotDirector.py
Python
gpl-3.0
3,871
[ "DIRAC" ]
5518b6497331373273a5f4f9de140808283c1f5a6d7a5c8ebdd5ca047b5b6f81
import unittest from splinter import Browser class GoogleTestCase(unittest.TestCase): def setUp(self): self.browser = Browser('phantomjs') self.browser.visit('http://google.com') def test_check_title(self): assert self.browser.title == 'Google' if __name__ in ('main', '__main__'): ...
josemazo/learning-splinter-phantomjs
the_phantom.py
Python
mit
338
[ "VisIt" ]
8837622746c74359d3a139f7f5179ce1b1909ec1b0533db91795333419ba6143
#ImportModules import ShareYourSystem as SYS from ShareYourSystem.Specials.Simulaters import Populater,Brianer #Definition MyBrianer=Brianer.BrianerClass( ).update( { #Set here the global net parameters 'StimulatingStepTimeFloat':0.1 } ).produce( ['E','I'], Populater.PopulaterClass, { #Here are d...
Ledoux/ShareYourSystem
Pythonlogy/draft/Simulaters/Brianer/draft/01_ExampleCell copy 4.py
Python
mit
2,372
[ "Brian" ]
d074c0987a2a2b3021093b0b0585d776cbb3e7fcfcca2225bbe8673c950a655f
from __future__ import division, print_function import numpy as np import xarray as xr import numpy.ma as ma from scipy.interpolate import LinearNDInterpolator as lndi import matplotlib.dates as dates import copy def get_nv(self): """ Finds the element vertex's. """ neighbours_orig = self._ne...
moflaher/fvcom_pyprocessor
fvcom_pyprocessor/utilities.py
Python
agpl-3.0
9,163
[ "NetCDF" ]
f12003eb4bd39195be6b29da3990319aaa549dd4bab41155ca658bd4be80d577
import urllib.parse import pytest import tldextract import cocrawler.urls as urls from cocrawler.urls import URL def test_urllib_parse(): # This is just here so I can understand what urllib is doing with these: assert urllib.parse.urljoin('http://example.com/foo', '///bar') == 'http://example.com/bar' a...
cocrawler/cocrawler
tests/unit/test_urls.py
Python
apache-2.0
13,568
[ "VisIt" ]
b0bc21a8eaffa4add3305c2b7b8b568afa378e013f94e4e153ccfae31f8e3639
# (c) 2014 Michael DeHaan, <michael@ansible.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) any later ve...
goozbach/ansible
lib/ansible/playbook/role/metadata.py
Python
gpl-3.0
3,373
[ "Galaxy" ]
a11ace556f623b6271e05507f8c81e2d40f048b76bf7aff60b4a17eb102809d2
#! /usr/bin/env python2.7 """ This script performs event averaging for particle spectra and anisotropic flow coefficients calculated from event-by-event simulations v_n is analyzed up to n = 6 Format for particle_XXX_vndata.dat file: n_order real_part real_part_err imag_part imag_p...
chunshen1987/HBTcorrelation_MCafterburner
ebe_scripts/average_event_spvn_pure_hydro.py
Python
mit
47,473
[ "Psi4" ]
275a6dfb167736fa793ad39d0a948266b87aa37f36ea9825109e45b9a42daa67
import re import numpy as np def parse_file(self): """Extract important attributes from the Gaussian realtime logfile.""" filename = self.logfile lines = [line.rstrip('\n') for line in open(filename)] muX = [] muY = [] muZ = [] mX = [] mY = [] mZ = [] eX = [] eY = [] ...
wavefunction91/gaussian_realtime_parse
parse_file.py
Python
mit
12,348
[ "Gaussian" ]
5299bcc66296613fbe81803096d445f40dbcc0ab349ac7695080bb6a40c6ad8e
""" Demonstration application for range search using R tree. Left mouse press starts rectangle add, Left mouse release closes rectangle add Right mouse click begins drag of rectangle. """ import tkinter from adk.R import RTree from adk.region import Region, minValue, maxValue, X, Y Rectan...
heineman/algorithms-nutshell-2ed
PythonCode/demo/app_R_range.py
Python
mit
6,569
[ "VisIt" ]
d3f8380afcefb77bf1a8aca41a191fde647d0945465ee7ce108462986368ac56
""" PDBProp ======= """ import gzip import json import logging import os.path as op import mmtf import os from cobra.core import DictList import pandas as pd import requests import deprecation from Bio.PDB import PDBList from lxml import etree from six.moves.urllib_error import URLError from six.moves.urllib.request i...
nmih/ssbio
ssbio/databases/pdb.py
Python
mit
34,959
[ "BLAST", "Biopython", "CRYSTAL" ]
2d9925d8198346200be5fcde45d5547f45767c7cdb08c5d6267ae95e36bd268a
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2002-2007 Donald N. Allingham # Copyright (C) 2007-2008 Brian G. Matherly # Copyright (C) 2008 Jerome Rapinat # Copyright (C) 2008 Benny Malengier # # This program is free software; you can redistribute it and/or modify # it under the terms of the ...
arunkgupta/gramps
gramps/gen/filters/rules/family/_hasnote.py
Python
gpl-2.0
1,722
[ "Brian" ]
1f9ec1ba211eb3524e48a3c76e84c169bf22586a90b47a68c2bb92f2a0d8cb36
#!/usr/bin/env python ############################################################################################## # # # regrid_emissions_N96e.py # # # Requirements: # Iris 1.10, time, cf_units, numpy # # # This Python script has been written by N.L. Abraham as part of the UKCA Tutorials: # http://www.ukca.ac.u...
acsis-project/emissions
emissions/python/timeseries_1960-2020/regrid_MeCHO_emissions_n96e_360d.py
Python
gpl-3.0
17,485
[ "NetCDF" ]
d9763d78913a47310100047cdb3cee016b8fbdfd05bfeaf88fdd1cac177641d7
# -*- coding: utf-8 -*- # # This file is part of cclib (http://cclib.github.io), a library for parsing # and interpreting the results of computational chemistry packages. # # Copyright (C) 2007-2014, the cclib development team # # The library is free software, distributed under the terms of # the GNU Lesser General Pub...
ChemSem/cclib
src/cclib/parser/orcaparser.py
Python
lgpl-2.1
35,788
[ "Gaussian", "ORCA", "cclib" ]
1782e84d1f9655c024ee434b66f95562a44b7f2d6b96ebb0d6bc07aed839f7e7
# Software License Agreement (BSD License) # # Copyright (c) 2009-2014, Eucalyptus Systems, Inc. # All rights reserved. # # Redistribution and use of this software in source and binary forms, with or # without modification, are permitted provided that the following conditions # are met: # # Redistributions of source ...
shaon/emis
install-emis.py
Python
gpl-3.0
15,926
[ "Brian", "VisIt" ]
eddee345f16661a997be77a4c6e3091de40a1c16811077ab4df49f0e753a9e74
""" Provide a generic structure to support window functions, similar to how we have a Groupby object. """ from collections import defaultdict from datetime import timedelta from textwrap import dedent from typing import List, Optional, Set import warnings import numpy as np import pandas._libs.window as libwindow fro...
toobaz/pandas
pandas/core/window.py
Python
bsd-3-clause
84,775
[ "Gaussian" ]
f628c9acb492f85bca85fdb778f7c879b906cd0c831ab721bad61ff742ec7412
""" GraphUtilities is a a collection of utility functions and classes used in the DIRAC Graphs package. The DIRAC Graphs package is derived from the GraphTool plotting package of the CMS/Phedex Project by ... <to be added> """ import os import time import datetime import calendar import math import pytz i...
Andrew-McNab-UK/DIRAC
Core/Utilities/Graphs/GraphUtilities.py
Python
gpl-3.0
14,278
[ "DIRAC" ]
d3b66f822a1f8ff5634b5ce7372b26c6a6d681356e77bfce177374c714a44283
"""This file contains very superficial tests of the PISM Python wrappers. The goal is to be able to detect changes in the API (function signatures, etc), not to test correctness. Use with nose (https://pypi.python.org/pypi/nose/) and coverage.py (https://pypi.python.org/pypi/coverage) Run this to get a coverage repor...
talbrecht/pism_pik
test/nosetests.py
Python
gpl-3.0
36,151
[ "NetCDF" ]
1cb88782144e1a2e2a2c54e19082ff7324b15a4a62274a0e2aea2d6368fad457
#!/usr/bin/python # -*- coding: utf-8 -*- dimensions= 2 size1d = 5 halfSize1 = [size1d,size1d,0.1] halfSize2 = halfSize1 GRIDSIZE = [16,16] # wavepacket parameters k0_x = 0 k0_y = 0 gaussWidth_x = 1.5 gaussWidth_y = 1.5 potentialCoefficient1= [-2.0,0,0] potentialCoefficient2= [ 2.0,0,0] O.engines...
cosurgi/trunk
examples/qm/2d-coulomb-interaction.py
Python
gpl-2.0
3,067
[ "Gaussian" ]
2bfcc50d29cc728b1c645019513e25333d305fa81dd021adf8bcebfe7da0ea25
import json import os from shutil import copytree from subprocess import CalledProcessError, check_call, check_output import pytest import pkgpanda.build import pkgpanda.build.cli from pkgpanda.util import expect_fs def get_tar_contents(filename): return set(check_output(["tar", "-tf", filename]).decode().split...
asridharan/dcos
pkgpanda/build/tests/build_integration_test.py
Python
apache-2.0
6,700
[ "VisIt" ]
bb2ee658971d9d9f0a76a8e4ad11940f3941305dd86856cd2b0c97db519f79e6
#!/usr/bin/env python """ remove FileCatalog directories """ import os import DIRAC from COMDIRAC.Interfaces import critical from COMDIRAC.Interfaces import DSession from COMDIRAC.Interfaces import createCatalog from COMDIRAC.Interfaces import pathFromArguments if __name__ == "__main__": import sys from DIRAC...
pigay/COMDIRAC
Interfaces/scripts/drmdir.py
Python
gpl-3.0
1,444
[ "DIRAC" ]
e8b53465fb3587c4390f6af8a4a8f0216222716a0352ea8548e0e0cfa1aed076
import mxnet as mx import logging import os import time def _get_lr_scheduler(args, kv, MF=True): if 'lr_factor' not in args or args.lr_factor >= 1: return (args.lr, None) epoch_size = args.num_examples / args.batch_size if 'dist' in args.kv_store: epoch_size /= kv.num_workers begin_epo...
deepinsight/Deformable-ConvNets
deeplab/common/fit.py
Python
apache-2.0
8,087
[ "Gaussian" ]
3afc10cdbd7827f83ff010a75f6279ae9f60be96b6da4465e4cfac3d562b6977
# # Copyright 2001 - 2016 Ludek Smid [http://www.ospace.net/] # # This file is part of Outer Space. # # Outer Space is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (...
ospaceteam/outerspace
client/osci/dialog/DiplomacyDlg.py
Python
gpl-2.0
19,031
[ "Galaxy" ]
bc5841467524d681344730a9c563b28eb09c38c5228b9294ca3bfcc3ab3723ba
from __future__ import print_function, division import numpy as np from pymatgen import units as pymatgen_units from ..core import Writable from .abidata import input_variable_blocks from .utils import listify from .variable import InputVariable, SpecialInputVariable __all__ = ['AbinitInput'] class AbinitInput(Wri...
trangel/OPTpy
OPTpy/Abinit/abinitinput.py
Python
gpl-3.0
5,902
[ "ABINIT", "pymatgen" ]
e06a4209e829b80451e512a24dd0cbb03c17722e1446a505eb4effeb1f86acaa
from distutils.core import setup setup( name='CLQC', version='1.1', author='Sven H. Giese', author_email='sven.giese@tu-berlin.de', packages=['CLQC'], scripts=['bin/CLQC_ContactMap.py','bin/CLQC_Distogram.py', 'bin/CLQC_CoverageProfile.py'], url='http://pypi.python.org/pypi/TowelStuff/', ...
gieses/CLQC
setup.py
Python
mit
504
[ "HTSeq" ]
9c51ef9b248b48aac8114c9a7b1f274e9cdb69482070681514d8901ec1bf54f7
# -*- coding: utf-8 -*- """ codegen ~~~~~~~ Extension to ast that allow ast -> python code generation. :copyright: Copyright 2008 by Armin Ronacher. :license: BSD. """ from ast import * BOOLOP_SYMBOLS = { And: 'and', Or: 'or' } BINOP_SYMBOLS = { Add: '+', Su...
wwright2/dcim3-angstrom1
sources/bitbake/lib/codegen.py
Python
mit
16,325
[ "VisIt" ]
9e37fe08e0f42772feee2ccf36a71c7f526e24c8891664f34a9efa21a223995b
CALLS=[{ "method":"POST", "path":"/accounts/", "view_func_name":"account_create", "access_doc":"Any admin app.", "url_params":{ }, "query_opts":{ }, "data_fields":{ 'contact_email':'A valid email at which to reach the account holder.', 'secondary_secret_p':'...
newmediamedicine/indivo_server_1_0
doc/sphinx/autogen/api-skeleton.py
Python
gpl-3.0
210,189
[ "VisIt" ]
acd8c2761eb5111dd3b71883341755ebf6269384dd96879816681fb4b2116d61
# # Author: Travis Oliphant 2002-2011 with contributions from # SciPy Developers 2004-2011 # from scipy._lib._util import getfullargspec_no_self as _getfullargspec import sys import keyword import re import types import warnings import inspect from itertools import zip_longest from scipy._lib import doccer...
matthew-brett/scipy
scipy/stats/_distn_infrastructure.py
Python
bsd-3-clause
137,114
[ "Gaussian" ]
28422a670a1c88e7aa7b3e9e15b1d77a7f24551e78b8297f4656aa4135d71664
# 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 # # Unless required by appl...
gkc1000/pyscf
pyscf/nao/m_sbt.py
Python
apache-2.0
6,825
[ "PySCF", "SIESTA" ]
cb4bbaf0182862d9c47bcd40080d4e4d6021708a727fbef249416dc4de89a195
import logging import os from django.shortcuts import render from django.views.generic import View from django.http import HttpResponse from django.conf import settings class FrontendAppView(View): """ Serves the compiled frontend entry point (only works if you have run `make build-frontend`). """ ...
nadege/food-organizer
backend/apps/project/views.py
Python
gpl-3.0
1,258
[ "VisIt" ]
d865bad499cf5fb96e412c923fd08d1f7e166e4e422e8c4d93ec5759c7d58dee
# -*- coding: utf-8 -*- import psycopg2 import ast import json import numpy as np import distance import math import helpers from us_state_abbrevation import * with open('api_key_list.config') as key_file: api_key_list = json.load(key_file) api_key = api_key_list["distance_api_key_list"] conn_str = api_key_list["c...
kennethcc2005/travel_with_friends
outside_helpers.py
Python
mit
31,962
[ "CASINO" ]
9de97ff9c59b9476c19c3692ce3b8cf390f2c456972638cc42dc3d96a6b9b336
from django.conf import settings from django.contrib.auth.decorators import login_required from django.contrib.sites.models import Site from django.db.models import F from django.http import HttpResponsePermanentRedirect, HttpResponseServerError from django.shortcuts import get_object_or_404 from django.template import...
fwenzel/millimeter
apps/shortener/views.py
Python
bsd-3-clause
2,030
[ "VisIt" ]
2c041145b151a245f5ad56fe81e7d04321e17da0f004167ed00932ce6db8d449
import sys if sys.version_info < (2, 7): import unittest2 as unittest else: import unittest from mock import patch, call, Mock from cctrl.error import InputErrorException from cctrl.app import AppController from cctrl.settings import Settings from pycclib.cclib import GoneError class AppControllerTestCase(u...
cloudControl/cctrl
tests/app_test.py
Python
apache-2.0
6,467
[ "cclib" ]
482200ae10ee7de800dd21d9b51bcd7819149dd07701fb215675ddd075969ca4
# Orca # # Copyright 2010 Joanmarie Diggs. # # 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 i...
GNOME/orca
src/orca/scripts/toolkits/J2SE-access-bridge/script_utilities.py
Python
lgpl-2.1
5,118
[ "ORCA" ]
15e98be0420fa70e1d4afa4a3d7d56561f413c55422f0c776d91c00fcfbd8ace
#!/usr/bin/env python2.7 ''' RSD: The reciprocal smallest distance algorithm. Wall, D.P., Fraser, H.B. and Hirsh, A.E. (2003) Detecting putative orthologs, Bioinformatics, 19, 1710-1711. Original author: Dennis P. Wall, Department of Biological Sciences, Stanford University. Contributors: I-Hsien Wu, Computational B...
todddeluca/reciprocal_smallest_distance
rsd/rsd.py
Python
mit
32,578
[ "BLAST" ]
e724e2367d1fa058fef95c6d946ee5c0081e578fae596fa1a391fb4cbb87277a
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() # Create the RenderWindow, Renderer and both Actors # ren1 = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren1) iren = vtk.vtkRenderWindowInteractor() iren.SetR...
HopeFOAM/HopeFOAM
ThirdParty-0.1/ParaView-5.0.1/VTK/Filters/Core/Testing/Python/stripF.py
Python
gpl-3.0
1,534
[ "VTK" ]
37e0ee8b9567abbd47b4dbb0a11879e11b672332b4d1f9899e114083266c7d64
arenaRankName = { "01": "Novice", "02": "Contender", "03": "Duelist", "04": "Berserker", "05": "Sage", "06": "Guardian", "07": "Titan", "08": "General", "09": "Master", "10": "Archfiend", "11": "Ascended", "12": "Celestial", "13": "Apollo", "14": "Phanes", "15...
Blackrobe/blackrobe.github.io
BFJPStoryArchive/storyutil.py
Python
gpl-2.0
26,218
[ "CRYSTAL" ]
38e3b3703508e3061bd025d952f3d6794bb197105058f75bb0b518cae5508f81
#!/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...
GNOME/orca
test/keystrokes/firefox/say_all_wiki.py
Python
lgpl-2.1
13,353
[ "ORCA" ]
0c2ed160d22b4e09160e5e99ebb6600ef7e9476fad03f81e42e5f357b89e4430
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- #################################################################################### ### Copyright (C) 2015-2019 by ABLIFE #################################################################################### #########################################################...
ablifedev/ABLIRC
ABLIRC/bin/public/Extract_Region_sequence.py
Python
mit
12,799
[ "HTSeq", "pysam" ]
ce374db4a91b2e3f42494950ee6d64ae81037e4a92435c7e2198745e6a470117
#!/usr/bin/env python # # Wrapper script for starting the biopet-seqstat JAR package # # This script is written for use with the Conda package manager and is copied # from the peptide-shaker wrapper. Only the parameters are changed. # (https://github.com/bioconda/bioconda-recipes/blob/master/recipes/peptide-shaker/pept...
joachimwolff/bioconda-recipes
recipes/biopet-seqstat/0.1/biopet-seqstat.py
Python
mit
3,365
[ "Bioconda" ]
5dd33d554e12d3e8689357716f0ecefaff6d3f6a907275f7626b437ce05fb534
#!/usr/bin/env python2.7 """ relion_it.py ============ Script for automated, on-the-fly single-particle analysis in RELION 3 Authors: Sjors H.W. Scheres, Takanori Nakane & Colin M. Palmer Usage: relion_it.py [extra_options.py [extra_options2.py ....] ] [--gui] [--continue] To get started, go to the intended lo...
bforsbe/relion
scripts/relion_it.py
Python
gpl-2.0
110,959
[ "Gaussian" ]
1f8321895d6dd12cedb12f7a797124fa21b81214b7b27f7fec2805351d31625e