instance_id
stringlengths
10
57
file_changes
listlengths
1
15
repo
stringlengths
7
53
base_commit
stringlengths
40
40
problem_statement
stringlengths
11
52.5k
patch
stringlengths
251
7.06M
SpikeInterface__spikeinterface-3094
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/spikeinterface/core/basesorting.py:BaseSorting.register_recording" ], "edited_modules": [ "src/spikeinterface/core/basesorting.py:BaseSorting" ] }, "file": "src/spi...
SpikeInterface/spikeinterface
47dd3712245c752a4d1fe2c55cd71e88e492b51b
Standardise order of recording, sorting args Hi all! I've noticed that for different functions which require both a recording and a sorting, the order in which these should be passed is not consistent. E.g. `si.create_sorting_analyzer(sorting, recording)` but `si.estimate_sparsity(recording, sorting)` Not exactly hi...
diff --git a/src/spikeinterface/core/basesorting.py b/src/spikeinterface/core/basesorting.py index fd68df9dd..d9a567ded 100644 --- a/src/spikeinterface/core/basesorting.py +++ b/src/spikeinterface/core/basesorting.py @@ -197,7 +197,7 @@ class BaseSorting(BaseExtractor): self.get_num_segments() == recording...
SpikeInterface__spikeinterface-3120
[ { "changes": { "added_entities": [ "src/spikeinterface/core/baserecording.py:BaseRecording._get_t_starts", "src/spikeinterface/core/baserecording.py:BaseRecording._get_time_vectors" ], "added_modules": null, "edited_entities": [ "src/spikeinterface/core/baserecord...
SpikeInterface/spikeinterface
588ff5f066df594234242c556dc9afa005342e77
Times not propagated by `.save_to_memory()` I was a bit surprised to see that the following is possible: ``` rec = si.read_binary_folder(...) rec1 = rec.save_to_memory() print(rec.sample_index_to_time(0), rec1.sample_index_to_time(0)) # => 2451.763033333333, 0.0 ``` I'm working around this by `rec1.set_times...
diff --git a/src/spikeinterface/core/baserecording.py b/src/spikeinterface/core/baserecording.py index 9a9747bf0..0ea942667 100644 --- a/src/spikeinterface/core/baserecording.py +++ b/src/spikeinterface/core/baserecording.py @@ -498,24 +498,35 @@ class BaseRecording(BaseRecordingSnippets): rs = self._recording...
SpikeInterface__spikeinterface-3180
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/spikeinterface/core/base.py:BaseExtractor.save_to_folder" ], "edited_modules": [ "src/spikeinterface/core/base.py:BaseExtractor" ] }, "file": "src/spikeinterface/co...
SpikeInterface/spikeinterface
e4fa25abf4a949a31bdfebe7c868e393c11cfed3
Unit aggregation should preserve unit ids. Like https://github.com/SpikeInterface/spikeinterface/issues/2789 but for UnitAggregation. Currently it does not: ```python from spikeinterface.core import generate_sorting sorting1 = generate_sorting(num_units=3) sorting1 = sorting1.rename_units(new_unit_ids=["unit1...
diff --git a/src/spikeinterface/core/base.py b/src/spikeinterface/core/base.py index 8b037ad10..f3e300fff 100644 --- a/src/spikeinterface/core/base.py +++ b/src/spikeinterface/core/base.py @@ -7,6 +7,7 @@ import warnings import weakref import json import pickle +import os import random import string from packagin...
SpikeInterface__spikeinterface-3309
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/spikeinterface/curation/curation_format.py:convert_from_sortingview_curation_format_v0" ], "edited_modules": [ "src/spikeinterface/curation/curation_format.py:convert_from_sortin...
SpikeInterface/spikeinterface
694f8620e7e79cc914678bf2c8a3a7d70df3af29
curation_dict from sortingview doesn't have 'mergeGroups' key Hello, I just updated Spikeinterface from 0.100.2 to 0.101.0 and am making the transition to using sorting analyzer class which has been pretty smooth for the most part but I'm getting an error related to sortingview_curation. Here's my code: ``` sa...
diff --git a/src/spikeinterface/curation/curation_format.py b/src/spikeinterface/curation/curation_format.py index babe7aac4..511abb780 100644 --- a/src/spikeinterface/curation/curation_format.py +++ b/src/spikeinterface/curation/curation_format.py @@ -92,13 +92,17 @@ def convert_from_sortingview_curation_format_v0(sor...
SpikeInterface__spikeinterface-3347
[ { "changes": { "added_entities": [ "src/spikeinterface/core/sortinganalyzer.py:AnalyzerExtension._default_run_info_dict", "src/spikeinterface/core/sortinganalyzer.py:AnalyzerExtension.load_run_info", "src/spikeinterface/core/sortinganalyzer.py:AnalyzerExtension._save_run_info" ...
SpikeInterface/spikeinterface
740e7799c554387888afad655a10f4f3ace7f9dd
Sorting analyzer extensions don't know if they've been interrupted Hi all — sometimes a sorting analyzer's computation of an extension is interrupted, either accidentally (i.e. a SLURM job times out), or manually (I want to change a parameter). Normally, the way one would deal with this, in a script, is to check if the...
diff --git a/src/spikeinterface/core/sortinganalyzer.py b/src/spikeinterface/core/sortinganalyzer.py index 13b64664a..57c9e5f37 100644 --- a/src/spikeinterface/core/sortinganalyzer.py +++ b/src/spikeinterface/core/sortinganalyzer.py @@ -11,6 +11,7 @@ import weakref import shutil import warnings import importlib +fro...
SpikeInterface__spikeinterface-3369
[ { "changes": { "added_entities": [ "src/spikeinterface/core/sparsity.py:ChannelSparsity.from_amplitude" ], "added_modules": null, "edited_entities": [ "src/spikeinterface/core/sparsity.py:ChannelSparsity.from_best_channels", "src/spikeinterface/core/sparsity.py:Ch...
SpikeInterface/spikeinterface
f64ad5f4609f3c0c6054595ba784073477d016fd
Non default Sparsity kwargs when creating SortingAnalyzer I'd like to create a `SortingAnalyzer` object with sparsity computed from channel groups rather than the default setting. However, it seems sparsity arguments passed to `spikeinterface.core.create_sorting_analyzer()` are passed to `spikeinterface.core.estimate_s...
diff --git a/src/spikeinterface/core/sparsity.py b/src/spikeinterface/core/sparsity.py index a38562ea2..fd613e1fc 100644 --- a/src/spikeinterface/core/sparsity.py +++ b/src/spikeinterface/core/sparsity.py @@ -1,6 +1,7 @@ from __future__ import annotations import numpy as np +import warnings from .basesorting i...
SpikeInterface__spikeinterface-3670
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/spikeinterface/postprocessing/principal_component.py:ComputePrincipalComponents.get_some_projections" ], "edited_modules": [ "src/spikeinterface/postprocessing/principal_componen...
SpikeInterface/spikeinterface
1ed860fe15ec32f0aba5e7b876821393e9e5d758
PCA quality metrics crash when using "concatenated" mode Computing PCA quality metrics crashes if PCs were calculated with `mode='concatenated'` : ``` analyzer.compute("principal_components", mode='concatenated', n_components=5, dtype='float32') ``` Then : ``` ana...
diff --git a/src/spikeinterface/postprocessing/principal_component.py b/src/spikeinterface/postprocessing/principal_component.py index 38ea6b382..dd3a8febd 100644 --- a/src/spikeinterface/postprocessing/principal_component.py +++ b/src/spikeinterface/postprocessing/principal_component.py @@ -260,7 +260,11 @@ class Comp...
SpikeInterface__spikeinterface-3701
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/spikeinterface/extractors/mdaextractors.py:MdaSortingExtractor.__init__", "src/spikeinterface/extractors/mdaextractors.py:MdaSortingExtractor.write_sorting" ], "edited_modules": ...
SpikeInterface/spikeinterface
64d253c46aa26ee2eb9519472c92bbaa0bf0e481
Storing channel index from MDA sorting in MdaSortingExtractor for downstream use I am using spikeinterface and NeuroConv to convert a firings.mda sorting file from an older version of MountainSort to an NWB file. Currently this creates an NWB Units table with spike times and unit labels from MountainSort, but the table...
diff --git a/src/spikeinterface/extractors/mdaextractors.py b/src/spikeinterface/extractors/mdaextractors.py index d2886d9e7..c1fc1144d 100644 --- a/src/spikeinterface/extractors/mdaextractors.py +++ b/src/spikeinterface/extractors/mdaextractors.py @@ -180,6 +180,13 @@ class MdaRecordingSegment(BaseRecordingSegment): ...
SpikeInterface__spikeinterface-3737
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/spikeinterface/comparison/basecomparison.py:MixinSpikeTrainComparison.__init__" ], "edited_modules": [ "src/spikeinterface/comparison/basecomparison.py:MixinSpikeTrainComparison"...
SpikeInterface/spikeinterface
e1535daac114ad293cb0acdb555f1a96d797f038
Compare multiple sorters Hi, I have been trying to see if I could speed up the compare_multiple_sorters function (it has been taking a very long time to complete). I have tried changing the n_jobs parameter, but it seems to not have any effect? In every case I see only 1 CPU as active. I am running si version 0.102.0, ...
diff --git a/src/spikeinterface/comparison/basecomparison.py b/src/spikeinterface/comparison/basecomparison.py index 3a39f08a7..e3f23726c 100644 --- a/src/spikeinterface/comparison/basecomparison.py +++ b/src/spikeinterface/comparison/basecomparison.py @@ -283,9 +283,10 @@ class MixinSpikeTrainComparison: * n_j...
SpikeInterface__spikeinterface-3778
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/spikeinterface/core/unitsaggregationsorting.py:UnitsAggregationSorting.__init__" ], "edited_modules": [ "src/spikeinterface/core/unitsaggregationsorting.py:UnitsAggregationSortin...
SpikeInterface/spikeinterface
526e308f3e01d8e653cfe6fc79c15e8c8bf08586
`aggregate_units ` doesn't propagate properties when string lengths don't match Similar bug to #3733 Suppose you have two sortings with the same property, whose labels are strings. The `dtype` is equal to `f"U{n}"` where `n` is the max length of any of the strings. When we do a type check here: https://github.com/Sp...
diff --git a/src/spikeinterface/core/unitsaggregationsorting.py b/src/spikeinterface/core/unitsaggregationsorting.py index 9eb37e31e..fa7810632 100644 --- a/src/spikeinterface/core/unitsaggregationsorting.py +++ b/src/spikeinterface/core/unitsaggregationsorting.py @@ -77,43 +77,44 @@ class UnitsAggregationSorting(BaseS...
SpikeInterface__spikeinterface-3829
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/spikeinterface/core/channelsaggregationrecording.py:ChannelsAggregationRecording.__init__", "src/spikeinterface/core/channelsaggregationrecording.py:aggregate_channels" ], "edite...
SpikeInterface/spikeinterface
b8f7253b018d55c730e3cb096e17ff89339a5050
Running into errors while trying to sort tetrode data by group Hello, we are a new lab and are just starting our first few recordings. I wanted to get used to the spikeinterface environment, and so have been using it to load our data and attempt to sort it. However, I have been facing this issue which I could not reall...
diff --git a/src/spikeinterface/core/channelsaggregationrecording.py b/src/spikeinterface/core/channelsaggregationrecording.py index 3947a0dec..079731379 100644 --- a/src/spikeinterface/core/channelsaggregationrecording.py +++ b/src/spikeinterface/core/channelsaggregationrecording.py @@ -14,7 +14,15 @@ class ChannelsAg...
SpikeInterface__spikeinterface-961
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "spikeinterface/core/base.py:BaseExtractor.set_property" ], "edited_modules": [ "spikeinterface/core/base.py:BaseExtractor" ] }, "file": "spikeinterface/core/base.py" ...
SpikeInterface/spikeinterface
9d7823d620386b634c56fbc8d4686f824690ccde
UnitsAggregationSorting fails to inherit property Hi, I saw in the `UnitsAggregationSorting` code that there is a copying of properties if they are consistent over all sortings. However, look at the following code: ```python sorting.annotate(name="Bonjour") sorting.get_annotation("name") > 'Bonjour' sort...
diff --git a/spikeinterface/core/base.py b/spikeinterface/core/base.py index 7775dfae9..c210cc4c5 100644 --- a/spikeinterface/core/base.py +++ b/spikeinterface/core/base.py @@ -24,6 +24,8 @@ class BaseExtractor: """ + default_missing_property_values = {"f": np.nan, "O": None, "S": "", "U": ""} + # This...
Starfish-develop__Starfish-147
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "Starfish/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "Starfish/grid_t...
Starfish-develop/Starfish
42217c6b10ac215cff926ef8290bd25c11234e85
Creating interpolator fails. After making a HDF5 grid, and loading successfully the flux for combinations of parameters in the grid. I tried to interpolate a spectrum: `myHDF5 = HDF5Interface(filename=inputfile) flux = myHDF5.load_flux(np.array([6200, 4.5, 0.0])) myInterpolator = Interpolator(myHDF5)` Which...
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4b4e685..e21f838 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ repos: - repo: https://github.com/python/black - rev: stable + rev: 22.3.0 hooks: - id: black diff --git a/Starfish/__init__.py b/S...
SteadBytes__aocpy-13
[ { "changes": { "added_entities": [ "aocpy/cli.py:set_cookie" ], "added_modules": [ "aocpy/cli.py:set_cookie" ], "edited_entities": null, "edited_modules": null }, "file": "aocpy/cli.py" }, { "changes": { "added_entities": [ "aocpy...
SteadBytes/aocpy
7dc93d4ba672699aba83918ebe9b1f5f3ff0e175
Add CLI option to set cookie in `~/.config/aocpy/token` As a user, I want to set the cookie using cli command So that I do not have to create the folders and token file myself. Proposal: `aocpy set-cookie <cookie>` - Creates folders if they do not exists - write `<cookie>` to token file
diff --git a/README.md b/README.md index 7ffb74a..ccb3a6a 100644 --- a/README.md +++ b/README.md @@ -73,12 +73,12 @@ AoC puzzle inputs differ by user, requiring a browser cookie to determine the cu - `$ aocpy begin -c <1234mycookie>` - Configuration file: - Paste the cookie into a file at `~/.config/aocpy/token`...
StellarCN__py-stellar-base-380
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stellar_sdk/sep/stellar_web_authentication.py:read_challenge_transaction" ], "edited_modules": [ "stellar_sdk/sep/stellar_web_authentication.py:read_challenge_transaction" ] ...
StellarCN/py-stellar-base
c353bdf449fdda0308cd5435b627fb111b18538e
Implement SEP-10 2.1.0 Support ## TL;DR The SEP-10 protocol has been updated to relax the requirements of the single Manage Data operation included in SEP-10 challenge transactions, and **should be implemented by October 21st**. On this date the SDF will announce the SDK updates to Anchors and Wallets, urging them t...
diff --git a/stellar_sdk/sep/stellar_web_authentication.py b/stellar_sdk/sep/stellar_web_authentication.py index 0d287b37..2ec477ac 100644 --- a/stellar_sdk/sep/stellar_web_authentication.py +++ b/stellar_sdk/sep/stellar_web_authentication.py @@ -49,7 +49,8 @@ def build_challenge_transaction( :param server_secret:...
StellarCN__py-stellar-base-422
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stellar_sdk/sep/stellar_web_authentication.py:build_challenge_transaction", "stellar_sdk/sep/stellar_web_authentication.py:read_challenge_transaction", "stellar_sdk/sep/stellar_web_authe...
StellarCN/py-stellar-base
4aa7982ab5f3416ecdc4bc8920c6fa0decb180ee
SEP-10 v3.1 Changes (from the SDF) ## SEP-10 3.1 Support ### TL;DR Implement the changes described the [SEP-10 3.1 commit](https://github.com/stellar/stellar-protocol/commit/6c8c9cf6685c85509835188a136ffb8cd6b9c11c). This likely involves adding an optional argument to the SEP-10 utility functions for adding an addit...
diff --git a/stellar_sdk/sep/stellar_web_authentication.py b/stellar_sdk/sep/stellar_web_authentication.py index 05b1f569..32315a29 100644 --- a/stellar_sdk/sep/stellar_web_authentication.py +++ b/stellar_sdk/sep/stellar_web_authentication.py @@ -40,6 +40,7 @@ def build_challenge_transaction( server_secret: str, ...
StellarCN__py-stellar-base-817
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stellar_sdk/scval.py:to_struct" ], "edited_modules": [ "stellar_sdk/scval.py:to_struct" ] }, "file": "stellar_sdk/scval.py" } ]
StellarCN/py-stellar-base
300dc1f6c2be64b8354dc8582f1ff5a2cbb4bb17
Soroban - Failing to invoke function with struct parameter ``` stellar-sdk==9.0.0b0 ``` I deployed [this contract](https://github.com/bp-ventures/lightecho-stellar-oracle/blob/328e897bb69ea194d642540584bb4c94362bbc8e/oracle-onchain/sep40/contract/src/contract.rs) which has this function inside it: ``` fn add_p...
diff --git a/stellar_sdk/scval.py b/stellar_sdk/scval.py index 418a6d5e..2a3c9dbb 100644 --- a/stellar_sdk/scval.py +++ b/stellar_sdk/scval.py @@ -624,8 +624,11 @@ def to_struct(data: Dict[str, stellar_xdr.SCVal]) -> stellar_xdr.SCVal: :param data: The dict value to convert. :return: A new :class:`stellar_sdk...
SteveEwell__python-ldap-filter-8
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": [ "ldap_filter/parser.py:Grammar" ] }, "file": "ldap_filter/parser.py" } ]
SteveEwell/python-ldap-filter
d4534c20ef824129ca0219363dbcb2c583cecfae
Incorrect handling of ! in string parse Hello, first of all, thanks for recently updating the project! Good to see that it is still being maintained! I would like to report an issue that we saw using the parse function of the library. It appears that the handling of a ! in an attributeValue is incorrect, resultin...
diff --git a/docs/parser.peg b/docs/parser.peg index f3ac31f..4c15118 100644 --- a/docs/parser.peg +++ b/docs/parser.peg @@ -29,7 +29,7 @@ grammar LDAP LDAP_OID <- (DIGIT+ ("." DIGIT+)*) %return_oid_type options <- (option ";" options) %return_string / option option <- (AttrTypeChars+) %return_string - ...
StevenLooman__async_upnp_client-62
[ { "changes": { "added_entities": [ "async_upnp_client/client.py:UpnpDevice.service_id" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "async_upnp_client/client.py:UpnpDevice" ] }, "file": "async_upnp_client/client.py" } ]
StevenLooman/async_upnp_client
e76f7f3296c8351106625b6d013e0620fdf16f7e
Ability to get `UpnpService` by id rather than type? On Linn devices, the manufacturer may increase the service version in their description document. For example the service description on a recent firmware for the volume service is: ```xml <service> <serviceType>urn:av-openhome-org:s...
diff --git a/CHANGES.rst b/CHANGES.rst index 91ef03d..e023450 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,7 @@ Changes 0.16.1 (unreleased) - Don't double-unescape action responses (#50) +- Add `UpnpDevice.service_id()` to get service by service_id. (@bazwilliams) 0.16.0 (2021-03-30) diff --git a/asyn...
StevenLooman__python-didl-lite-14
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "didl_lite/didl_lite.py:from_xml_el" ], "edited_modules": [ "didl_lite/didl_lite.py:from_xml_el" ] }, "file": "didl_lite/didl_lite.py" } ]
StevenLooman/python-didl-lite
2b0d7f0ab20202c7ae049931ec1e68e5853ef379
WiiM Pro issue Hi, I have a WiiM Pro and I've noticed that it doesn't quite comply with the UPnP standard in that it doesn't structure the DIDL-Lite event messages correctly. The upnp:class element is in the wrong place in the schema. It should be inside the item element but for some reason it is before the item...
diff --git a/CHANGES.rst b/CHANGES.rst index 0ee3e22..221cd82 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,7 +1,7 @@ Changes ======= -1.4.0 (unreleased) +1.4.0 (2023-12-16) - Treat upnp:class as case-insensitive when in non-strict mode (@chishm) - Raise a `DidlLiteException` when upnp:class is invalid when ...
Stewori__pytypes-37
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pytypes/type_util.py:resolve_fw_decl" ], "edited_modules": [ "pytypes/type_util.py:resolve_fw_decl" ] }, "file": "pytypes/type_util.py" } ]
Stewori/pytypes
5736ecd2878aca5c78df44aeeaef13303cbfa5f2
NoneType' object is not iterable in resolve_fw_decl ```python >>> import typing >>> from pytypes import type_util >>> T = typing.TypeVar('T') >>> class Foo(typing.Generic[T]): ... pass ... >>> type_util.resolve_fw_decl(Foo) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError:...
diff --git a/pytypes/type_util.py b/pytypes/type_util.py index 13c991e..f6227c8 100644 --- a/pytypes/type_util.py +++ b/pytypes/type_util.py @@ -900,7 +900,7 @@ def resolve_fw_decl(in_type, module_name=None, globs=None, level=0): for in_tp in args]) ret = resolve_fw_decl(res, None, globs)[1] o...
Stewori__pytypes-38
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pytypes/type_util.py:_deep_type" ], "edited_modules": [ "pytypes/type_util.py:_deep_type" ] }, "file": "pytypes/type_util.py" } ]
Stewori/pytypes
152a2218bfa1b96ae5d866542ee4ad148b1b7b5d
Frozenset seems to not be equal to set? ```python >>> import typing >>> from pytypes import type_util >>> type_util._isinstance(frozenset({1, 2, 'a', None, 'b'}), typing.AbstractSet[typing.Union[str, int, None]]) False >>> type_util._isinstance({1, 2, 'a', None, 'b'}, typing.AbstractSet[typing.Union[str, int, type...
diff --git a/pytypes/type_util.py b/pytypes/type_util.py index f6227c8..976f96f 100644 --- a/pytypes/type_util.py +++ b/pytypes/type_util.py @@ -22,10 +22,10 @@ import typing import collections from inspect import isfunction, ismethod, isclass, ismodule try: - from backports.typing import Tuple, Dict, List, Set, ...
Stewori__pytypes-47
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pytypes/typelogger.py:combine_argtype" ], "edited_modules": [ "pytypes/typelogger.py:combine_argtype" ] }, "file": "pytypes/typelogger.py" } ]
Stewori/pytypes
f8e2f14786872f0e2e17507139a4e72be58a1102
TypeError: isinstance expected 2 arguments, got 1 Running [Usage example with decorator](https://github.com/Stewori/pytypes#usage-example-with-decorator) in readme gave following error for me. ``` Traceback (most recent call last): File "/tmp/tmp.py", line 31, in <module> pytypes.dump_cache() NameError: na...
diff --git a/pytypes/typelogger.py b/pytypes/typelogger.py index 078b521..3b3c774 100644 --- a/pytypes/typelogger.py +++ b/pytypes/typelogger.py @@ -146,7 +146,7 @@ def combine_argtype(observations): additional unification effort (e.g. can apply PEP 484 style numeric tower). """ assert len(observations) ...
Stewori__pytypes-98
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pytypes/typechecker.py:typechecked_module" ], "edited_modules": [ "pytypes/typechecker.py:typechecked_module" ] }, "file": "pytypes/typechecker.py" } ]
Stewori/pytypes
befcedde8cea9b189c643f905c2b7ad180f27f8e
typechecked(string) should have more consistent return type Currently if you call `typechecked` on a string module name, it has case-by-case behavior to sometimes return the original string and sometimes return the resolved module: ```python typechecked('requests') → <module 'requests'> typechecked('requests') → 're...
diff --git a/pytypes/typechecker.py b/pytypes/typechecker.py index a0cd92b..b6b4342 100644 --- a/pytypes/typechecker.py +++ b/pytypes/typechecker.py @@ -964,15 +964,19 @@ def typechecked_module(md, force_recursive = False): """ if not pytypes.checking_enabled: return md + # Save input to return or...
StingraySoftware__HENDRICS-105
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "hendrics/efsearch.py:_common_main", "hendrics/efsearch.py:main_accelsearch" ], "edited_modules": [ "hendrics/efsearch.py:_common_main", "hendrics/efsearch.py:main_acc...
StingraySoftware/HENDRICS
8728fe650ba320f11eea6c285085bd92f53e0dc3
HENaccelsearch and --delta-z argument Command HENaccelsearch used with fractional value of --delta-z gives the following error: HENaccelsearch --fmin 0.33 --fmax 0.37 --delta-z 0.5 Mur19_xmm_epn_det04_ev.nc --nproc 4 --interbin /home/gianluca/stingray/lib64/python3.6/site-packages/hendrics/efsearch.py:1681: UserWa...
diff --git a/docs/scripts/cli.rst b/docs/scripts/cli.rst index b582d67..89b89d7 100644 --- a/docs/scripts/cli.rst +++ b/docs/scripts/cli.rst @@ -48,7 +48,7 @@ HENaccelsearch --fmax FMAX Maximum frequency to search, in Hz --nproc NPROC Number of processors to use --zmax ZMAX ...
StingraySoftware__HENDRICS-94
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "hendrics/fspec.py:calc_pds", "hendrics/fspec.py:main" ], "edited_modules": [ "hendrics/fspec.py:calc_pds", "hendrics/fspec.py:main" ] }, "file": "hendri...
StingraySoftware/HENDRICS
dab7f6642673eee794965413801a5da30a46a431
Use new API for covariance spectrum in HENvarenergy
diff --git a/hendrics/fold.py b/hendrics/fold.py index e585006..26dfbc9 100644 --- a/hendrics/fold.py +++ b/hendrics/fold.py @@ -276,7 +276,6 @@ def get_TOAs_from_events( # BAD!BAD!BAD! # [[Pay attention to time reference here. # We are folding wrt pepoch, and calculating TOAs wrt start]] - ...
StingraySoftware__HENDRICS-97
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "hendrics/calibrate.py:read_calibration" ], "edited_modules": [ "hendrics/calibrate.py:read_calibration" ] }, "file": "hendrics/calibrate.py" }, { "changes": { ...
StingraySoftware/HENDRICS
b95b6b5b36e1fc5cc38be5847c59a082dcee5b9e
Tests are failing with MemoryError or Sigkill. We need to make quicker tests, in particular for the very slow efsearch ones. https://github.com/StingraySoftware/HENDRICS/runs/1804391756?check_suite_focus=true This one fails with SIGKILL after having run for 20+ minutes https://github.com/StingraySoftware/HENDRICS...
diff --git a/hendrics/calibrate.py b/hendrics/calibrate.py index 46ddf09..559a772 100644 --- a/hendrics/calibrate.py +++ b/hendrics/calibrate.py @@ -76,7 +76,7 @@ def read_calibration(pis, rmf_file=None): the one given by default_nustar_rmf() is used. """ calp, calEmin, calEmax = read_rmf(rmf_file) -...
StingraySoftware__stingray-468
[ { "changes": { "added_entities": [ "stingray/events.py:EventList.change_mjdref", "stingray/events.py:EventList.shift" ], "added_modules": null, "edited_entities": [ "stingray/events.py:EventList.join" ], "edited_modules": [ "stingray/events.py:...
StingraySoftware/stingray
ecf062aec83c25ddfcd4a17b13dc86e579b81b2a
Allow merging event lists from different instruments Need to have some `change_mjdref` method in `EventList`, similar to the one in `Lightcurve`.
diff --git a/stingray/events.py b/stingray/events.py index 8c998d4a..e5df3659 100644 --- a/stingray/events.py +++ b/stingray/events.py @@ -297,6 +297,10 @@ class EventList(object): simon("One of the event lists you are concatenating is empty.") other.time = np.asarray([]) + # Toleranc...
StingraySoftware__stingray-501
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stingray/lightcurve.py:Lightcurve.__init__" ], "edited_modules": [ "stingray/lightcurve.py:Lightcurve" ] }, "file": "stingray/lightcurve.py" } ]
StingraySoftware/stingray
7a60030569c472b9beae72012970b047f22ab8d5
Docstring improvement request https://github.com/StingraySoftware/stingray/blob/e3a8eea835a035e4a307e8cfde06d212c7cf3925/stingray/lightcurve.py#L30-L31 It would be great if this docstring said something about what the assumed units were for these times (e.g. is it expecting seconds or MJDs?, or other?), and whether ...
diff --git a/stingray/lightcurve.py b/stingray/lightcurve.py index 41f8c240..467be5fa 100644 --- a/stingray/lightcurve.py +++ b/stingray/lightcurve.py @@ -27,8 +27,11 @@ class Lightcurve(object): Parameters ---------- - time: iterable - A list or array of time stamps for a light curve + time: I...
StingraySoftware__stingray-518
[ { "changes": { "added_entities": [ "stingray/events.py:EventList.to_astropy_timeseries", "stingray/events.py:EventList.from_astropy_timeseries" ], "added_modules": null, "edited_entities": [ "stingray/events.py:EventList.__init__", "stingray/events.py:Even...
StingraySoftware/stingray
e9662344cda8e4a0ea97be55d82159558ef05ef0
Need to refresh I/O to ascii objects (and maybe the other formats too) A lot has changed in our code and dependencies since @haroonrashid235 's work, and we need to rethink our I/O infrastructure. In particular, the roundtrip-to-ascii test of an event list is failing in recent version of Astropy. Instead of just patch...
diff --git a/setup.cfg b/setup.cfg index 242f3651..0bab447c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,6 +31,7 @@ console_scripts = all = scipy matplotlib + tbb numba jplephem emcee @@ -42,6 +43,8 @@ all = pint-pulsar zarr numcodecs + pyyaml + test = pytest<6 ...
StingraySoftware__stingray-521
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stingray/events.py:EventList.__init__" ], "edited_modules": [ "stingray/events.py:EventList" ] }, "file": "stingray/events.py" }, { "changes": { "added_en...
StingraySoftware/stingray
8295a7bd5ed444bcf01c8102d50760ec6eb8fa4e
Improve performance of Lightcurve for astropy.time.Time objects Right now, it looks like we *can* use `Lightcurve.make_lightcurve` on `astropy.time.Time` objects, but for reasons I don't understand that's vastly slower than sticking in a numpy array. It would be useful to check why that is, and speed up that operation.
diff --git a/stingray/events.py b/stingray/events.py index d8ebf954..af92100e 100644 --- a/stingray/events.py +++ b/stingray/events.py @@ -15,7 +15,7 @@ from .filters import get_deadtime_mask from .gti import append_gtis, check_separate, cross_gtis from .io import read, write from .lightcurve import Lightcurve -from...
StingraySoftware__stingray-531
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stingray/crossspectrum.py:AveragedCrossspectrum.__init__", "stingray/crossspectrum.py:AveragedCrossspectrum._make_auxil_pds", "stingray/crossspectrum.py:AveragedCrossspectrum._make_segme...
StingraySoftware/stingray
df18e7c137db2221b419c360453fe72843283796
`_isattribute` in `io.py` not general enough? I am moderately concerned that our `_isattribute(data)` function in `io.py is not general enough. This function checks whether the data is a single number or an array, by running `isinstance` for `numpy.ndarray` and `list`. My feeling is that `isinstance` is perhaps ...
diff --git a/setup.cfg b/setup.cfg index 2200bd09..06301011 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,7 +34,7 @@ all = tbb numba jplephem - emcee>=3.0.0 + emcee statsmodels corner lightcurve @@ -64,6 +64,10 @@ doctest_plus = enabled text_file_format = rst addopts = --doctest-rs...
StingraySoftware__stingray-579
[ { "changes": { "added_entities": [ "stingray/powerspectrum.py:Powerspectrum.modulation_upper_limit" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "stingray/powerspectrum.py:Powerspectrum" ] }, "file": "stingray/powerspectrum.py...
StingraySoftware/stingray
24f1784752d6792c74680408bae82bd38d4d2051
Calculate signal upper limits from power spectra It would be useful if the various PowerSpectrum objects could identify the highest peak in the spectrum (within some frequency range) and calculate detection thresholds, as well as signal upper limits (e.g. following [Vaughan et al. 1994](https://ui.adsabs.harvard.edu/ab...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9460c449..371f4488 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,15 +1,8 @@ Changelog ========= -Not Yet Released ----------------- - -`Full list of changes`__ - -__ https://github.com/StingraySoftware/stingray/compare/v0.3...main - -v0.3 (2021-05-31) --------...
StingraySoftware__stingray-620
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stingray/lightcurve.py:Lightcurve.__getitem__" ], "edited_modules": [ "stingray/lightcurve.py:Lightcurve" ] }, "file": "stingray/lightcurve.py" } ]
StingraySoftware/stingray
e736acd21b007cee35b30bec4cf62b78ae8539e4
The slice of Lightcurve does not preserve the err_dist
diff --git a/stingray/lightcurve.py b/stingray/lightcurve.py index b41efa94..d707cf2a 100644 --- a/stingray/lightcurve.py +++ b/stingray/lightcurve.py @@ -728,8 +728,12 @@ class Lightcurve(object): new_gti = cross_two_gtis(new_gti, new_gt1) new_gti = cross_two_gtis(self.gti, new_gti) - ...
StingraySoftware__stingray-623
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stingray/fourier.py:normalize_leahy_from_variance" ], "edited_modules": [ "stingray/fourier.py:normalize_leahy_from_variance" ] }, "file": "stingray/fourier.py" } ]
StingraySoftware/stingray
e736acd21b007cee35b30bec4cf62b78ae8539e4
Leahy normalization for err_dist == "gauss" and 0 error bars should just break
diff --git a/stingray/fourier.py b/stingray/fourier.py index 27b09bf7..5b1dda05 100644 --- a/stingray/fourier.py +++ b/stingray/fourier.py @@ -355,7 +355,16 @@ def normalize_leahy_from_variance(unnorm_power, variance, n_bin): True >>> np.isclose(pdsnorm[1:n_bin//2].mean(), poisson_level(norm="leahy"), rtol=0....
StingraySoftware__stingray-624
[ { "changes": { "added_entities": [ "stingray/crossspectrum.py:Crossspectrum._initialize_from_any_input", "stingray/crossspectrum.py:Crossspectrum._initialize_empty" ], "added_modules": null, "edited_entities": [ "stingray/crossspectrum.py:Crossspectrum.__init__", ...
StingraySoftware/stingray
9670ecdb032db5c678ead67bd7c8ae533f00e3f9
Check from_lc_iterable and from_lightcurve for a single light curve
diff --git a/stingray/crossspectrum.py b/stingray/crossspectrum.py index 23458c14..26b5c9f1 100644 --- a/stingray/crossspectrum.py +++ b/stingray/crossspectrum.py @@ -497,10 +497,9 @@ class Crossspectrum(object): Other Parameters ---------------- - gti: 2-d float array - ``[[gti0_0, gti0_1], [gti1...
StingraySoftware__stingray-631
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stingray/powerspectrum.py:Powerspectrum.modulation_upper_limit" ], "edited_modules": [ "stingray/powerspectrum.py:Powerspectrum" ] }, "file": "stingray/powerspectrum.py...
StingraySoftware/stingray
16ae8dc9c5630a17ba7dd2a0ecbf189db38be4ae
Upper limits: add case with norm different from Leahy See powerspectrum.py:339
diff --git a/stingray/powerspectrum.py b/stingray/powerspectrum.py index 18a72819..d2474331 100755 --- a/stingray/powerspectrum.py +++ b/stingray/powerspectrum.py @@ -337,6 +337,10 @@ class Powerspectrum(Crossspectrum): See `stingray.stats.power_upper_limit`, `stingray.stats.amplitude_upper_limit` f...
StingraySoftware__stingray-634
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stingray/crosscorrelation.py:CrossCorrelation.__init__", "stingray/crosscorrelation.py:CrossCorrelation._make_corr" ], "edited_modules": [ "stingray/crosscorrelation.py:Cross...
StingraySoftware/stingray
16ae8dc9c5630a17ba7dd2a0ecbf189db38be4ae
Cross and Auto-correlation normalisation Hi, I'm not entirely sure the auto and cross-correlation functions returned by Stingray are normalised, as the output seems to depend on the amplitude of the input light-curves. I think it might be good to include an option, such that the returned correlation functions are =1...
diff --git a/stingray/crosscorrelation.py b/stingray/crosscorrelation.py index 36bb81ad..0b238162 100644 --- a/stingray/crosscorrelation.py +++ b/stingray/crosscorrelation.py @@ -39,6 +39,11 @@ class CrossCorrelation(object): See the relevant ``scipy`` documentation [scipy-docs]_ for more details. +...
StingraySoftware__stingray-635
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stingray/powerspectrum.py:DynamicalPowerspectrum.__init__" ], "edited_modules": [ "stingray/powerspectrum.py:DynamicalPowerspectrum" ] }, "file": "stingray/powerspectru...
StingraySoftware/stingray
16ae8dc9c5630a17ba7dd2a0ecbf189db38be4ae
DynamicalPowerspectrum does not accept event lists This is inconsistent with the other cross/power spectra behavior.
diff --git a/stingray/powerspectrum.py b/stingray/powerspectrum.py index 18a72819..652a1c19 100755 --- a/stingray/powerspectrum.py +++ b/stingray/powerspectrum.py @@ -467,7 +467,7 @@ class Powerspectrum(Crossspectrum): silent : bool, default False Silence the progress bars gti: [[gti0_0, ...
StingraySoftware__stingray-643
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "stingray/bispectrum.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modu...
StingraySoftware/stingray
4e694cbafdb87e862e614e9c6eb2d75046b13b9e
pyfftw3 warning occurs three times When importing Stingray, it throws the "pyfftw3 not installed, using built-in scipy fft" warning 3 times: once in fourier.py, once in bispectrum.py, and once in crosscorrelation.py. It would probably be better to only throw it once in fourier.py so as to not overwhelm the user with tr...
diff --git a/stingray/bispectrum.py b/stingray/bispectrum.py index 693207ff..c19221d3 100644 --- a/stingray/bispectrum.py +++ b/stingray/bispectrum.py @@ -5,16 +5,11 @@ from scipy.linalg import toeplitz import warnings import matplotlib.pyplot as plt -try: - from pyfftw.interfaces.scipy_fft import fftshift, fft2...
StingraySoftware__stingray-797
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stingray/crossspectrum.py:Crossspectrum._initialize_from_any_input", "stingray/crossspectrum.py:crossspectrum_from_time_array", "stingray/crossspectrum.py:crossspectrum_from_timeseries" ...
StingraySoftware/stingray
d47c95b42f1c1697b1a4207ff64e2970418756b9
Bug in `Powerspectrum` when GTI is shorter than light curve? I have a data set where the GTIs are slightly shorter than the data in the FITS file. When I create a light curve and then try to use `Powerspectrum`, I get an AssertionError that no GTIs are longer than `segment_size`. I think this is a bug where `Powerspect...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7c1a92c1..ecf83e1e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -32,7 +32,7 @@ Bug Fixes - Various bug fixes in DynamicalPowerspectrum, on event loading and time rebinning (`#779 <https://github.com/StingraySoftware/stingray/pull/779>`__) - Fix issue with the Pois...
Stranger6667__Flask-Postmark-9
[ { "changes": { "added_entities": [ "flask_postmark/core.py:Postmark._get_app" ], "added_modules": null, "edited_entities": [ "flask_postmark/core.py:Postmark.client" ], "edited_modules": [ "flask_postmark/core.py:Postmark" ] }, "file": "f...
Stranger6667/Flask-Postmark
a717b345eb0a59aa10fcc5464dfd3b8d9e151824
Don't store app unless you fall back to it In `__init__`, you set `self.app = app`, but you never use this value. The pattern for this is to fall back to it if `current_app` is not set, as a convenience to not need an app context when not using deferred init. Some devs prefer to exclude that and only allow `with app.ap...
diff --git a/docs/changelog.rst b/docs/changelog.rst index e39741d..25e60ab 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -10,6 +10,7 @@ Added ~~~~~ - Register the extension on the app. `#6`_ +- Use ``self.app`` as a fallback. `#5`_ 0.1.0 - 2017-05-11 ------------------ @@ -20,3 +21,4 @@ Added ...
Stranger6667__postmarker-125
[ { "changes": { "added_entities": [ "postmarker/models/messages.py:BaseMessage.get", "postmarker/models/messages.py:OutboundMessageManager.get", "postmarker/models/messages.py:InboundMessageManager.get" ], "added_modules": null, "edited_entities": [ "postma...
Stranger6667/postmarker
604005f5a384995207ffb53e6de2b8f3fa2b38db
Initialize inbound/outbound message in `get_details` And probably rename method to ``get``
diff --git a/docs/changelog.rst b/docs/changelog.rst index 2ab7edc..208173f 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -11,6 +11,12 @@ Added - Short-circuit send of empty batches in `Django` backend. `#123`_ +Changed +~~~~~~~ + +- ``OutboundMessageManager.get_details`` and ``InboundMessageManager....
Stranger6667__postmarker-138
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "postmarker/core.py:PostmarkClient.__init__", "postmarker/core.py:PostmarkClient.session", "postmarker/core.py:PostmarkClient._call" ], "edited_modules": [ "postmarker...
Stranger6667/postmarker
62cc043528a344477ee4b8117e08865c52aa50fe
Configurable resend on fail
diff --git a/docs/changelog.rst b/docs/changelog.rst index 067a7e1..fd2198f 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -10,6 +10,7 @@ Added ~~~~~ - ``message`` property for ``Bounce``, ``Delivery`` and ``Open`` classes to access corresponding ``OutboundMessage`` instance. `#119`_ +- An ability to c...
Stranger6667__postmarker-191
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "setup.py" }, { "changes": { "added_entities": [ "src/postmarker/models/emails.py:EmailTemplate.__init__" ], "added_modules":...
Stranger6667/postmarker
c42f1e3cc9ea91b9a20f5a9cf840f4330e2dee38
send_with_template won't allow alias Referring to #150 When I try to send an email using a template alias, `postmark.emails.send_with_template(TemplateAlias=alias, TemplateModel=model, To=sendto, From=efrom)` I get the following response: `TypeError: send_with_template() missing 1 required positional argument...
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3be8879..db668a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - python: [3.5, 3.6, 3.7, 3.8, 3.9.0-rc.1, py...
Stranger6667__postmarker-196
[ { "changes": { "added_entities": [ "src/postmarker/models/emails.py:EmailTemplateBatch.__init__", "src/postmarker/models/emails.py:EmailTemplateBatch.__len__", "src/postmarker/models/emails.py:EmailTemplateBatch.as_dict", "src/postmarker/models/emails.py:EmailTemplateBatch....
Stranger6667/postmarker
f46d0eb9ce5ea9d2199d2360dc310cf0b840f23c
Add support for batchWithTemplates https://postmarkapp.com/developer/api/templates-api#send-batch-with-templates
diff --git a/docs/emails.rst b/docs/emails.rst index b0b7dc3..22fb0d7 100644 --- a/docs/emails.rst +++ b/docs/emails.rst @@ -202,3 +202,12 @@ Batches are available via the :py:meth:`~postmarker.models.emails.EmailManager.E For now, batches expose a very limited interface - only :py:meth:`~postmarker.models.emails.Em...
Stranger6667__pyanyapi-22
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "pyanyapi/_compat.py" }, { "changes": { "added_entities": [ "pyanyapi/interfaces.py:BaseInterface.maybe_strip" ], "added_modu...
Stranger6667/pyanyapi
e5b7aadff6d02eac82e27cb4ad1f8bc9a4fb2eb0
Add option to strip results At parser level, False by default
diff --git a/README.rst b/README.rst index b01d832..35babdf 100644 --- a/README.rst +++ b/README.rst @@ -31,7 +31,7 @@ Usage ----- Library provides an ability to create API over various content. -Currently there are bundled tools to work with HTML, XML, JSON. +Currently there are bundled tools to work with HTML, XM...
Stranger6667__pyanyapi-33
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyanyapi/interfaces.py:XPathInterface.execute_method" ], "edited_modules": [ "pyanyapi/interfaces.py:XPathInterface" ] }, "file": "pyanyapi/interfaces.py" } ]
Stranger6667/pyanyapi
433dc8263c6c346d772120ad6f402714eb95c72a
Improve children syntax As we discussed =D Add supporting for childrens parse for every parent element Example settings: ```python class IMDBParser(HTMLParser): settings = { 'films_blocks': { 'base': '//div[@class="media"]', 'children': { 'title': '/h4'...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 016a9b7..ecfdb61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ History ---------------- * Fixed `lxml` installation on PyPy (#34). +* Add support for subparsers (#32). 0.5.3 - 30.10.2015 ---------------- diff --git a/README.rst b/README.rst index ad5...
Stranger6667__pyanyapi-42
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pyanyapi/interfaces.py:YAMLInterface.perform_parsing" ], "edited_modules": [ "pyanyapi/interfaces.py:YAMLInterface" ] }, "file": "pyanyapi/interfaces.py" } ]
Stranger6667/pyanyapi
aebee636ad26f387850a6c8ab820ce4aac3f9adb
YAMLParser method is vulnerable from pyanyapi import YAMLParser YAMLParser({'test': 'container > test'}).parse('!!python/object/apply:os.system ["calc.exe"]').test Hi, there is a vulnerability in YAMLParser method in Interfaces.py, please see PoC above. It can execute arbitrary python commands resulting in command...
diff --git a/.travis.yml b/.travis.yml index 1975b26..b7b5b14 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,30 @@ language: python python: - 3.5 -env: - - TOX_ENV=py26 - - TOX_ENV=py27 - - TOX_ENV=py32 - - TOX_ENV=py33 - - TOX_ENV=py34 - - TOX_ENV=py35 - - TOX_ENV=pypy - - TOX_ENV=pypy3 - - JYTHO...
Stratoscale__skipper-164
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "skipper/git.py:get_hash" ], "edited_modules": [ "skipper/git.py:get_hash" ] }, "file": "skipper/git.py" } ]
Stratoscale/skipper
26e65ac0956d19f4f4a73a95d9547039c746a6b2
can't build skipper (skipper build cmd) with v2.0.0 and v2.0.1 See $TOPIC. I get: # skipper build ```python WARNING:root:*** Uncommitted changes present - Build container version might be outdated *** [skipper] Building image: assisted-service-build INFO:skipper:Building image: assisted-service-build Traceba...
diff --git a/.gitignore b/.gitignore index 089cb66..281342a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +.vscode +**__pycache__** +**.pytest_cache** *.egg-info *.pyc .cache diff --git a/skipper/git.py b/skipper/git.py index daa02c6..5098114 100644 --- a/skipper/git.py +++ b/skipper/git.py @@ -16,7 +16,7...
Stratoscale__skipper-175
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "skipper/config.py:_interpolate_env_vars" ], "edited_modules": [ "skipper/config.py:_interpolate_env_vars" ] }, "file": "skipper/config.py" }, { "changes": { ...
Stratoscale/skipper
deef68eefdaefde54c1b20bbb8b494bbefa721ed
Fails to tag skipper build in git subdir ```=> => naming to docker.io/library/jenkins-tools:none``` ```bash [ilia@fedora jenkins-tools]$ skipper build jenkins-tools WARNING:root:*** Not working in a git repository *** [skipper] Building image: jenkins-tools INFO:skipper:Building image: jenkins-tools [+] Buildin...
diff --git a/README.md b/README.md index ed5f41c..c7d432e 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,28 @@ export LANG="en_US.UTF-8" ## Note for Linux Users with Docker -If you run on Linux and use Docker without sudo, Skipper will create a dedicated user inside the build container with both root and doc...
Stratoscale__skipper-182
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "skipper/cli.py:push" ], "edited_modules": [ "skipper/cli.py:push" ] }, "file": "skipper/cli.py" }, { "changes": { "added_entities": null, "added_mod...
Stratoscale/skipper
239346bfa99b5cb2dce71de3c7d19235885e717c
Move docker config to another folder
diff --git a/.gitignore b/.gitignore index 281342a..51a36a2 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ venv MANIFEST reports **/RCS/** +.venv \ No newline at end of file diff --git a/.pylintrc b/.pylintrc index 156aeab..b29eff3 100644 --- a/.pylintrc +++ b/.pylintrc @@ -270,6 +270,9 @@ ignore-imports...
Stratoscale__skipper-185
[ { "changes": { "added_entities": [ "skipper/runner.py:get_docker_config_volume_suffix" ], "added_modules": [ "skipper/runner.py:get_docker_config_volume_suffix" ], "edited_entities": [ "skipper/runner.py:handle_volumes_bind_mount" ], "edited_modu...
Stratoscale/skipper
9e010ce914ea0411e9e6299525841f8a1ac880ea
Fix buildx for linux hosts
diff --git a/skipper/runner.py b/skipper/runner.py index 5cd63bc..029054e 100644 --- a/skipper/runner.py +++ b/skipper/runner.py @@ -147,9 +147,10 @@ def handle_volumes_bind_mount(docker_cmd, homedir, volumes, workspace): f'{homedir}/.gitconfig:{homedir}/.gitconfig:ro']) # required for docke...
SweBarre__sps-19
[ { "changes": { "added_entities": [ "src/sps/cache.py:lookup_product" ], "added_modules": [ "src/sps/cache.py:lookup_product" ], "edited_entities": [ "src/sps/cache.py:save", "src/sps/cache.py:lookup" ], "edited_modules": [ "src/sp...
SweBarre/sps
5dfc2aef4915ef7930ab4d9bd1e11d11931b267d
change cache functionallity Change the way the cache file is working to be able to handle other types of cached data example is making it possible to cache information for patch search #14
diff --git a/CHANGELOG.md b/CHANGELOG.md index 72bd41d..5b0d703 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ All notable changes will be documented in this file. - --version/-v option ### Changed +- changed default cache file name to ~/.cache/sps_cache.json - Product/Package headings in README.rs...
SweBarre__sps-20
[ { "changes": { "added_entities": [ "src/sps/cache.py:age" ], "added_modules": [ "src/sps/cache.py:age" ], "edited_entities": [ "src/sps/cache.py:save", "src/sps/cache.py:load" ], "edited_modules": [ "src/sps/cache.py:save", ...
SweBarre/sps
55efee497a0ee0aa351c08d584c21b2ef723c7ca
warn when cache is old Add the warning when cache is not updated for a long time. Was accidentally removed when code was refactored
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b0d703..5c13e99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes will be documented in this file. ## [Unreleased] ### Added +- cache age check - --sort-table/-S option to product/package output - --no-header/-H option to product/packa...
SwissDataScienceCenter__renku-python-2345
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "renku/core/models/git.py:GitURL.__attrs_post_init__" ], "edited_modules": [ "renku/core/models/git.py:GitURL" ] }, "file": "renku/core/models/git.py" }, { "chan...
SwissDataScienceCenter/renku-python
b8b124b1142852d7856a63dab81f5a2b865a7c9f
create project IRI based on project slug Currently we URL encode the project name to create the project @id, like https://renku-ci-gr-738.dev.renku.ch/projects/jakub.chrobasik/test%25202021-09-14%252015-59-30. But for downstream applications, using the project slug would be better, as it can be directly resolved in the...
diff --git a/renku/core/models/git.py b/renku/core/models/git.py index 2a44884e..84859474 100644 --- a/renku/core/models/git.py +++ b/renku/core/models/git.py @@ -26,7 +26,7 @@ from urllib.parse import urlparse import attr from renku.core import errors -from renku.core.utils.scm import is_ascii +from renku.core.uti...
SylphAI-Inc__AdalFlow-288
[ { "changes": { "added_entities": [ "adalflow/adalflow/components/memory/memory.py:Memory.call", "adalflow/adalflow/components/memory/memory.py:Memory.add_dialog_turn" ], "added_modules": null, "edited_entities": [ "adalflow/adalflow/components/memory/memory.py:Mem...
SylphAI-Inc/AdalFlow
e750721c4eaa1d87159a329c6f6a9f8d74c7062b
Component Memory is Missing the required 'call' method **Describe the bug** The adalflow.components.memory.memory.Memory class seems to have been left unfinished without a call method. **To Reproduce** Steps to reproduce the behavior: 1. Go to https://github.com/SylphAI-Inc/AdalFlow/blob/main/use_cases/question_...
diff --git a/adalflow/adalflow/components/memory/memory.py b/adalflow/adalflow/components/memory/memory.py index a25ab2b5..f0819701 100644 --- a/adalflow/adalflow/components/memory/memory.py +++ b/adalflow/adalflow/components/memory/memory.py @@ -1,23 +1,77 @@ -"""Memory for user-assistant conversations. [Not completed...
SymbiFlow__FPGA-Tool-Performance-Visualization-Library-17
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "ftpvl/fetchers.py:HydraFetcher._download" ], "edited_modules": [ "ftpvl/fetchers.py:HydraFetcher" ] }, "file": "ftpvl/fetchers.py" } ]
SymbiFlow/FPGA-Tool-Performance-Visualization-Library
2c06f09c80ce8fda7d82176a212de10c3d2b589a
HydraFetcher unable to fetch meta.json of older builds The current hydrafetcher assumes that `meta.json` is the only build product when fetching it from Hydra. Thus, it fetches the `meta.json` file from the following link: ```python "https://hydra.vtr.tools/build/{build_num}/download/1/meta.json" ``` This assum...
diff --git a/ftpvl/fetchers.py b/ftpvl/fetchers.py index d054f65..489026a 100644 --- a/ftpvl/fetchers.py +++ b/ftpvl/fetchers.py @@ -114,17 +114,47 @@ class HydraFetcher(Fetcher): raise IndexError(f"Invalid eval_num: {self.eval_num}") build_nums = evals_json["evals"][self.eval_num]["builds"] - ...
SymbiFlow__FPGA-Tool-Performance-Visualization-Library-24
[ { "changes": { "added_entities": [ "ftpvl/fetchers.py:HydraFetcher._check_legacy_icebreaker" ], "added_modules": null, "edited_entities": [ "ftpvl/fetchers.py:HydraFetcher._preprocess" ], "edited_modules": [ "ftpvl/fetchers.py:HydraFetcher" ] ...
SymbiFlow/FPGA-Tool-Performance-Visualization-Library
0d5464c63006ae08e299e2aba15968d584bab1b7
Legacy Icestorm Processor As of August 1st, [fpga-tool-perf issue #190](https://github.com/SymbiFlow/fpga-tool-perf/issues/190) to correct the reported frequency of icestorm boards has been resolved. Now, all boards correctly report frequency in hertz. However, this does not retroactively change fpga-tool-perf evalu...
diff --git a/ftpvl/fetchers.py b/ftpvl/fetchers.py index e70bc9d..1e9559b 100644 --- a/ftpvl/fetchers.py +++ b/ftpvl/fetchers.py @@ -1,4 +1,5 @@ """ Fetchers are responsible for ingesting and standardizing data for future processing. """ +from datetime import datetime import json from typing import Any, Dict, List ...
T4rk1n__precept-24
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "precept/_configs.py:TomlConfigSerializer.dump", "precept/_configs.py:ConfigProperty.__get__" ], "edited_modules": [ "precept/_configs.py:TomlConfigSerializer", "prece...
T4rk1n/precept
14b4438a56ce56ca3164a692f5a3f965e6d99125
[toml-config] Config with a default of type bool fail to dump If a config default is of type bool and has a comment with less than 40 characters, it will throw an error when dumping the config using the `dump-configs` command. ``` File "precept/_configs.py", line 224, in dump section[key].comment(prop.comme...
diff --git a/.pylintrc b/.pylintrc index 415b4c5..945108d 100644 --- a/.pylintrc +++ b/.pylintrc @@ -152,7 +152,8 @@ disable=print-statement, no-member, not-callable, import-outside-toplevel, - super-with-arguments + super-with-arguments, + too-many-nested-blocks # Ena...
TACC__agavepy-62
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "agavepy/agave.py:Agave.save_configs", "agavepy/agave.py:Agave.clients_create" ], "edited_modules": [ "agavepy/agave.py:Agave" ] }, "file": "agavepy/agave.py" ...
TACC/agavepy
08b6bb088b95b0c71c9404b220df1b9d0915b770
Improve the way the users interact with multiple tenants/users/clients Issue #53 addresses a new format to store credentials. The introduced format makes it possible to switch between multiple tenants. However, users who have admin capabilities in agave may have multiple accounts and/or may have different oauth client...
diff --git a/Makefile b/Makefile index 174afb5..43a069c 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ shell: build # Start a shell inside the build environment. $(DOCKER_RUN_AGAVECLI) bash tests: - pytest -v --cache-clear tests/ + pytest -vv --cache-clear tests/ tests-py2: - python2 -m pytest -v tests ...
TAXIIProject__libtaxii-247
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "libtaxii/common.py:parse", "libtaxii/common.py:parse_xml_string", "libtaxii/common.py:stringify_content" ], "edited_modules": [ "libtaxii/common.py:parse", "l...
TAXIIProject/libtaxii
c8e9c9bb67b32b3b7d05fa07b98df9b721246b04
Blind SSRF vulnerability When the content that starts with `http://` is passed to libtaxii's `parse` method, the library executes HTTP GET request, even though `no_network` is set to `True` on the XML parser. Executing ```python from libtaxii.common import parse parse("http://test-domain.local?junkdata") ``` wi...
diff --git a/.gitignore b/.gitignore index 1375def..5bcdcd6 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ build/ dist/ libtaxii.egg-info/ venv/ +.pytest_cache .tox output.txt libtaxii/test/output/ diff --git a/libtaxii/common.py b/libtaxii/common.py index 96fca12..9ceb33b 100644 --- a/libtaxii/common.p...
TDAmeritrade__stumpy-1001
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "docs/conf.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/aampi.py:aampi._...
TDAmeritrade/stumpy
fb9a1254f6fba773aa50e0bf99407b90eb98b39c
Speed Up STUMPI Update STUMPI `.update()` is reasonably fast but @NimaSarajpoor [was able to speed it even more](https://github.com/TDAmeritrade/stumpy/discussions/924#discussioncomment-9901868)! We should take a closer look and see if there is further refactoring/enhancement that could be had.
diff --git a/docs/conf.py b/docs/conf.py index 9c8b140..88b69bd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -236,3 +236,6 @@ myst_enable_extensions = [ "dollarmath", "tasklist", ] + +# Notebook cell execution timeout; defaults to 30. +nb_execution_timeout = -1 diff --git a/docs/pull_request_template.md b...
TDAmeritrade__stumpy-1015
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/aamp_motifs.py:aamp_motifs" ], "edited_modules": [ "stumpy/aamp_motifs.py:aamp_motifs" ] }, "file": "stumpy/aamp_motifs.py" }, { "changes": { "adde...
TDAmeritrade/stumpy
3077d0ddfb315464321dc86f8ec3bf2cab9ce3b1
_motifs max_matches=None bug When finding motifs, the function encounters a bug when `max_matches` is set to `None` to not restrict the number of matches. If the `max_matches` argument is set to `None` for `stumpy.motifs`, it assigns `max_matches = np.inf` before passing to `_motifs` which then tries to slice the `quer...
diff --git a/stumpy/aamp_motifs.py b/stumpy/aamp_motifs.py index 0d5f67d..c7a852f 100644 --- a/stumpy/aamp_motifs.py +++ b/stumpy/aamp_motifs.py @@ -268,7 +268,7 @@ def aamp_motifs( m = T.shape[-1] - P.shape[-1] + 1 excl_zone = int(np.ceil(m / config.STUMPY_EXCL_ZONE_DENOM)) if max_matches is None: # pr...
TDAmeritrade__stumpy-1070
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/cache.py:_clear", "stumpy/cache.py:clear", "stumpy/cache.py:_get_cache", "stumpy/cache.py:_save", "stumpy/cache.py:save" ], "edited_modules": [ ...
TDAmeritrade/stumpy
82ecd5110a39e36c9dfbc6bb8698c6381e790c6f
Wrong Numba Cache Directory @NimaSarajpoor [Had asked](https://github.com/TDAmeritrade/stumpy/issues/1066#issuecomment-2617797555): > I think we should open an issue for https://github.com/TDAmeritrade/stumpy/pull/1067#discussion_r1930017203. This can help us to track it separately. What do you think? This is the co...
diff --git a/stumpy/cache.py b/stumpy/cache.py index fbaf352..6c35520 100644 --- a/stumpy/cache.py +++ b/stumpy/cache.py @@ -15,6 +15,7 @@ CACHE_WARNING = "Caching `numba` functions is purely for experimental purposes " CACHE_WARNING += "and should never be used or depended upon as it is not supported! " CACHE_WARNIN...
TDAmeritrade__stumpy-288
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/core.py:_mass_absolute" ], "edited_modules": [ "stumpy/core.py:_mass_absolute" ] }, "file": "stumpy/core.py" } ]
TDAmeritrade/stumpy
4adf60adba3782043a007c01c5785496548ea308
mass_absolute returns NaN for some negative time-series I found this while playing with the PAMAP dataset. Haven't been able to reproduce this with random numbers, so here's the relevant data and code. ```python Q = np.array([-13.09, -14.1 , -15.08, -16.31, -17.13, -17.5 , -18.07, -18.07, -17.48, -16.24, -14....
diff --git a/stumpy/core.py b/stumpy/core.py index dba5e87..96bb7d3 100644 --- a/stumpy/core.py +++ b/stumpy/core.py @@ -861,7 +861,9 @@ def _mass_absolute(Q_squared, T_squared, QT): `See Mueen's Absolute Algorithm for Similarity Search \ <https://www.cs.unm.edu/~mueen/MASS_absolute.m>`__ """ - return...
TDAmeritrade__stumpy-583
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/aamp_motifs.py:aamp_match" ], "edited_modules": [ "stumpy/aamp_motifs.py:aamp_match" ] }, "file": "stumpy/aamp_motifs.py" }, { "changes": { "added_...
TDAmeritrade/stumpy
d2884510304eea876bd05bf64cecc31f2fa07105
stumpy.match bug with parameters: Sliding mean and Sliding standard deviation ### Discussed in https://github.com/TDAmeritrade/stumpy/discussions/581 <div type='discussions-op-text'> <sup>Originally posted by **brunopinos31** March 31, 2022</sup> I have a bug when i try to use the stumpy.match function with para...
diff --git a/stumpy/aamp_motifs.py b/stumpy/aamp_motifs.py index 5fc6cb6..1e00c52 100644 --- a/stumpy/aamp_motifs.py +++ b/stumpy/aamp_motifs.py @@ -380,6 +380,8 @@ def aamp_match( if T_subseq_isfinite is None: T, T_subseq_isfinite = core.preprocess_non_normalized(T, m) + if len(T_subseq_isfinite.sha...
TDAmeritrade__stumpy-649
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/scraamp.py:_compute_PI" ], "edited_modules": [ "stumpy/scraamp.py:_compute_PI" ] }, "file": "stumpy/scraamp.py" }, { "changes": { "added_entities":...
TDAmeritrade/stumpy
2ec04e1723204c81b34ebccdde642917f1271c12
A few issues in `scrump` So, I have been reading the module `stumpy/scrump.py` and I think we should revise the code to address the following issues: (I can address them in the current PR #595 or new PR) (1) https://github.com/TDAmeritrade/stumpy/blob/2ec04e1723204c81b34ebccdde642917f1271c12/tests/naive.py#L1418 ...
diff --git a/stumpy/scraamp.py b/stumpy/scraamp.py index 2cf89be..c6baaba 100644 --- a/stumpy/scraamp.py +++ b/stumpy/scraamp.py @@ -88,8 +88,10 @@ def _compute_PI( ------- None """ - l = T_B.shape[0] - m + 1 - p_norm_profile = np.empty(l) + l = T_A.shape[0] - m + 1 # length of matrix profile +...
TDAmeritrade__stumpy-655
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/aamp_motifs.py:_aamp_motifs", "stumpy/aamp_motifs.py:aamp_match" ], "edited_modules": [ "stumpy/aamp_motifs.py:_aamp_motifs", "stumpy/aamp_motifs.py:aamp_match...
TDAmeritrade/stumpy
bd1beb43283f792a37aee87055c152e3aa69b702
Incorrect descriptions in Docstrings I have been reading the module `mpdist` and I noticed: * The description of the output of `_mpdist_vect` is missing from its docstring * The description of `μ_Q` and `σ_Q` (in `_mpdist_vect`) are not correct. I think they should be `numpy.ndarrays` not `float`. * The descriptio...
diff --git a/stumpy/aamp_motifs.py b/stumpy/aamp_motifs.py index 2c6def8..ddd94f4 100644 --- a/stumpy/aamp_motifs.py +++ b/stumpy/aamp_motifs.py @@ -97,7 +97,7 @@ def _aamp_motifs( motif_distances = [] candidate_idx = np.argmin(P[-1]) - for i in range(l): + for _ in range(l): if len(motif_ind...
TDAmeritrade__stumpy-656
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/aamp_motifs.py:_aamp_motifs", "stumpy/aamp_motifs.py:aamp_match" ], "edited_modules": [ "stumpy/aamp_motifs.py:_aamp_motifs", "stumpy/aamp_motifs.py:aamp_match...
TDAmeritrade/stumpy
bd1beb43283f792a37aee87055c152e3aa69b702
Refactor stumpy.motifs.match As discussed in #653, it might be a good idea to refactor `stumpy.motifs.match` and `stumpy.aamp_motifs.aamp_match`. we are going to add function `_find_matches(D, some-other-params)` to `stumpy/core.py`. It takes 1D distance profile and return the matches. We can then use this function to ...
diff --git a/stumpy/aamp_motifs.py b/stumpy/aamp_motifs.py index 2c6def8..ddd94f4 100644 --- a/stumpy/aamp_motifs.py +++ b/stumpy/aamp_motifs.py @@ -97,7 +97,7 @@ def _aamp_motifs( motif_distances = [] candidate_idx = np.argmin(P[-1]) - for i in range(l): + for _ in range(l): if len(motif_ind...
TDAmeritrade__stumpy-789
[ { "changes": { "added_entities": [ "stumpy/core.py:fix_isconstant_isfinite_conflicts", "stumpy/core.py:_find_incompatible_args" ], "added_modules": [ "stumpy/core.py:fix_isconstant_isfinite_conflicts", "stumpy/core.py:_find_incompatible_args" ], "edi...
TDAmeritrade/stumpy
c7d53216d8422810f026bd0f2fb0ce571d58cac5
Add `T_A_subseq_isconstant` and `T_B_subseq_isconstant` Parameters to API Currently, STUMPY has trouble cleanly differentiating between a "constant subsequence" and a subsequence with a very, very small standard deviation. By adding `T_A_subseq_isconstant` and `T_B_subseq_isconstant` parameters to our API, we can ignor...
diff --git a/stumpy/core.py b/stumpy/core.py index 287c0cc..4d13b9c 100644 --- a/stumpy/core.py +++ b/stumpy/core.py @@ -121,7 +121,7 @@ def non_normalized(non_norm, exclude=None, replace=None): The desired z-normalized/non-normalized function (or class) """ if exclude is None: - exclude = ["n...
TDAmeritrade__stumpy-806
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/core.py:_idx_to_mp" ], "edited_modules": [ "stumpy/core.py:_idx_to_mp" ] }, "file": "stumpy/core.py" } ]
TDAmeritrade/stumpy
275b9982674c3ee79a41184191baa4b1ad323e8e
Adding `T_subseq_isconstant` to `core._idx_to_mp` Currently, the function `core._idx_to_mp` calculate profile value based on the profie indices. However, this calculation, from index to matrix profile, needs to consider the constant subseqs. Hence, we need to add the parma `T_subseq_isconstant` to `core._idx_to_mp` ...
diff --git a/stumpy/core.py b/stumpy/core.py index 6c20f4e..287c0cc 100644 --- a/stumpy/core.py +++ b/stumpy/core.py @@ -2371,7 +2371,7 @@ def _get_mask_slices(mask): return slices -def _idx_to_mp(I, T, m, normalize=True, p=2.0): +def _idx_to_mp(I, T, m, normalize=True, p=2.0, T_subseq_isconstant=None): "...
TDAmeritrade__stumpy-817
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/aampi.py:aampi.__init__" ], "edited_modules": [ "stumpy/aampi.py:aampi" ] }, "file": "stumpy/aampi.py" }, { "changes": { "added_entities": null, ...
TDAmeritrade/stumpy
765965bdf158929f1b9588903c183f05a3229979
Allow user to use pre-calculated `mp` in `stumpy.stumpi.py` It seems that `stumpy.stumpi.py` needs to calculate `matrix profile (mp)` in the beginning of the algorithm. https://github.com/TDAmeritrade/stumpy/blob/576de379994896063be71d264e48a08ae17476cf/stumpy/stumpi.py#L118 And, then it will be updated quickly ...
diff --git a/stumpy/aampi.py b/stumpy/aampi.py index 9a04591..8ef3a47 100644 --- a/stumpy/aampi.py +++ b/stumpy/aampi.py @@ -35,6 +35,14 @@ class aampi: Note that this will increase the total computational time and memory usage when k > 1. + mp : numpy.ndarry, default None + A pre-computed...
TDAmeritrade__stumpy-856
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/motifs.py:_motifs", "stumpy/motifs.py:match" ], "edited_modules": [ "stumpy/motifs.py:_motifs", "stumpy/motifs.py:match" ] }, "file": "stumpy/mot...
TDAmeritrade/stumpy
82ce308fc8b90a83ee55aa52504e1ab9b018f565
bug in motifs.py In function `_motifs` (in module `motifs.py`), we see the following lines of code: https://github.com/TDAmeritrade/stumpy/blob/43a1cea710c004ed08fb1de0e712e3335917f61d/stumpy/motifs.py#L119-L125 which is not correct as we should have passed `max_matches` to this function, but we are passing `Non...
diff --git a/stumpy/motifs.py b/stumpy/motifs.py index 0c8246d..4585dea 100644 --- a/stumpy/motifs.py +++ b/stumpy/motifs.py @@ -121,7 +121,7 @@ def _motifs( T, M_T=M_T, Σ_T=Σ_T, - max_matches=None, + max_matches=max_matches, max_distance=max_dis...
TDAmeritrade__stumpy-892
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "stumpy/core.py:_calculate_squared_distance" ], "edited_modules": [ "stumpy/core.py:_calculate_squared_distance" ] }, "file": "stumpy/core.py" }, { "changes": { ...
TDAmeritrade/stumpy
900b10cda4ebeed5cc90d3b4cd1972e6ae18ea10
Snippets Unit Test Assertion Failure It appears that snippets unit tests are failing [here](https://github.com/TDAmeritrade/stumpy/actions/runs/5569517430/jobs/10172918123) and it's not clear if it may be related to the snippet comment in #828
diff --git a/stumpy/core.py b/stumpy/core.py index 57d05f9..3208859 100644 --- a/stumpy/core.py +++ b/stumpy/core.py @@ -1042,7 +1042,7 @@ def compute_mean_std(T, m): @njit( # "f8(i8, f8, f8, f8, f8, f8)", - fastmath=True + fastmath={"nsz", "arcp", "contract", "afn", "reassoc"} ) def _calculate_squared_...
TGSAI__segy-175
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/segy/accessors.py:TraceAccessor._update_decoders" ], "edited_modules": [ "src/segy/accessors.py:TraceAccessor" ] }, "file": "src/segy/accessors.py" }, { "ch...
TGSAI/segy
3be2d2a58dc044146ddd51c0a54df2f1913729a8
BUG: Unable to correctly read the 32 bit IBM Floating point numbers from trace headers ### **Details:** Segy version 0.1.5 is unable to correctly read the values stored in trace headers in 32 bit IBM Floating point format. It does not give any error while doing so. ### **Expected output** The values at locations ...
diff --git a/poetry.lock b/poetry.lock index 26bf7f7..2e8adc2 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2,13 +2,13 @@ [[package]] name = "adlfs" -version = "2024.4.1" +version = "2024.7.0" description = "Access Azure Datalake Gen1 with fsspec and dask" optional = true python-versions = ">=3.8" files = [ - ...
TRoboto__Maha-103
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "maha/cleaners/functions/remove_fn.py:remove" ], "edited_modules": [ "maha/cleaners/functions/remove_fn.py:remove" ] }, "file": "maha/cleaners/functions/remove_fn.py" ...
TRoboto/Maha
8908cd383ec4af6805be25bfe04ec3e4df6f7939
Adding a list of strings to cleaner functions ### What problem are you trying to solve? Enhance the cleaners functions to take a list of strings as input if needed. ### Examples (if relevant) ```py >>> from maha.cleaners.functions import remove >>> text = "من اليوم سوف ينتقل صديقي منور من المدينة المنورة وعنوانه ا...
diff --git a/maha/cleaners/functions/remove_fn.py b/maha/cleaners/functions/remove_fn.py index 1385f34..47786b8 100644 --- a/maha/cleaners/functions/remove_fn.py +++ b/maha/cleaners/functions/remove_fn.py @@ -3,6 +3,8 @@ Functions that operate on a string and remove certain characters. """ from __future__ import anno...
TRoboto__Maha-30
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "maha/parsers/rules/time/values.py" } ]
TRoboto/Maha
a576d5385f6ba011f81cf8d0e69f52f756006489
Last day of month parsing returns incorrect date ### What happened? Check the following example: ```py >>> from datetime import datetime >>> from maha.parsers.functions import parse_dimension >>> date = datetime(2021, 9, 21) >>> sample_text = "آخر اثنين من شهر شباط" >>> parse_dimension(sample_text, time=True)[...
diff --git a/maha/parsers/rules/time/values.py b/maha/parsers/rules/time/values.py index 7c581a6..4a7d08e 100644 --- a/maha/parsers/rules/time/values.py +++ b/maha/parsers/rules/time/values.py @@ -729,13 +729,9 @@ _start_of_last_day = ( LAST_SPECIFIC_DAY_OF_SPECIFIC_MONTH = FunctionValue( lambda match: parse_valu...
TTitcombe__PrivacyPanda-23
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "privacypanda/addresses.py" } ]
TTitcombe/PrivacyPanda
7f2f07b7f3148dbd15dea5a0f1a773c9bc288b28
Identify street name abbreviations #6 introduced the capability to detect full street names, with street types "street", "road", "avenue", "way". Addresses can be abbreviated e.g. 10 Downing St. instead of 10 Downing Street. Abbreviated street types should be included in an address search
diff --git a/.gitignore b/.gitignore index b6e4761..28049c9 100644 --- a/.gitignore +++ b/.gitignore @@ -127,3 +127,6 @@ dmypy.json # Pyre type checker .pyre/ + +# PrivacyPanda specifics +images/*.svg diff --git a/privacypanda/addresses.py b/privacypanda/addresses.py index 53d3c82..2ec6753 100644 --- a/privacypanda...
TUW-GEO__pygeogrids-66
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/pygeogrids/grids.py:BasicGrid.__init__", "src/pygeogrids/grids.py:BasicGrid.find_nearest_gpi" ], "edited_modules": [ "src/pygeogrids/grids.py:BasicGrid" ] }, ...
TUW-GEO/pygeogrids
83f02bcd5a404b49b23931fade9a7b6f383172b2
grid.find_nearest_gpi() max_dist ignored ``grid.find_nearest_gpi()`` takes a keyword ``max_dist``, but this is ignored in the next line when calling ´´find_k_nearest_gpi()´´ and set to ``np.Inf`` https://github.com/TUW-GEO/pygeogrids/blob/83f02bcd5a404b49b23931fade9a7b6f383172b2/src/pygeogrids/grids.py#L360 https:/...
diff --git a/src/pygeogrids/grids.py b/src/pygeogrids/grids.py index 45da94f..3a04fa6 100644 --- a/src/pygeogrids/grids.py +++ b/src/pygeogrids/grids.py @@ -31,6 +31,7 @@ The grids module defines the grid classes. import numpy as np import numpy.testing as nptest +import warnings try: from osgeo import ogr ...
TUW-GEO__pygeogrids-74
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/pygeogrids/grids.py:BasicGrid.find_k_nearest_gpi" ], "edited_modules": [ "src/pygeogrids/grids.py:BasicGrid" ] }, "file": "src/pygeogrids/grids.py" }, { "ch...
TUW-GEO/pygeogrids
ed2134717cb4a8984666133206c73f21224033d8
other.kdTree.find_nearest_index in calc_lut returning no result with max_dist defined `other.kdTree.find_nearest_index` in `calc_lut` returning no result with max_dist defined, results are returned without defining max_dist.
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 50ee51d..c664a93 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ Changelog ========= +Version 0.4.1 +============= + +- Fixes a bug in the nearest neighbour lookup, where no points were returned + when less than k gpis are found in the selected max d...
TabViewer__tabview-165
[ { "changes": { "added_entities": [ "tabview/tabview.py:parse_path" ], "added_modules": [ "tabview/tabview.py:parse_path" ], "edited_entities": [ "tabview/tabview.py:view" ], "edited_modules": [ "tabview/tabview.py:view" ] }, ...
TabViewer/tabview
b73659ffa8469d132f91d7abf3c19e117fe8b145
File URI scheme not supported File URI scheme as filename is not supported: `$ tabview file://home/asparagii/test.csv` leads to a FileNotFoundException
diff --git a/tabview/tabview.py b/tabview/tabview.py index c98188a..b7f441c 100644 --- a/tabview/tabview.py +++ b/tabview/tabview.py @@ -25,6 +25,11 @@ from textwrap import wrap import unicodedata import shlex +if sys.version_info.major < 3: + from urlparse import urlparse +else: + from urllib.parse import ur...
TeamGraphix__graphix-154
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "graphix/pattern.py:Pattern.get_measurement_commands" ], "edited_modules": [ "graphix/pattern.py:Pattern" ] }, "file": "graphix/pattern.py" } ]
TeamGraphix/graphix
dd15e5d65fac5ba2a1fac7b4a5ac6ec943abc613
[Bug]: "list index out of range" in `pattern.get_measurement_commands` **Describe the bug** The method `pattern.get_measurement_commands` may raise `IndexError: list index out of range` if measure commands are the last commands in the pattern. **To Reproduce** The following code raises `IndexError`: ```python im...
diff --git a/graphix/pattern.py b/graphix/pattern.py index 0c700c6..fc4efc4 100644 --- a/graphix/pattern.py +++ b/graphix/pattern.py @@ -954,8 +954,14 @@ class Pattern: ind = self._find_op_to_be_moved("M") if ind == "end": return [] - while self.__seq[ind][0] == "M": - m...
TeamGraphix__graphix-180
[ { "changes": { "added_entities": [ "graphix/command.py:M.clifford" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "graphix/command.py:M" ] }, "file": "graphix/command.py" }, { "changes": { "added_entities": [ ...
TeamGraphix/graphix
91c5d788b52db69d03aa9e57951788f0f0d7acc3
Remove `vop` from the `M` commands **Is your feature request related to a problem? Please describe.** (to be worked on after merging #155): `vop` info is redundant as it can be converted to measurement planes and angle changes. Modify them instead of adding`vop`, in e.g. `measure_pauli` `traspile(opt=True)`, etc. rem...
diff --git a/graphix/command.py b/graphix/command.py index e7bdf42..fcd2fbd 100644 --- a/graphix/command.py +++ b/graphix/command.py @@ -5,8 +5,11 @@ from __future__ import annotations import abc import enum +import numpy as np from pydantic import BaseModel +import graphix.clifford +from graphix.clifford import...
TeamGraphix__graphix-225
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "graphix/graphsim/rxgraphstate.py:RXGraphState.neighbors" ], "edited_modules": [ "graphix/graphsim/rxgraphstate.py:RXGraphState" ] }, "file": "graphix/graphsim/rxgraphst...
TeamGraphix/graphix
90c943374b3b2c9f3b6881ecf866ddff6dacb249
[Bug]: `rustworkx` fails to handle non-contiguous node numbering The following code raises `KeyError` in `rxgraphviews.get_node_index` when `use_rustworkx` is `True`: ```python @pytest.mark.parametrize("use_rustworkx", [False, True]) def test_pauli_non_contiguous(self, use_rustworkx) -> None: patter...
diff --git a/graphix/graphsim/rxgraphstate.py b/graphix/graphsim/rxgraphstate.py index f310b79..d0d67c1 100644 --- a/graphix/graphsim/rxgraphstate.py +++ b/graphix/graphsim/rxgraphstate.py @@ -75,13 +75,13 @@ class RXGraphState(BaseGraphState): ret.append((n, degree)) return iter(ret) - def n...
TeamGraphix__graphix-56
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "graphix/gflow.py:find_odd_neighbor" ], "edited_modules": [ "graphix/gflow.py:find_odd_neighbor" ] }, "file": "graphix/gflow.py" }, { "changes": { "added_e...
TeamGraphix/graphix
19d4e0e8811186f9a3ee3c211273f6f5e8516d37
Measurement pattern for Toffoli gate Implement measurement pattern for Toffoli gate in `graphix.Circuit` class for transpilation. Please consider: - minimize the number of commands by choosing an appropriate decomposition before translating into a measurement pattern. - Make sure the `Circuit.simulate_statevector()`...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ffe97c..33f45ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Only `networkx` backend was available for pattern optimization. By setting the `use_rustworkx` option to...
TeamLEGWORK__LEGWORK-117
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "legwork/_version.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "legwork/strain.p...
TeamLEGWORK/LEGWORK
f49886e8e9728f975ce361f0a722e1ba96138d7a
throw a warning on lw.utils.fn_dot when n=0 **Describe the new feature you'd like** I think we should seriously consider adding a user warning when a harmonic=0 is specified for [utils.fn_dot](https://legwork.readthedocs.io/en/latest/api/legwork.utils.fn_dot.html#legwork.utils.fn_dot) **Any suggestions for how to i...
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f09bc24..ddc6467 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -56,7 +56,7 @@ jobs: # test with as many cores as possible for speed pytest legwork -n=auto --...
Telefonica__toolium-70
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "toolium/pageelements/group_page_element.py:Group.reset_object" ], "edited_modules": [ "toolium/pageelements/group_page_element.py:Group" ] }, "file": "toolium/pageeleme...
Telefonica/toolium
e35c53831bd3a61c40cd3e13dd972783c24ff664
Elements not found in nested groups When you have several nested groups the parent parameter is not correctly filled and sometimes the elements of a group cannot be found and "NoSuchElementException" is given. Defined groups example: class ThirdGroup(Group): def init_page_elements(self): self.element3 = Bu...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 355d22e..8ecab67 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,13 @@ Toolium Changelog ================= +v1.2.4 +------ + +*Release date: 2017-03-17* + +- Fix NoSuchElementException error finding elements in nested groups + v1.2.3 ------ diff --git a...
Textualize__textual-1352
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/textual/dom.py:DOMNode._merge_bindings" ], "edited_modules": [ "src/textual/dom.py:DOMNode" ] }, "file": "src/textual/dom.py" } ]
Textualize/textual
9acdd70e365c41275c55e44ba91c5c30c09aa1fd
A `Widget`-derived widget with `inherit_bindings=False`, but no `BINDINGS`, appears to still inherit bindings This is *very* much related to #1343, but I think merits an issue of its own to consider first. The reasons *why* this happens seem clear enough, but I feel the setup may cause confusion. With Textual as it is ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d1641b1a3..42111addd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Fixed issue with auto width/height and relative children https://github.com/Textualize/textual/issues/1319 - Fixed...
Textualize__textual-1359
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/textual/reactive.py:Reactive.__set__" ], "edited_modules": [ "src/textual/reactive.py:Reactive" ] }, "file": "src/textual/reactive.py" } ]
Textualize/textual
b9f2382f96e4ce96a859b6c4baccde70cfb8dc53
Validators and watchers should run hand-in-hand When `init=True` in a `reactive` attribute, the `watch_` method for that attribute run, but the `validate_` method does not. This seems rather confusing and we think that validators and watchers should always run hand-in-hand. If the watcher is called, you should be confi...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a8a4fa91e..96d5e88ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed +- Fixed validator not running on first reactive set https://github.com/Textualize/textual/pull/1359 - E...
Textualize__textual-1427
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/textual/widgets/_data_table.py:DataTable.clear" ], "edited_modules": [ "src/textual/widgets/_data_table.py:DataTable" ] }, "file": "src/textual/widgets/_data_table....
Textualize/textual
cef386a40abcdf3ba8284ed07ca4689d8d97315d
Support clearing columns via `DataTable.clear()` Looks like this feature must have gotten lost in the shuffle, since the docstring mentions it but the function doesn't support it: https://github.com/Textualize/textual/blob/3aaa4d3ec1cfd1be86c781a34da09e6bc99e8eff/src/textual/widgets/_data_table.py#L315-L328 Happy to...
diff --git a/CHANGELOG.md b/CHANGELOG.md index aff340411..d0e5349c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning]...
Textualize__textual-1546
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/textual/app.py:App._process_messages" ], "edited_modules": [ "src/textual/app.py:App" ] }, "file": "src/textual/app.py" }, { "changes": { "added_entit...
Textualize/textual
2468a8ca83422194e52f6183e25f11455d8a19c7
Make `COMPONENT_CLASSES` inheritable Much like `DEFAULT_CSS` and similar things, look at the idea of making `COMPONENT_CLASSES` inheritable. At the moment, if you inherit from a widget that has a `COMPONENT_CLASSES`, and you set your own in your derived widget, you'll erase those of the parent. Right now the best optio...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 954f3b7d0..53dabe816 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Added read-only public access to the children of a `TreeNode` via `TreeNode.children` https://github.com/Textualize...
Textualize__textual-1551
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/textual/css/_help_text.py:style_flags_property_help_text" ], "edited_modules": [ "src/textual/css/_help_text.py:style_flags_property_help_text" ] }, "file": "src/te...
Textualize/textual
0762a6b8583ce62890bb5f216b2a4cb1724b1c7d
Improve error message when value `none` is in a list of text styles When you provide an illegal value for the CSS rule `link-style`, you get a helpful message displaying all legal values, saying that `text-style` expects a space-separated list of those. If you set `text-style: bold italic reverse` it works fine. ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 402b8064c..a3e84657f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Fail-fast and print pretty tracebacks for Widget compose errors https://github.com/Textualize/textual/pull/1505 - ...
Textualize__textual-1640
[ { "changes": { "added_entities": [ "src/textual/css/_style_properties.py:ScalarListProperty.__init__" ], "added_modules": null, "edited_entities": [ "src/textual/css/_style_properties.py:ScalarListProperty.__set__" ], "edited_modules": [ "src/textual/c...
Textualize/textual
383ab1883103cdf769b89fd6eb362f412f12679d
Grid columns with multiple units resolves percent unit to wrong value In a grid layout with mixed units in the style `grid-columns`, the column associated with `25%` gets the wrong size. However, using `25w` or `25vw` instead of `25%` produces the correct result. Here is the screenshot of the app where the middle c...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e3ffc3dbe..01536dfaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning]...
Textualize__textual-1837
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/textual/css/tokenize.py" } ]
Textualize/textual
be850635c2d764dfa4d45707a0cb92bfd63f355d
[CSS] Descendant type selectors can't have a numeric in their name Consider the following code: ```python from textual.app import App, ComposeResult from textual.containers import Vertical from textual.widgets import Header, Footer, Label class LabelH1( Label ): ... class CSSOddnessApp( App[ ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 98fdac88e..7727141ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning]...
Textualize__textual-1926
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/textual/_xterm_parser.py:XTermParser._sequence_to_key_events" ], "edited_modules": [ "src/textual/_xterm_parser.py:XTermParser" ] }, "file": "src/textual/_xterm_par...
Textualize/textual
623b70d4ac8983ac104b27062abab3cb2bbdbdfa
Pilot cannot press key minus The way `App._press_keys` is implemented is flawed in here: https://github.com/Textualize/textual/blob/ba6c8afac6ffb78dffeab9ebdc7c115fd28cd40b/src/textual/app.py#L830-L842 There is a clear bug because the transformation done on `key` with two consecutive replacements cannot be undone...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 76fb3117a..a6305e842 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Added `switch` attribute to `Switch` events https://github.com/Textualize/textual/pull/1940 - Breaking change: Ad...
Textualize__textual-2038
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/textual/message_pump.py:MessagePumpMeta.__new__" ], "edited_modules": [ "src/textual/message_pump.py:MessagePumpMeta" ] }, "file": "src/textual/message_pump.py" }...
Textualize/textual
a3887dfcbb7fe47cc6e10da7645d01cffe1a91e3
Investigate an improvement to how the namespace of messages is calculated Consider the following code, where there is a base class for two widgets that share a *lot* in common but have slightly different uses/APIs/reasons-to-exist. They both have a `value` in common and so will have a `Changed` message (consider this a...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 66273dcfe..49d764f65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning]...
Textualize__textual-2464
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/textual/widgets/_data_table.py:DataTable.watch_cursor_coordinate" ], "edited_modules": [ "src/textual/widgets/_data_table.py:DataTable" ] }, "file": "src/textual/wi...
Textualize/textual
e5c54a36832b69e30da01f66fcfe629ec3c3b8c9
DataTable - When cursor_coordinate updates, we should scroll_cursor_visible When the cursor moves out of the screen, we should scroll the cursor into visibility. It seems like there is already code to do this, but because of #2458 the scrolling doesn't work.
diff --git a/CHANGELOG.md b/CHANGELOG.md index c4acf4a76..56b6aff24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning]...
Textualize__textual-2479
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/textual/reactive.py:Reactive.var", "src/textual/reactive.py:var.__init__" ], "edited_modules": [ "src/textual/reactive.py:Reactive", "src/textual/reactive.py:var"...
Textualize/textual
04083a73f8b0abcc98c3fe9fd220f0c7ae4542b4
Moving cursor sideways in the DataTable should animate. With #2464, I broke the smooth animation you get when moving the cursor sideways in a `DataTable`. This behaviour should be restored.
diff --git a/CHANGELOG.md b/CHANGELOG.md index fbc8be178..69042e4a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,11 +10,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Fixed crash when creating a `DirectoryTree` starting anywhere other than `.` +- Fixed line drawing i...
Textualize__textual-2530
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/textual/widget.py:Widget.move_child" ], "edited_modules": [ "src/textual/widget.py:Widget" ] }, "file": "src/textual/widget.py" } ]
Textualize/textual
d266e3685f37353eb3e201a6538d28e4cc5d7025
Make moving a child before or after itself, a no-op If we try to use `move_child` to move a widget to after/before itself, should we get an error or is that a no-op? (Add tests to tests/test_widget_child_moving.py accordingly.) Context: this arose from writing some functionality in a TODO app that sorts TODO items ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d6821f92..aeaaf466a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Changed - App `title` and `sub_title` attributes can be set to any type https://github.com/Textualize/textual/...