diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/ipyrad/assemble/rawedit.py b/ipyrad/assemble/rawedit.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/rawedit.py +++ b/ipyrad/assemble/rawedit.py @@ -596,14 +596,15 @@ def concat_multiple_inputs(data, sample): ## Only set conc2 if R2 actually exists conc2 = 0 - if os.path.exi...
Better testing for existence of all R2 files for merged assemblies.
py
diff --git a/gbdxtools/ipe/io.py b/gbdxtools/ipe/io.py index <HASH>..<HASH> 100644 --- a/gbdxtools/ipe/io.py +++ b/gbdxtools/ipe/io.py @@ -1,6 +1,8 @@ import rasterio +import numpy as np def to_geotiff(arr, path='./output.tif', proj=None, dtype=None): + dtype = np.dtype(dtype) data = arr.read() c,h,w =...
fixing to_geotif to support dtypes
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,6 +15,7 @@ from __future__ import print_function import logging import sys import os +import re logging.basicConfig() @@ -72,10 +73,16 @@ copyright = u'2017, Mike Boers' # |version| and |release|, ...
Docs pull version from setup.py.
py
diff --git a/salt/client/ssh/ssh_py_shim.py b/salt/client/ssh/ssh_py_shim.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/ssh_py_shim.py +++ b/salt/client/ssh/ssh_py_shim.py @@ -18,8 +18,7 @@ import stat THIN_ARCHIVE = 'salt-thin.tgz' EXT_ARCHIVE = 'salt-ext_mods.tgz' -# FIXME - it would be ideal if these coul...
Correct comment. Keep in sync with exitcodes.py
py
diff --git a/sumologic/sumologic.py b/sumologic/sumologic.py index <HASH>..<HASH> 100644 --- a/sumologic/sumologic.py +++ b/sumologic/sumologic.py @@ -56,6 +56,12 @@ class SumoLogic(object): r.raise_for_status() return r + def post_with_file(self, method, filename, headers=None): + content...
Method to create a collector with a file
py
diff --git a/distutils/tests/test_dir_util.py b/distutils/tests/test_dir_util.py index <HASH>..<HASH> 100644 --- a/distutils/tests/test_dir_util.py +++ b/distutils/tests/test_dir_util.py @@ -1,5 +1,4 @@ """Tests for distutils.dir_util.""" -import unittest import os import stat import sys @@ -53,10 +52,7 @@ class Te...
Prefer pytest for skip
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -124,8 +124,8 @@ def get_version_info(): vinfo = _version_helper.generate_git_version_info() except: vinfo = vdummy() - vinfo.version = '1.16.11' - vinfo.release = 'True' + vinfo.ver...
set back to development (#<I>)
py
diff --git a/src/hieroglyph/__init__.py b/src/hieroglyph/__init__.py index <HASH>..<HASH> 100644 --- a/src/hieroglyph/__init__.py +++ b/src/hieroglyph/__init__.py @@ -75,6 +75,12 @@ def setup(app): app.connect('builder-inited', html.inspect_config) app.connect('html-page-context', html.add_link) + return...
Enable parallel reading of source files with Sphinx (#<I>)
py
diff --git a/tests/connection/test_array_connection.py b/tests/connection/test_array_connection.py index <HASH>..<HASH> 100644 --- a/tests/connection/test_array_connection.py +++ b/tests/connection/test_array_connection.py @@ -258,10 +258,18 @@ def describe_connection_from_array(): ) def returns...
Test that from_global_id handles invalid code point Replicates graphql/graphql-relay-js@<I>b<I>cdde9a<I>a<I>da<I>d8d3bf
py
diff --git a/src/scs_core/__init__.py b/src/scs_core/__init__.py index <HASH>..<HASH> 100644 --- a/src/scs_core/__init__.py +++ b/src/scs_core/__init__.py @@ -6,4 +6,4 @@ Created on 3 May 2021 https://packaging.python.org/guides/single-sourcing-package-version/ """ -__version__ = '1.1.11' +__version__ = '1.1.12'
Added text standardisation to aws_project.py
py
diff --git a/raiden/app.py b/raiden/app.py index <HASH>..<HASH> 100644 --- a/raiden/app.py +++ b/raiden/app.py @@ -44,10 +44,8 @@ class App(object): # pylint: disable=too-few-public-methods config, ) self.services = {'raiden': self.raiden} - if self.config['console']: - ...
Removed if statement I removed the if statement to make it more clear what was going on and easier to read after Augusto pointed this out
py
diff --git a/great_expectations/datasource/sparkdf_datasource.py b/great_expectations/datasource/sparkdf_datasource.py index <HASH>..<HASH> 100644 --- a/great_expectations/datasource/sparkdf_datasource.py +++ b/great_expectations/datasource/sparkdf_datasource.py @@ -271,8 +271,8 @@ class SparkDFDatasource(LegacyDatasou...
Support avro format in Spark datasource (#<I>)
py
diff --git a/horizon/tables/base.py b/horizon/tables/base.py index <HASH>..<HASH> 100644 --- a/horizon/tables/base.py +++ b/horizon/tables/base.py @@ -357,14 +357,12 @@ class Column(html.HTMLElement): data = datum.get(self.transform) else: # Basic object lookups - try: - ...
Missing default value on horizon.tables Column There was a getattr in the Column class, get_raw_data method that was missing a default value, thus spamming the logs with warnings. Now it will only log if debug is enabled Change-Id: I8bff<I>b8cb0f<I>d<I>f<I>bbcc<I>a<I> Closes-Bug: #<I>
py
diff --git a/src/ikpy/URDF_utils.py b/src/ikpy/URDF_utils.py index <HASH>..<HASH> 100644 --- a/src/ikpy/URDF_utils.py +++ b/src/ikpy/URDF_utils.py @@ -24,16 +24,19 @@ def find_next_joint(root, current_link, next_joint_name): search_by_name = True if next_joint_name is None: - # If no next joint is pr...
Fix error when base_elements is changed in place + Add an exception for empty base elements
py
diff --git a/metanl/wordlist.py b/metanl/wordlist.py index <HASH>..<HASH> 100644 --- a/metanl/wordlist.py +++ b/metanl/wordlist.py @@ -198,10 +198,7 @@ def get_frequency(word, lang, default_freq=0, scale=1e9): "but %r contains a space" % word) lookup = preprocess_text(word).lower() - ...
Significant speedup to get_frequency(). "in" seems to be badly implemented for Wordlist objects, so this change removes the check "if <word> in <Wordlist>", and just uses Wordlist[<word>], which is zero if <word> isn't in the Wordlist.
py
diff --git a/modularodm/fields/listfield.py b/modularodm/fields/listfield.py index <HASH>..<HASH> 100644 --- a/modularodm/fields/listfield.py +++ b/modularodm/fields/listfield.py @@ -166,6 +166,8 @@ class ListField(Field): return [] def update_backrefs(self, instance, cached_value, current_value): + ...
Bail early in update_backrefs if the underlying field_instance does not have a backref bail early. There is no point in iterating over all the values.
py
diff --git a/src/transformers/pipelines.py b/src/transformers/pipelines.py index <HASH>..<HASH> 100755 --- a/src/transformers/pipelines.py +++ b/src/transformers/pipelines.py @@ -959,7 +959,7 @@ class ZeroShotClassificationPipeline(Pipeline): top_inds = list(reversed(scores[iseq].argsort())) r...
Fix zero-shot pipeline single seq output shape (#<I>)
py
diff --git a/blockstack/lib/operations/update.py b/blockstack/lib/operations/update.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/operations/update.py +++ b/blockstack/lib/operations/update.py @@ -49,8 +49,7 @@ FIELDS = NAMEREC_FIELDS + [ # fields this operation mutates MUTATE_FIELDS = NAMEREC_MUTATE_FIELDS + [...
Preserve sender_pubkey on update
py
diff --git a/wikitextparser/argument.py b/wikitextparser/argument.py index <HASH>..<HASH> 100644 --- a/wikitextparser/argument.py +++ b/wikitextparser/argument.py @@ -47,8 +47,22 @@ class Argument(): position = 1 godstring = self._lststr[0] for ss, se in self._spans[self._typeindex][:self._in...
Rewrite the `name` property as a fix for the test that fails
py
diff --git a/src/nupic/regions/record_sensor.py b/src/nupic/regions/record_sensor.py index <HASH>..<HASH> 100644 --- a/src/nupic/regions/record_sensor.py +++ b/src/nupic/regions/record_sensor.py @@ -379,7 +379,8 @@ class RecordSensor(PyRegion): # If there is a field to predict, set bucketIdxOut and actValueOut...
Make sure we include disabled encoders when looking up predicted field
py
diff --git a/binstar_client/inspect_package/ipynb.py b/binstar_client/inspect_package/ipynb.py index <HASH>..<HASH> 100644 --- a/binstar_client/inspect_package/ipynb.py +++ b/binstar_client/inspect_package/ipynb.py @@ -8,11 +8,7 @@ class IPythonNotebook(object): self.name = content['metadata']['name'] or filen...
Small rewrite #<I>
py
diff --git a/blanc_basic_news/news/views.py b/blanc_basic_news/news/views.py index <HASH>..<HASH> 100644 --- a/blanc_basic_news/news/views.py +++ b/blanc_basic_news/news/views.py @@ -27,12 +27,12 @@ class PostListCategoryView(PostListView): class PostListMonthView(MonthArchiveView): - queryset = Post.objects.fi...
Add .select_related() to month/detail views as well
py
diff --git a/scapy/layers/l2.py b/scapy/layers/l2.py index <HASH>..<HASH> 100644 --- a/scapy/layers/l2.py +++ b/scapy/layers/l2.py @@ -50,6 +50,7 @@ def getmacbyip(ip, chainCC=0): """Return MAC address corresponding to a given IP address""" if isinstance(ip,Net): ip = iter(ip).next() + ip = inet_n...
Ensure that the 'ip' variable contains a valid IP address --HG-- branch : Issue #<I> - 2
py
diff --git a/src/app/drivers/merge.py b/src/app/drivers/merge.py index <HASH>..<HASH> 100644 --- a/src/app/drivers/merge.py +++ b/src/app/drivers/merge.py @@ -82,6 +82,7 @@ class MergeDriver(base.PepProttableDriver): channels = [x for x in self.lookup.get_isoquant_headernames(stored_psmnrs)] f...
Header in merge should be all channels for each set, then all PSM nrs
py
diff --git a/pymake/solution.py b/pymake/solution.py index <HASH>..<HASH> 100644 --- a/pymake/solution.py +++ b/pymake/solution.py @@ -56,7 +56,11 @@ class PymakeSolution(PyWritable): f.write( '# Visual Studio 14\n' ) f.write( 'VisualStudioVersion = 14.0.23107.0\n' ) f...
Updated solution template for VS <I> solutions.
py
diff --git a/cli/cumulusci.py b/cli/cumulusci.py index <HASH>..<HASH> 100644 --- a/cli/cumulusci.py +++ b/cli/cumulusci.py @@ -162,9 +162,9 @@ def ci_deploy(config): if config.build_type == 'feature': click.echo('-- Building with feature branch flow') - config.sf_username = os.environ.get...
Use config.feature_org_suffix to get credentials for feature build in cumulusci ci deploy
py
diff --git a/rinoh/backend/pdf/cos.py b/rinoh/backend/pdf/cos.py index <HASH>..<HASH> 100644 --- a/rinoh/backend/pdf/cos.py +++ b/rinoh/backend/pdf/cos.py @@ -95,8 +95,13 @@ class Reference(object): return self.document[self.identifier] def bytes(self, document): - return '{} {} R'.format(self.id...
PDF backend: fix inclusion of another PDF (XObjectForm)
py
diff --git a/pygccxml/parser/etree_scanner.py b/pygccxml/parser/etree_scanner.py index <HASH>..<HASH> 100644 --- a/pygccxml/parser/etree_scanner.py +++ b/pygccxml/parser/etree_scanner.py @@ -4,7 +4,7 @@ # See http://www.boost.org/LICENSE_1_0.txt # keep py2exe happy -import xml.etree.ElementTree +import xml.etree.El...
Ignore pylint warning about unused import The bug is still open on the pyexe bug tracker so I'll keep that hack around so that people's code/setups don't break.
py
diff --git a/tests/test_licensing.py b/tests/test_licensing.py index <HASH>..<HASH> 100644 --- a/tests/test_licensing.py +++ b/tests/test_licensing.py @@ -21,7 +21,7 @@ def test_py_boilerplate_conversion(py_truth): def test_py_boilerplate_rerun(py_truth): """Verify that the conversion doesn't change converted d...
Need to ignore first argument, not just drop it.
py
diff --git a/mot/evaluation_models.py b/mot/evaluation_models.py index <HASH>..<HASH> 100644 --- a/mot/evaluation_models.py +++ b/mot/evaluation_models.py @@ -51,6 +51,19 @@ class EvaluationModel(ModelFunction): double <fname>(const optimize_data* const data, model_float* const x); """ + ...
Adds method to set the noise level standard deviation in the evaluation models
py
diff --git a/Mixtape/featurizer.py b/Mixtape/featurizer.py index <HASH>..<HASH> 100644 --- a/Mixtape/featurizer.py +++ b/Mixtape/featurizer.py @@ -89,7 +89,7 @@ def load(filename): return featurizer -class Featurizer(sklearn.base.TransformerMixin): +class Featurizer(sklearn.base.BaseEstimator, sklearn.base.Tra...
Make featurizers inherit base estimators?
py
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index <HASH>..<HASH> 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -10861,6 +10861,7 @@ class NDFrame(PandasObject, SelectionMixin, indexing.IndexingMixin): cls.all = all # type: ignore[assignment] @doc( + ...
remove unnecessary use of Appender (#<I>)
py
diff --git a/nailgun/entities.py b/nailgun/entities.py index <HASH>..<HASH> 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -831,6 +831,7 @@ class ContentViewVersion(Entity, EntityReadMixin, EntityDeleteMixin): def __init__(self, server_config=None, **kwargs): self._fields = { + ...
Fix bug with ContentView and ContentViewVersion The `ContentView.component` field points to a content view version, not a content view. The `ContentViewVersion` entity has a "content_view" attribute. Fix both of these discrepancies.
py
diff --git a/satpy/tests/compositor_tests/test_viirs.py b/satpy/tests/compositor_tests/test_viirs.py index <HASH>..<HASH> 100644 --- a/satpy/tests/compositor_tests/test_viirs.py +++ b/satpy/tests/compositor_tests/test_viirs.py @@ -138,8 +138,8 @@ class TestVIIRSComposites(unittest.TestCase): (-20037508.34,...
Fix style issues in viirs composite tests
py
diff --git a/greenhouse/io.py b/greenhouse/io.py index <HASH>..<HASH> 100644 --- a/greenhouse/io.py +++ b/greenhouse/io.py @@ -318,6 +318,12 @@ class FileBase(object): buf.seek(0, os.SEEK_END) collected = buf.tell() + if size >= 0 and collected: + rc = buf.getvalue() + b...
if we have /anything/ return it immediately in case the i/o read would block
py
diff --git a/IndexedRedis/fields/__init__.py b/IndexedRedis/fields/__init__.py index <HASH>..<HASH> 100644 --- a/IndexedRedis/fields/__init__.py +++ b/IndexedRedis/fields/__init__.py @@ -280,7 +280,7 @@ class IRField(str): return ''.join(ret) - def __new__(self, name='', valueType=None, hashIndex=False): + def...
Fix constructing IRField with a defaultValue defined
py
diff --git a/mangopay/api.py b/mangopay/api.py index <HASH>..<HASH> 100644 --- a/mangopay/api.py +++ b/mangopay/api.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +from __future__ import print_function from __future__ import unicode_literals import requests @@ -154,7 +155,9 @@ class APIRequest(object): ...
Added print statement to debug using logs.
py
diff --git a/spikeextractors/extractors/neuroscopeextractors/neuroscopeextractors.py b/spikeextractors/extractors/neuroscopeextractors/neuroscopeextractors.py index <HASH>..<HASH> 100644 --- a/spikeextractors/extractors/neuroscopeextractors/neuroscopeextractors.py +++ b/spikeextractors/extractors/neuroscopeextractors/n...
Update spikeextractors/extractors/neuroscopeextractors/neuroscopeextractors.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from distutils.core import setup setup(name='gpiocrust', - version='0.1', + version='1.0', description='A pythonic wrapper around RPi.GPIO', author='zourtney', author_email='zour...
Version bump to <I> (RC)
py
diff --git a/cnxarchive/search.py b/cnxarchive/search.py index <HASH>..<HASH> 100644 --- a/cnxarchive/search.py +++ b/cnxarchive/search.py @@ -59,7 +59,7 @@ QUERY_FIELD_PAIR_SEPARATOR = '-::-' SET_OPERATORS = ('OR', 'AND', 'NOT',) QUERY_TYPES = ('OR', 'AND', 'weakAND',) -DEFAULT_QUERY_TYPE = SET_OPERATORS[0] +DEFAU...
Changes the default query type to weak and.
py
diff --git a/pyspectator/temperature_reader.py b/pyspectator/temperature_reader.py index <HASH>..<HASH> 100644 --- a/pyspectator/temperature_reader.py +++ b/pyspectator/temperature_reader.py @@ -46,7 +46,7 @@ class LinuxCpuTemperatureReader(): class WindowsCpuTemperatureReader(): @classmethod - def get_reade...
Update temperature_reader.py The get_reader method of the WindowsTemp class can't accept the argument given, but adding cls fixes it.
py
diff --git a/will/backends/io_adapters/slack.py b/will/backends/io_adapters/slack.py index <HASH>..<HASH> 100644 --- a/will/backends/io_adapters/slack.py +++ b/will/backends/io_adapters/slack.py @@ -353,7 +353,7 @@ class SlackBackend(IOBackend, SleepMixin, StorageMixin): }) if hasattr(event, "kwargs")...
Change parse option from full to none in Slack, this will not format html messages
py
diff --git a/src/sos/workflow_executor.py b/src/sos/workflow_executor.py index <HASH>..<HASH> 100755 --- a/src/sos/workflow_executor.py +++ b/src/sos/workflow_executor.py @@ -1681,7 +1681,7 @@ class Base_Executor: dag.save(env.config['output_dag']) exec_error.append(run...
Make the main run() function easier to read
py
diff --git a/canmatrix/exportkcd.py b/canmatrix/exportkcd.py index <HASH>..<HASH> 100644 --- a/canmatrix/exportkcd.py +++ b/canmatrix/exportkcd.py @@ -45,8 +45,6 @@ def createSignal(signal, nodeList): value = etree.Element('Value') if signal._is_signed: value.set('type',"signed") - else: - ...
for kcd, do not set type to unsigned, as this is the default value type
py
diff --git a/symfit/contrib/interactive_guess/tests/tests.py b/symfit/contrib/interactive_guess/tests/tests.py index <HASH>..<HASH> 100644 --- a/symfit/contrib/interactive_guess/tests/tests.py +++ b/symfit/contrib/interactive_guess/tests/tests.py @@ -72,12 +72,14 @@ class Gaussian2DInteractiveGuessTest(unittest.TestCas...
Updated a test to reflect changes made in 9e<I>b<I>
py
diff --git a/examples/pytorch_hpc_example.py b/examples/pytorch_hpc_example.py index <HASH>..<HASH> 100644 --- a/examples/pytorch_hpc_example.py +++ b/examples/pytorch_hpc_example.py @@ -3,8 +3,7 @@ from test_tube import Experiment, HyperOptArgumentParser, SlurmCluster """ -This script demonstrates how to do a hyp...
added pytorch exp
py
diff --git a/twarc.py b/twarc.py index <HASH>..<HASH> 100755 --- a/twarc.py +++ b/twarc.py @@ -785,18 +785,21 @@ class Twarc(object): if recursive: if reply['id_str'] != _ignore: - yield from self.replies(reply, recursive) + for r in self.replies(rep...
yield from not available in python<I>
py
diff --git a/tornado/stack_context.py b/tornado/stack_context.py index <HASH>..<HASH> 100644 --- a/tornado/stack_context.py +++ b/tornado/stack_context.py @@ -93,16 +93,13 @@ def NullContext(): finally: _state.contexts = old_contexts -def wrap(fn, *args, **kwargs): +def wrap(fn): '''Returns a calla...
Remove the ability to pre-bind parameters in stack_context.wrap. This functionality was incorrect and unused, and unlike async_callback, I don't think the implicit binding is a good fit for this API.
py
diff --git a/insights/client/connection.py b/insights/client/connection.py index <HASH>..<HASH> 100644 --- a/insights/client/connection.py +++ b/insights/client/connection.py @@ -293,7 +293,7 @@ class InsightsConnection(object): logger.debug(e) logger.error('Failed to connect to proxy ...
send bytes over socket (#<I>)
py
diff --git a/pyxmpp2/transport.py b/pyxmpp2/transport.py index <HASH>..<HASH> 100644 --- a/pyxmpp2/transport.py +++ b/pyxmpp2/transport.py @@ -833,10 +833,18 @@ class TCPTransport(XMPPTransport, IOHandler): """ IN_LOGGER.debug("IN: %r", data) if data: - self._reader.feed(data) + ...
Release the lock when feeding the parser Release TCPTransport.lock when feeding the parser, it may call code which may want to use the transport too.
py
diff --git a/notario/engine.py b/notario/engine.py index <HASH>..<HASH> 100644 --- a/notario/engine.py +++ b/notario/engine.py @@ -34,7 +34,8 @@ class Validator(object): tree.append(key) if isinstance(value, dict): self.traverser(value, svalue, tree) - tree.pop(...
we probably don't pop ever after recursing
py
diff --git a/src/python/dxpy/utils/describe.py b/src/python/dxpy/utils/describe.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/utils/describe.py +++ b/src/python/dxpy/utils/describe.py @@ -378,7 +378,7 @@ def print_data_obj_desc(desc, verbose=False): if desc["class"] == "file" or desc["class"] ==...
PTFM-<I>-sidenote: adding delimiter between size string and "sponsored by DNAnexus" string
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,6 @@ setup(name='gluish', package_dir={'gluish': 'gluish'}, install_requires=[ 'BeautifulSoup==3.2.1', - 'MySQL-python==1.2.5', 'astroid>=1.0.1', 'colorama==0.3.3', ...
Put sqlitebck and MySQL dependency in extras section
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -368,8 +368,17 @@ def pytest_runtest_setup(item): skip_if_not_root_marker = item.get_closest_marker('skip_if_not_root') if skip_if_not_root_marker is not None or _has_unittest_at...
The `skip_if_not_root` pytest marker is now windows compatible
py
diff --git a/blockstack_cli_0.14.1/blockstack_client/profile.py b/blockstack_cli_0.14.1/blockstack_client/profile.py index <HASH>..<HASH> 100644 --- a/blockstack_cli_0.14.1/blockstack_client/profile.py +++ b/blockstack_cli_0.14.1/blockstack_client/profile.py @@ -79,6 +79,15 @@ def load_name_zonefile(name, expected_zone...
check that drivers return *serialized* zonefiles
py
diff --git a/alot/helper.py b/alot/helper.py index <HASH>..<HASH> 100644 --- a/alot/helper.py +++ b/alot/helper.py @@ -44,7 +44,7 @@ def pretty_datetime(d): def cmd_output(command_line): - args = shlex.split(command_line) + args = shlex.split(command_line.encode('ascii', errors='ignore')) try: ...
shlex and unicode (needs ascii)
py
diff --git a/umap/parametric_umap.py b/umap/parametric_umap.py index <HASH>..<HASH> 100644 --- a/umap/parametric_umap.py +++ b/umap/parametric_umap.py @@ -354,6 +354,11 @@ class ParametricUMAP(UMAP): if len(self.dims) > 1: X = np.reshape(X, [len(X)] + list(self.dims)) + if self.pa...
added error message back in for easier merge
py
diff --git a/ipyrad/core/params.py b/ipyrad/core/params.py index <HASH>..<HASH> 100644 --- a/ipyrad/core/params.py +++ b/ipyrad/core/params.py @@ -42,7 +42,7 @@ class Hackers(object): ("demultiplex_on_i7_tags", False), ("declone_PCR_duplicates", False), ("merge_technical_replicate...
Make hackersonly.exclude_reference default to True, since in most cases the reference sequence isn't 'real' data, and people won't want it included in downstream.
py
diff --git a/datatableview/datatables.py b/datatableview/datatables.py index <HASH>..<HASH> 100644 --- a/datatableview/datatables.py +++ b/datatableview/datatables.py @@ -574,7 +574,7 @@ class Datatable(six.with_metaclass(DatatableMetaclass)): '_extra_data': self.get_extra_record_data(obj), } ...
Consult column class for processor kwargs This should ensure that column flags like ``localize`` get forwarded to a processor callable
py
diff --git a/visidata/shell.py b/visidata/shell.py index <HASH>..<HASH> 100644 --- a/visidata/shell.py +++ b/visidata/shell.py @@ -236,14 +236,14 @@ def copy_files(sheet, paths, dest): destdir = Path(dest) destdir.is_dir() or vd.fail('target must be directory') vd.status('copying %s %s to %s' % (len(path...
[shell-] fix copy-files
py
diff --git a/src/lib/interface.py b/src/lib/interface.py index <HASH>..<HASH> 100644 --- a/src/lib/interface.py +++ b/src/lib/interface.py @@ -432,16 +432,22 @@ class XInterfaceBase(threading.Thread): if offset == 0: self.__sendKeyCode(keyCode, theWindow=focus) ...
Press and release modifier keys when transmitting shifted symbols. This will hopefully fix issues with Wine and other applications that are not recognising shifted characters from AutoKey. git-svn-id: <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -8,7 +8,6 @@ setup( author = "Bram Schoenmakers", author_email = "me@bramschoenmakers.nl", url = "https://github.com/bram85/topydo", - download_url = "https://github.com/bram85/topydo/archive/stable.zip", ...
Remove download_url from setup.py.
py
diff --git a/authomatic/providers/oauth2.py b/authomatic/providers/oauth2.py index <HASH>..<HASH> 100644 --- a/authomatic/providers/oauth2.py +++ b/authomatic/providers/oauth2.py @@ -795,7 +795,8 @@ class Facebook(OAuth2): location=True, name=True, picture=True, - timezone=True + ...
Make sure the username is not marked as supported
py
diff --git a/dsdev_utils/paths.py b/dsdev_utils/paths.py index <HASH>..<HASH> 100644 --- a/dsdev_utils/paths.py +++ b/dsdev_utils/paths.py @@ -78,7 +78,7 @@ def remove_any(path): class ChDir(object): def __init__(self, path): - if six.PY2 or sys.version_info[1] == 5: + if six.PY2 or sys.version_in...
reg path for python <I> and <I>
py
diff --git a/docker/api/container.py b/docker/api/container.py index <HASH>..<HASH> 100644 --- a/docker/api/container.py +++ b/docker/api/container.py @@ -100,7 +100,7 @@ class ContainerApiMixin(object): DeprecationWarning ) res = self._post_json( - self._url("/containe...
Fix ContainerApiMixin.copy with dict container arg
py
diff --git a/salt/utils/gitfs.py b/salt/utils/gitfs.py index <HASH>..<HASH> 100644 --- a/salt/utils/gitfs.py +++ b/salt/utils/gitfs.py @@ -404,7 +404,7 @@ class GitProvider(object): # No need to pass an environment to self.root() here since per-saltenv # configuration is a gitfs-only feature and check...
salt.utils.gitfs: Fix ref to self.root (#<I>) This regressed during a recent merge-forward. See here for more info: <URL>
py
diff --git a/py/selenium/webdriver/firefox/webdriver.py b/py/selenium/webdriver/firefox/webdriver.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/firefox/webdriver.py +++ b/py/selenium/webdriver/firefox/webdriver.py @@ -246,9 +246,8 @@ class WebDriver(RemoteWebDriver): driver.install_addon...
[py] use context manager for encoding
py
diff --git a/pgpy/pgp.py b/pgpy/pgp.py index <HASH>..<HASH> 100644 --- a/pgpy/pgp.py +++ b/pgpy/pgp.py @@ -1326,7 +1326,7 @@ class PGPKey(PGPObject, Armorable): for sk in itertools.chain([self], self.subkeys.values()): sk._key.unprotect(passphrase) del passphrase - ...
PGPKey.unlock now yields self, so that with key.unlock() as ... now behaves as would be expected
py
diff --git a/sh.py b/sh.py index <HASH>..<HASH> 100644 --- a/sh.py +++ b/sh.py @@ -3536,6 +3536,7 @@ class SelfWrapper(ModuleType): # Copy the Command class and add any baked call kwargs to it command_cls = Command cls_attrs = command_cls.__dict__.copy() + cls_attrs.pop("__dict__", Non...
Fix weird TypeError thrown by test_wraps test case Without this fix, this test case would raise: TypeError: descriptor '__dict__' for 'Command' objects doesn't apply to a 'Command' object
py
diff --git a/salt/modules/ebuild.py b/salt/modules/ebuild.py index <HASH>..<HASH> 100644 --- a/salt/modules/ebuild.py +++ b/salt/modules/ebuild.py @@ -69,6 +69,10 @@ def list_pkgs(): pkgs = _vartree().dbapi.cpv_all() for cpv in pkgs: ret[_cpv_to_name(cpv)] = _cpv_to_version(cpv) + __salt__['pk...
Add multiple version support to ebuild
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.31.1" +__version__ = "0.31.2"
Update version number to <I>
py
diff --git a/pygal/ghost.py b/pygal/ghost.py index <HASH>..<HASH> 100644 --- a/pygal/ghost.py +++ b/pygal/ghost.py @@ -40,6 +40,8 @@ class Ghost(object): def __init__(self, config=None, **kwargs): """Init config""" + name = self.__class__.__name__ + self.cls = REAL_CHARTS[name] if...
Fix tests by re using __value__
py
diff --git a/salt/states/mysql_query.py b/salt/states/mysql_query.py index <HASH>..<HASH> 100644 --- a/salt/states/mysql_query.py +++ b/salt/states/mysql_query.py @@ -137,6 +137,7 @@ def run(name, elif __opts__['test']: ret['result'] = None ret['comment'] = 'Query would execute, not storing resul...
Don't execute query if test mode is enabled. Fixes <I>
py
diff --git a/flask_sqlalchemy_booster/crud_api_view.py b/flask_sqlalchemy_booster/crud_api_view.py index <HASH>..<HASH> 100644 --- a/flask_sqlalchemy_booster/crud_api_view.py +++ b/flask_sqlalchemy_booster/crud_api_view.py @@ -21,11 +21,15 @@ def construct_get_view_function( def get(_id): _id = _id.strip(...
adding permitted objject getter in batch request also
py
diff --git a/tests/integration/test_kuyruk.py b/tests/integration/test_kuyruk.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_kuyruk.py +++ b/tests/integration/test_kuyruk.py @@ -111,7 +111,9 @@ class KuyrukTestCase(unittest.TestCase): with tasks.raise_exception.run_in_queue() as result: ...
fix tests for python 3
py
diff --git a/models/rasmachine/rasmachine.py b/models/rasmachine/rasmachine.py index <HASH>..<HASH> 100644 --- a/models/rasmachine/rasmachine.py +++ b/models/rasmachine/rasmachine.py @@ -384,6 +384,13 @@ if __name__ == '__main__': model.save(inc_model_file) logger.info(time.strftime('%c')) + # Save a tim...
Add time stamped pickle as backup to Ras machine
py
diff --git a/spyderlib/widgets/projectexplorer.py b/spyderlib/widgets/projectexplorer.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/projectexplorer.py +++ b/spyderlib/widgets/projectexplorer.py @@ -666,6 +666,7 @@ class ExplorerTreeWidget(OneColumnTree): project.populate_tree(self, self.include, self....
Project explorer/bugfix: after importing a project, PYTHONPATH was not updated in Spyder
py
diff --git a/django_user_agents/middleware.py b/django_user_agents/middleware.py index <HASH>..<HASH> 100644 --- a/django_user_agents/middleware.py +++ b/django_user_agents/middleware.py @@ -1,9 +1,10 @@ from django.utils.functional import SimpleLazyObject +from django.utils.deprecation import MiddlewareMixin from ...
Update middleware to be django<I>-compatible
py
diff --git a/housekeeper/pipelines/mip/scout.py b/housekeeper/pipelines/mip/scout.py index <HASH>..<HASH> 100644 --- a/housekeeper/pipelines/mip/scout.py +++ b/housekeeper/pipelines/mip/scout.py @@ -32,7 +32,8 @@ def prepare_scout(run_obj, madeline_exe): # save the new scout config config_path = Path(run_root...
make yaml dump prettier
py
diff --git a/django_seed/management/commands/seed.py b/django_seed/management/commands/seed.py index <HASH>..<HASH> 100644 --- a/django_seed/management/commands/seed.py +++ b/django_seed/management/commands/seed.py @@ -18,6 +18,13 @@ class Command(AppCommand): help='number of each model to seed'), ...
Added the add_arguments method to the Command class.
py
diff --git a/pyontutils/ttlfmt.py b/pyontutils/ttlfmt.py index <HASH>..<HASH> 100755 --- a/pyontutils/ttlfmt.py +++ b/pyontutils/ttlfmt.py @@ -76,6 +76,7 @@ def parse(source, format_guess, outpath, graph=None): if args['--format']: format_guess = args['--format'] for format in (format_guess, *(f for ...
ttlfmt note about possibility of more efficient streaming parser to check for the file type
py
diff --git a/blimpy/waterfall.py b/blimpy/waterfall.py index <HASH>..<HASH> 100755 --- a/blimpy/waterfall.py +++ b/blimpy/waterfall.py @@ -32,6 +32,7 @@ from .plotting import * from astropy.time import Time from astropy import units as u +from numba import jit #------ # Logging set up @@ -346,9 +347,13 @@ class...
accelerate block_dc with numba
py
diff --git a/src/python/pants/backend/jvm/tasks/jar_create.py b/src/python/pants/backend/jvm/tasks/jar_create.py index <HASH>..<HASH> 100644 --- a/src/python/pants/backend/jvm/tasks/jar_create.py +++ b/src/python/pants/backend/jvm/tasks/jar_create.py @@ -161,6 +161,10 @@ class JarCreate(JarTask): target_classes ...
Add resource products on the target itself in jar_create This fixes a regression where scalac_plugins were not having their scalac-plugin.xml files written into the jar. Any other subclass of JvmCompile that uses JvmCompile.extra_products will also suffer from this regression. Testing Done: CI passes Reviewed at <U...
py
diff --git a/cherrypy/process/plugins.py b/cherrypy/process/plugins.py index <HASH>..<HASH> 100644 --- a/cherrypy/process/plugins.py +++ b/cherrypy/process/plugins.py @@ -460,7 +460,7 @@ class BackgroundTask(SetDaemonProperty, threading.Thread): it won't delay stopping the whole process. """ - def __init...
Remove changes I would have expected to have been removed in the merge.
py
diff --git a/galpy/orbit.py b/galpy/orbit.py index <HASH>..<HASH> 100644 --- a/galpy/orbit.py +++ b/galpy/orbit.py @@ -1,6 +1,18 @@ from galpy.orbit_src import Orbit # +# Functions +# +# Boundary conditions +zEqZeroBC= Orbit._zEqZeroBC +vzEqZeroBC= Orbit._vzEqZeroBC +REqZeroBC= Orbit._REqZeroBC +vREqZeroBC= Orbit._...
put the default boundary conditions at the top level
py
diff --git a/tests/scripts/thread-cert/node.py b/tests/scripts/thread-cert/node.py index <HASH>..<HASH> 100755 --- a/tests/scripts/thread-cert/node.py +++ b/tests/scripts/thread-cert/node.py @@ -497,7 +497,7 @@ class NodeImpl: return results - def _expect_command_output(self, cmd: str): + def _expect...
[thread-cert] ignore CLI log lines (#<I>) This commit allows node.py to ignore log lines from node CLI output. Only if _expect_command_output is used.
py
diff --git a/rollbar/__init__.py b/rollbar/__init__.py index <HASH>..<HASH> 100644 --- a/rollbar/__init__.py +++ b/rollbar/__init__.py @@ -1605,13 +1605,12 @@ def _parse_response(path, access_token, params, resp, endpoint=None): def _extract_user_ip(request): - # some common things passed by load balancers... w...
Collect the user IP from X-Forwarded-For, then falls back to X-Real-Ip
py
diff --git a/gwpy/tests/test_spectrogram.py b/gwpy/tests/test_spectrogram.py index <HASH>..<HASH> 100644 --- a/gwpy/tests/test_spectrogram.py +++ b/gwpy/tests/test_spectrogram.py @@ -187,6 +187,7 @@ class TestSpectrogram(TestArray2D): with pytest.raises(TypeError): array.filter(lti, blah=1) + ...
tests: added missing test decorator skips missing h5py dependency
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -502,6 +502,8 @@ class MinionBase(object): conn = False # shuffle the masters and then loop through them opts['local_masters'] = copy.copy(opts['master']) + ...
Restore random_master functionality (#<I>) Was errantly removed in <I>b1d<I>f4c<I>f<I>d7af1e<I>cafbb2d1b8c
py
diff --git a/synapse/lib/syntax.py b/synapse/lib/syntax.py index <HASH>..<HASH> 100644 --- a/synapse/lib/syntax.py +++ b/synapse/lib/syntax.py @@ -353,13 +353,11 @@ def parse_ques(text,off=0,trim=True): if text[off] != '=': raise SyntaxError(text=text, off=off, mesg='expected equals for by...
acutally commit all the files for the delta :D
py
diff --git a/gdspy/gdsiiformat.py b/gdspy/gdsiiformat.py index <HASH>..<HASH> 100644 --- a/gdspy/gdsiiformat.py +++ b/gdspy/gdsiiformat.py @@ -13,6 +13,7 @@ from __future__ import print_function from __future__ import absolute_import import sys +import warnings if sys.version_info.major < 3: from builtins i...
adding warning when encountering null bytes in gds file
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ license: GNU-GPL2 from setuptools import setup setup(name='arguments', - version='67', + version='68', description='Argument parser based on docopt', url='https://github.com/erikdejonge...
Sunday <I> October <I> (week:<I> day:<I>), <I>:<I>:<I>
py
diff --git a/dipper.py b/dipper.py index <HASH>..<HASH> 100755 --- a/dipper.py +++ b/dipper.py @@ -31,6 +31,7 @@ from dipper.sources.WormBase import WormBase from dipper.sources.OMIA import OMIA # from dipper.sources.Monarch import Monarch # from dipper.sources.GeneOntology import GeneOntology +from dipper.sources.G...
add gwas option to dipper.py
py
diff --git a/lib/py/src/transport/TTransport.py b/lib/py/src/transport/TTransport.py index <HASH>..<HASH> 100644 --- a/lib/py/src/transport/TTransport.py +++ b/lib/py/src/transport/TTransport.py @@ -234,7 +234,7 @@ class TFramedTransport(TTransportBase): def __init__(self, trans,): self.__trans = trans - s...
python: Make TFramedTransport use a cStringIO for reading Tested by running a client against a framed-transport server. git-svn-id: <URL>
py
diff --git a/src/cdumay_error/__init__.py b/src/cdumay_error/__init__.py index <HASH>..<HASH> 100644 --- a/src/cdumay_error/__init__.py +++ b/src/cdumay_error/__init__.py @@ -28,6 +28,13 @@ class Error(Exception): ) ]) + def __repr__(self): + return "%s<code=%s, message=%s>" % ...
devel: added __repr__
py
diff --git a/teneto/networkmeasures/temporal_degree_centrality.py b/teneto/networkmeasures/temporal_degree_centrality.py index <HASH>..<HASH> 100755 --- a/teneto/networkmeasures/temporal_degree_centrality.py +++ b/teneto/networkmeasures/temporal_degree_centrality.py @@ -48,7 +48,7 @@ def temporal_degree_centrality(net_...
renamed network_info to netinfo for consistency
py
diff --git a/elasticapm/instrumentation/packages/elasticsearch.py b/elasticapm/instrumentation/packages/elasticsearch.py index <HASH>..<HASH> 100644 --- a/elasticapm/instrumentation/packages/elasticsearch.py +++ b/elasticapm/instrumentation/packages/elasticsearch.py @@ -35,6 +35,7 @@ import logging import elasticapm...
Elasticsearch Instrumentation: Safer json serialization (#<I>) * Handle datetime objects in elasticsearch queries * Use compat.text_type instead of str for python version compatibility
py
diff --git a/librosa/segment.py b/librosa/segment.py index <HASH>..<HASH> 100644 --- a/librosa/segment.py +++ b/librosa/segment.py @@ -167,7 +167,6 @@ def structure_feature(rec, pad=True, inverse=False): return np.ascontiguousarray(struct.T).T -@cache def agglomerative(data, k, clusterer=None): """Bottom...
cannot cache agglomerative either
py
diff --git a/tests/test_commands.py b/tests/test_commands.py index <HASH>..<HASH> 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -1633,7 +1633,7 @@ class TestRedisCommands(object): def test_xadd(self, r): stream = 'stream' message_id = r.xadd(stream, {'foo': 'bar'}) - ...
python 2 likes binary regex hints specified as 'br' rather than 'rb'
py
diff --git a/bokeh/server/utils/plugins.py b/bokeh/server/utils/plugins.py index <HASH>..<HASH> 100644 --- a/bokeh/server/utils/plugins.py +++ b/bokeh/server/utils/plugins.py @@ -52,5 +52,6 @@ def object_page(prefix): hide_navbar=True, splitjs=boke...
patching function name in decorator name
py