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
datalad__datalad-next-149
[ { "changes": { "added_entities": null, "added_modules": [ "datalad_next/exceptions.py:UrlTargetNotFound" ], "edited_entities": null, "edited_modules": null }, "file": "datalad_next/exceptions.py" }, { "changes": { "added_entities": null, "added_m...
datalad/datalad-next
cb4aca3d5eb7c13d58fb44c504a89ad3d195a743
`UrlOperations.sniff()` exceptions should distinguish connection error from access error When a URL works in principle, but points to something that is just not there (e.g. HTTP404) vs we cannot tell right now (HTTP5xx, or network down). This is needed for a reliable operation of CHECKPRESENT in git-annex special re...
diff --git a/datalad_next/exceptions.py b/datalad_next/exceptions.py index 85015a3..4e99d16 100644 --- a/datalad_next/exceptions.py +++ b/datalad_next/exceptions.py @@ -4,8 +4,17 @@ from datalad.runner import CommandError from datalad.support.exceptions import ( AccessDeniedError, AccessFailedError, - NoD...
datalad__datalad-next-164
[ { "changes": { "added_entities": [ "datalad_next/annexremote/uncurl.py:UncurlRemote._store_delete" ], "added_modules": null, "edited_entities": [ "datalad_next/annexremote/uncurl.py:UncurlRemote.checkurl", "datalad_next/annexremote/uncurl.py:UncurlRemote.transfer_...
datalad/datalad-next
a4c98425e0cb637a9d3a88cd631136a6c53a64d1
Test uncurl remote with chunking
diff --git a/datalad_next/annexremote/uncurl.py b/datalad_next/annexremote/uncurl.py index 557de86..256cb63 100644 --- a/datalad_next/annexremote/uncurl.py +++ b/datalad_next/annexremote/uncurl.py @@ -151,17 +151,29 @@ for composing URLs via a template. - ``annex_remoteuuid`` - UUID of the special remote (location) us...
datalad__datalad-next-222
[ { "changes": { "added_entities": [ "datalad_next/url_operations/any.py:AnyUrlOperations._load_handler_registery" ], "added_modules": null, "edited_entities": [ "datalad_next/url_operations/any.py:AnyUrlOperations.__init__", "datalad_next/url_operations/any.py:AnyU...
datalad/datalad-next
cf24cdd44120928e23a35463981744114f0b02eb
Allow for URL handler definition in config Presently `AnyUrlOperations` only consults a runtime/code registry. We could... Specify URL handlers in configuration: The items would be of syntax: `datalad.url-handler.<regex>.<property>`, where `<regex>` is a match expression when to apply a particular handler. Pu...
diff --git a/datalad_next/url_operations/any.py b/datalad_next/url_operations/any.py index 7ab94ad..c91d94a 100644 --- a/datalad_next/url_operations/any.py +++ b/datalad_next/url_operations/any.py @@ -4,18 +4,14 @@ from __future__ import annotations from importlib import import_module +import json import logging ...
datalad__datalad-next-231
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "datalad_next/annexremotes/uncurl.py:UncurlRemote.checkurl", "datalad_next/annexremotes/uncurl.py:UncurlRemote.checkpresent" ], "edited_modules": [ "datalad_next/annexremotes/...
datalad/datalad-next
ee46bc4c1c001acb778139b19f6fa103a5d8b51f
Rename URL operation `sniff()` -> `stat()` More commonly understood.
diff --git a/README.md b/README.md index ff46261..d7aae95 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ package and its commands. - New modular framework for URL operations. This framework directly supports operation on `http(s)`, `ssh`, and `file` URLs, and can be extended with custom functionality f...
datalad__datalad-next-257
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "datalad_next/credman/manager.py:CredentialManager.get", "datalad_next/credman/manager.py:CredentialManager._assign_credential_type" ], "edited_modules": [ "datalad_next/credm...
datalad/datalad-next
9db27268e574f55d655d5daf245c193439d17675
Better support for lonely token credential specification ```sh DATALAD_CREDENTIAL_MIKE_TOKEN=some datalad credentials get mike mike(secret ✗): [token=some] ``` So right now it considers it to be a credential, but a credential without a secret and a `token` property. This is suboptimal. This means that tokens c...
diff --git a/datalad_next/credman/manager.py b/datalad_next/credman/manager.py index 4d4167f..167a64c 100644 --- a/datalad_next/credman/manager.py +++ b/datalad_next/credman/manager.py @@ -201,8 +201,9 @@ class CredentialManager(object): # no secret, no credential if any(not p.startswith('_') ...
datalad__datalad-next-278
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "datalad_next/constraints/base.py:_MultiConstraint.__repr__" ], "edited_modules": [ "datalad_next/constraints/base.py:_MultiConstraint" ] }, "file": "datalad_next/constr...
datalad/datalad-next
efe9fb30713f4b9f505fa2aa27203255a52883db
EnsureGeneratorFromFileLike should not stop on exception Right now any invalid input will cause it to stop and raise. However for any batch mode application it would be essential to be able to ignore errors and/or simply report on them The implementation should be changed to yield (not raise) a special value. Lik...
diff --git a/datalad_next/constraints/base.py b/datalad_next/constraints/base.py index cd2bdad..d82c994 100644 --- a/datalad_next/constraints/base.py +++ b/datalad_next/constraints/base.py @@ -87,10 +87,6 @@ class _MultiConstraint(Constraint): EnsureNone() if c is None else c for c in constraints ...
datalad__datalad-next-292
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": [ "datalad_next/commands/download.py:Download" ] }, "file": "datalad_next/commands/download.py" }, { "changes": { "added_entities": null, "ad...
datalad/datalad-next
10b5d92d48c0f2d801f9ae88373bc8bbcbceb40d
Implement `AltConstraints.__or__` not `__ior__` This is the sibling of https://github.com/datalad/datalad/issues/7164. I think the real issue is that the current implementation matches the semantics of `__ior__()` and not `__or__()`. And this needs to be fixed.
diff --git a/datalad_next/commands/download.py b/datalad_next/commands/download.py index 03d464b..4f91ccd 100644 --- a/datalad_next/commands/download.py +++ b/datalad_next/commands/download.py @@ -8,7 +8,6 @@ from pathlib import ( Path, PurePosixPath, ) -from typing import Dict from urllib.parse import urlp...
datalad__datalad-next-362
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "datalad_next/constraints/exceptions.py:ParameterConstraintContext.get_label_with_parameter_values" ], "edited_modules": [ "datalad_next/constraints/exceptions.py:ParameterConstraintC...
datalad/datalad-next
46db8c6669b8a57eebf85bf001043ac1b4851f2d
Insufficient arguments not handled well in `EnsureCommandParameterization` Not given all mandatory arguments via the Python API results in a plain ``` CommandParametrizationError: 0 command parameter constraint violation ``` while the CLI (where argparse is intercepting this immediately) provides a usage synops...
diff --git a/datalad_next/constraints/exceptions.py b/datalad_next/constraints/exceptions.py index a3e4d9a..2955c50 100644 --- a/datalad_next/constraints/exceptions.py +++ b/datalad_next/constraints/exceptions.py @@ -273,8 +273,14 @@ class ParameterConstraintContext: """Like ``.label`` but each parameter will ...
datalad__datalad-next-365
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "datalad_next/url_operations/http.py:HttpUrlOperations._stream_download_from_request" ], "edited_modules": [ "datalad_next/url_operations/http.py:HttpUrlOperations" ] }, ...
datalad/datalad-next
944ecdb003b550f1a0da9162fcc66481d5d306fe
http-downloads via `download` (`HttpUrlOperations`) result in gzipped files on disk
diff --git a/datalad_next/url_operations/http.py b/datalad_next/url_operations/http.py index 8d31c03..63ddb89 100644 --- a/datalad_next/url_operations/http.py +++ b/datalad_next/url_operations/http.py @@ -9,7 +9,6 @@ import sys from typing import Dict import requests from requests_toolbelt import user_agent -from re...
datalad__datalad-next-381
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "datalad_next/types/annexkey.py" } ]
datalad/datalad-next
85250d5fce519e9ef54ecaff2a970958807197f0
`AnnexKey` should be hashable I would think that using this type as a key in a mapping would be a standard use case. It would require the following change: ```diff diff --git a/datalad_next/types/annexkey.py b/datalad_next/types/annexkey.py index 74bbcb6..5a85342 100644 --- a/datalad_next/types/annexkey.py +++ b...
diff --git a/datalad_next/types/annexkey.py b/datalad_next/types/annexkey.py index 74bbcb6..037280b 100644 --- a/datalad_next/types/annexkey.py +++ b/datalad_next/types/annexkey.py @@ -1,3 +1,5 @@ +"""git-annex key representation""" + from __future__ import annotations from dataclasses import dataclass @@ -14,7 +16...
datalad__datalad-next-583
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "datalad_next/commands/ls_file_collection.py" }, { "changes": { "added_entities": [ "datalad_next/iter_collections/gittree.py:GitTreeItem...
datalad/datalad-next
a27a4eb91844a305056d042cc32eb8720c814609
Double check and document (if needed) `.name` conventions for `iter_collections` I cannot put my finger on it, but I feel the nature of the value of `.name` for a reported item is non-uniform. I am not aware of a documentation for the convention, if how iterators should behave. The `.name` should always be a `Pur...
diff --git a/datalad_next/commands/ls_file_collection.py b/datalad_next/commands/ls_file_collection.py index 9748cbf..5b1f4b9 100644 --- a/datalad_next/commands/ls_file_collection.py +++ b/datalad_next/commands/ls_file_collection.py @@ -57,7 +57,6 @@ from datalad_next.iter_collections.utils import ( ) from datalad_ne...
datalayer__jupyter-server-nbmodel-9
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "jupyter_server_config.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "jupyter_ser...
datalayer/jupyter-server-nbmodel
77cdb6f58b5d851549aedff515a04d7e7d11b920
Should code be executed asynchronously in RTC mode? <!-- Welcome! Thanks for thinking of a way to improve Datalayer. If this solves a problem for you, then it probably solves that problem for lots of people! So the whole community will benefit from this request. Before creating a new feature request please search t...
diff --git a/.gitignore b/.gitignore index 1048b01..795efd7 100644 --- a/.gitignore +++ b/.gitignore @@ -101,3 +101,4 @@ dmypy.json # OSX files .DS_Store .jupyter_ystore.db +.vscode diff --git a/README.md b/README.md index 7916d4a..4934ec9 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,83 @@ that the server ext...
datapythonista__mnist-12
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mnist/__init__.py:download_file" ], "edited_modules": [ "mnist/__init__.py:download_file" ] }, "file": "mnist/__init__.py" } ]
datapythonista/mnist
aeae1406afea11c1c23788f23856053edcfc536b
Allowing specification of the download directory Right now the functions listed on the README.md doesn't allow specifying the target directory. This functionality should be possible just by propagating extra parameters to the download function.
diff --git a/README.md b/README.md index b164037..80a9d4e 100644 --- a/README.md +++ b/README.md @@ -63,4 +63,18 @@ train_images = mnist.train_images() x = images.reshape((images.shape[0], images.shape[1] * images.shape[2])) ``` +Both the url where the files can be found, and the temporary directory where +they wil...
datasciencecampus__parliai-public-26
[ { "changes": { "added_entities": [ "src/parliai_public/readers/base.py:BaseReader._check_response" ], "added_modules": null, "edited_entities": [ "src/parliai_public/readers/base.py:BaseReader.__init__", "src/parliai_public/readers/base.py:BaseReader.analyse" ...
datasciencecampus/parliai-public
b82328f4b2511783149cfd57393cda1c24f158d8
Add post-processing step to verify the LLM output is present in original content verbatim
diff --git a/README.md b/README.md index e142eac..dbe6dfb 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,9 @@ Once pre-commits are activated, whenever you commit to this repository a series ## Usage [theyworkforyou.com](https://www.theyworkforyou.com) -By default, parliamentary content from the previous day (a...
datosgobar__pydatajson-124
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pydatajson/ckan_utils.py:map_dataset_to_package" ], "edited_modules": [ "pydatajson/ckan_utils.py:map_dataset_to_package" ] }, "file": "pydatajson/ckan_utils.py" }, ...
datosgobar/pydatajson
70ed537996200a79c3d3f16d4862160731314dac
Agregar opción para mover `theme` a `keyword` en `push_dataset_to_ckan` **Contexto** Los temas específicos (`theme`) son temas que tienen sentido dentro del contexto y dominio temático bajo el cual cada nodo original opera. Sirven para clasificar a sus datasets según categorías temáticas específicas a la problemática ...
diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 556645c..2191b01 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -94,6 +94,8 @@ Toma los siguientes parámetros: - **portal_url**: URL del portal de CKAN de destino. - **apikey**: La apikey de un usuario del portal de destino con los permisos para crear el dat...
datosgobar__pydatajson-125
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pydatajson/ckan_utils.py:map_dataset_to_package" ], "edited_modules": [ "pydatajson/ckan_utils.py:map_dataset_to_package" ] }, "file": "pydatajson/ckan_utils.py" }, ...
datosgobar/pydatajson
3c428354f3f1b48b9b70815ba370e8cd1b11b07b
Agregar opción para copiar `superTheme` a `theme` en `push_dataset_to_ckan` **Contexto** Los temas globales (`superTheme`) son temas transversales bajo los cuales los nodos originales clasifican a sus datasets para indexarlos en un nodo integrador. El `superTheme` de un dataset en su nodo original, es el `theme` de e...
diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 2191b01..39d9678 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -94,8 +94,11 @@ Toma los siguientes parámetros: - **portal_url**: URL del portal de CKAN de destino. - **apikey**: La apikey de un usuario del portal de destino con los permisos para crear el da...
datosgobar__pydatajson-126
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pydatajson/ckan_utils.py:map_dataset_to_package", "pydatajson/ckan_utils.py:map_distributions_to_resources" ], "edited_modules": [ "pydatajson/ckan_utils.py:map_dataset_to_pa...
datosgobar/pydatajson
c71794df9f7e570d86394a7af9f038aeb85b64d4
Agregar opción para copiar el `identifier` original, sin prependear el `catalog_id` **Contexto** Poder escribir un dataset con su identifier original es útil para utilizar la función no como federador, sino como forma de restaurar los metadatos de un dataset a partir de un backup anterior. **Propuesta** Agregar un a...
diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 39d9678..cd72809 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -87,13 +87,14 @@ Existen dos métodos, cuyos reportes se incluyen diariamente entre los archivos ### Métodos para federación de datasets - **pydatajson.DataJson.push_dataset_to_ckan()**: Copia la m...
datosgobar__pydatajson-131
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pydatajson/ckan_utils.py:map_dataset_to_package" ], "edited_modules": [ "pydatajson/ckan_utils.py:map_dataset_to_package" ] }, "file": "pydatajson/ckan_utils.py" }, ...
datosgobar/pydatajson
ef99387305d7cd46831c715c7a443f4b056baeb4
Robustecer el manejo de themes por parte de push_dataset_to_ckan() Este es un issue que hace referencia al 24 de monitoreo apertura: https://github.com/datosgobar/monitoreo-apertura/issues/24 Lo abro acá porque me parece que es más apropiado discutirlo en este repo. ----------------------------------------------...
diff --git a/pydatajson/ckan_utils.py b/pydatajson/ckan_utils.py index f71570d..9724f44 100644 --- a/pydatajson/ckan_utils.py +++ b/pydatajson/ckan_utils.py @@ -1,6 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- import json +import re +import sys from datetime import time from dateutil import parser, tz fr...
datosgobar__pydatajson-153
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pydatajson/federation.py:harvest_catalog_to_ckan" ], "edited_modules": [ "pydatajson/federation.py:harvest_catalog_to_ckan" ] }, "file": "pydatajson/federation.py" } ...
datosgobar/pydatajson
dae546a739eb2aab1c34b3d8bbb5896fe804e0aa
Robustecer el manejo de harvest_catalog_to_ckan() Hay que corregir 2 problemas: - En caso de pasar una lista vacía en el dataset list, no se debe federar ningún dataset. Actualmente se federan todos. -En caso de que alguno de las llamadas a `harvest_dataset_to_ckan()` falle, loggear y continuar con el resto. Actu...
diff --git a/pydatajson/federation.py b/pydatajson/federation.py index 43e932e..b503d95 100644 --- a/pydatajson/federation.py +++ b/pydatajson/federation.py @@ -5,11 +5,13 @@ de la API de CKAN. """ from __future__ import print_function +import logging from ckanapi import RemoteCKAN -from ckanapi.errors import NotF...
datosgobar__pydatajson-191
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pydatajson/ckan_reader.py:read_ckan_catalog", "pydatajson/ckan_reader.py:add_superTheme", "pydatajson/ckan_reader.py:map_resource_to_distribution", "pydatajson/ckan_reader.py:map...
datosgobar/pydatajson
91872076f46aa9a1b3cfbd7206c278d5ebf3bbc2
Agregar algunos tests a módulos no testeados Como `ckan_reader`.
diff --git a/pydatajson/ckan_reader.py b/pydatajson/ckan_reader.py index 88711e7..cb2bf0f 100644 --- a/pydatajson/ckan_reader.py +++ b/pydatajson/ckan_reader.py @@ -64,7 +64,7 @@ def read_ckan_catalog(portal_url): # agrega un nuevo dataset a la lista packages.append(portal.call_action( - ...
datosgobar__pydatajson-210
[ { "changes": { "added_entities": [ "pydatajson/federation.py:get_organizations_from_ckan" ], "added_modules": [ "pydatajson/federation.py:get_organizations_from_ckan" ], "edited_entities": null, "edited_modules": null }, "file": "pydatajson/federation....
datosgobar/pydatajson
3b9447bbe8f4250cc1b3def1e014f67c4fca0eb0
Get organizations from ckan El objetivo es implementar un método que pasada la url de un portal, devuelva las organizaciones presentes completas con su jerarquía.
diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 207d9fe..e03b74f 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -428,6 +428,15 @@ Toma los siguientes parámetros: portal de destino. Si no se pasa, se toma como organización el catalog_id Retorna el id en el nodo de destino de los datasets federados. + +...
datosgobar__pydatajson-211
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "pydatajson/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pydatajson/ba...
datosgobar/pydatajson
185d79d95555dd3041404b208a09583cb95a9a19
Push organizations to ckan Dado un árbol jerárquico de organizaciones, el objetivo es crear las organizaciones allí descriptas, manteniendo la jerarquía original
diff --git a/.gitignore b/.gitignore index e6e7bf3..35e9136 100644 --- a/.gitignore +++ b/.gitignore @@ -74,7 +74,6 @@ TODO.md # Archivos temporales de prueba tests/temp/* -tests/results/catalog/* .ipynb_checkpoints samples/archivos-generados/* .DS_Store diff --git a/HISTORY.md b/HISTORY.md index f99fae6..ae1624...
datosgobar__pydatajson-212
[ { "changes": { "added_entities": [ "pydatajson/federation.py:get_organization_from_ckan" ], "added_modules": [ "pydatajson/federation.py:get_organization_from_ckan" ], "edited_entities": null, "edited_modules": null }, "file": "pydatajson/federation.py...
datosgobar/pydatajson
bcc401111ada65362839f1f92490198ddc5d94ea
Get organization from ckan El objetivo es implementar un método que devuelva la información de una organizacion a partir de su nombre o id y la url del portal pasado por parametro.
diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 8a0c2f6..a84878b 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -438,6 +438,16 @@ Toma los siguientes parámetros: Retorna una lista de diccionarios con la información de las organizaciones. Recursivamente, dentro del campo `children`, se encuentran las organ...
datosgobar__pydatajson-213
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pydatajson/backup.py:make_catalog_backup" ], "edited_modules": [ "pydatajson/backup.py:make_catalog_backup" ] }, "file": "pydatajson/backup.py" }, { "changes": ...
datosgobar/pydatajson
ac551b939a944f2e0bbabfef546672ae243233b2
Push organization to ckan El objetivo es implementar un método que tome la data de una organización y cree via API la organización en un andino pasado por parámetro
diff --git a/docs/MANUAL.md b/docs/MANUAL.md index a84878b..9c97bb2 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -461,6 +461,20 @@ parámetros: Retorna el árbol de organizaciones creadas. Cada nodo tiene un campo `success` que indica si fue creado exitosamente o no. En caso de que `success` sea False, los h...
datosgobar__pydatajson-293
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "pydatajson/constants.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pydatajson/h...
datosgobar/pydatajson
7ac9d34f7ecfe7b9804eba44626c7ac15606f09a
Modificar criterio de análisis de broken URL: es válida a menos que 4xx o 5xx Excepciones: 429 "Too Many Requests" no se debe considerar broken.
diff --git a/pydatajson/constants.py b/pydatajson/constants.py index dc49ecb..cbfbd03 100644 --- a/pydatajson/constants.py +++ b/pydatajson/constants.py @@ -1,6 +1,7 @@ REQUESTS_TIMEOUT = 30 DEFAULT_TIMEZONE = "America/Buenos_Aires" -VALID_STATUS_CODES = [200, 203, 302] +INVALID_STATUS_CODES_REGEX = ["^4[0-9]+$", "...
datosgobar__series-tiempo-ar-40
[ { "changes": { "added_entities": [ "series_tiempo_ar/validations/csv_validations.py:ValidationOptions.__init__", "series_tiempo_ar/validations/csv_validations.py:ValidationOptions.create_with_defaults", "series_tiempo_ar/validations/csv_validations.py:BaseValidation.__init__", ...
datosgobar/series-tiempo-ar
8e83b67bcae145c7f3164493548649946e2581a4
Implementar parámetros de validación modificables desde el admin de Django Implica poder elegir los parámetros MINIMUM_VALUES = 2 MAX_MISSING_PROPORTION = 0.999 MAX_TOO_SMALL_PROPORTION = 0.02 MIN_TEMPORAL_FRACTION = 10 MAX_FIELD_TITLE_LEN = 60 MAX_NULL_SERIES_PROPORTION = 0.20 desde el admin de Django, en ...
diff --git a/requirements_dev.txt b/requirements_dev.txt index 4299463..6616c83 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -3,3 +3,4 @@ pylint black pyyaml cryptography +regex!=2019.12.9 diff --git a/series_tiempo_ar/validations/csv_validations.py b/series_tiempo_ar/validations/csv_validations.p...
davebshow__goblin-54
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "goblin/element.py:VertexProperty.__init__" ], "edited_modules": [ "goblin/element.py:VertexProperty" ] }, "file": "goblin/element.py" } ]
davebshow/goblin
cc152a9c8e5eca92715721ae26d0ec94703818a9
Issues with Sphinx: `VertexProperty` Missing Attribute Build failure in sphinx: ``` File "/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 862, in filter_members not keep, self.options) File "/lib/python3.5/site-packages/sphinx/application.py", line 593, in emit_firstresult for result in sel...
diff --git a/goblin/element.py b/goblin/element.py index a80d427..ff5e37b 100644 --- a/goblin/element.py +++ b/goblin/element.py @@ -178,6 +178,7 @@ class VertexProperty(Vertex, abc.BaseProperty): self._data_type = data_type self._default = default self._db_name = db_name + self._val =...
davebshow__goblin-65
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "goblin/properties.py:Integer.validate" ], "edited_modules": [ "goblin/properties.py:Integer" ] }, "file": "goblin/properties.py" } ]
davebshow/goblin
6328a004969d2cf02af9748045719020324bf8d5
64-bit Integer Properties `goblin.Integer` uses the built-in python `int` for validating whether a given value is integer (https://github.com/davebshow/goblin/blob/master/goblin/properties.py#L175). However, this causes problems with 64-bit integers. For example, `list` and `set` cardinality creates `*VertexPropertyMan...
diff --git a/goblin/properties.py b/goblin/properties.py index f803052..912bb20 100644 --- a/goblin/properties.py +++ b/goblin/properties.py @@ -172,6 +172,8 @@ class Integer(abc.DataType): def validate(self, val): if val is not None: try: + if isinstance(val, long): + ...
davidchall__topas2numpy-13
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "topas2numpy/binned.py:BinnedResult.__init__", "topas2numpy/binned.py:BinnedResult._read_binary", "topas2numpy/binned.py:BinnedResult._read_ascii" ], "edited_modules": [ ...
davidchall/topas2numpy
f20177d6930798e317033ab0e66117bb65ee08d6
Detect best NumPy dtype (use unsigned int for SurfaceTrackCount) When the TOPAS scorer mode is set to 'SurfaceTrackCount' then the result is an integer. It would be best if the numpy dtype of the loaded data was set to an unsigned integer type in this case. It seems this library loads such arrrays as 'float64' type...
diff --git a/topas2numpy/binned.py b/topas2numpy/binned.py index dac1dfe..2b65a6d 100644 --- a/topas2numpy/binned.py +++ b/topas2numpy/binned.py @@ -47,15 +47,15 @@ class BinnedResult(object): dimensions: list of BinnedDimension objects data: dict of scored data """ - def __init__(self, ...
daviddrysdale__python-phonenumbers-182
[ { "changes": { "added_entities": [ "python/phonenumbers/phonenumberutil.py:NumberParseException.__reduce__" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "python/phonenumbers/phonenumberutil.py:NumberParseException" ] }, "file"...
daviddrysdale/python-phonenumbers
5bcfeb70b6ae8d4ebe525999910f3180f6870807
NumberParseException is not picklable Hi, I noticed that `NumberParseException` is not picklable. It deviates from the `__init__` signature of `Exception`, which itself implements `__reduce__` s.t. only the `msg` argument is pickled. This program: ```python import pickle from phonenumbers.phonenumberutil import...
diff --git a/python/phonenumbers/phonenumberutil.py b/python/phonenumbers/phonenumberutil.py index 8ff04afd..0948934d 100644 --- a/python/phonenumbers/phonenumberutil.py +++ b/python/phonenumbers/phonenumberutil.py @@ -3223,6 +3223,9 @@ class NumberParseException(UnicodeMixin, Exception): self.error_type = err...
davidesarra__jupyter_spaces-15
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "jupyter_spaces/space.py:Space.execute" ], "edited_modules": [ "jupyter_spaces/space.py:Space" ] }, "file": "jupyter_spaces/space.py" } ]
davidesarra/jupyter_spaces
035e984dab3d6b29e46db982619a376c3c293b6a
Automatic console output It would be great if space cells would automatically print their return result similar to a normal cell. Having to use the print statement for output is cumbersome.
diff --git a/README.md b/README.md index 398cbb9..222a688 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Reloading the extension will remove all spaces. ```python %%space <space-name> alpha = 0.50 -print(alpha) +alpha ``` When you execute a cell within a space, all references are firstly searched in @@...
davidhalter__jedi-641
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "jedi/api/classes.py:BaseDefinition.params" ], "edited_modules": [ "jedi/api/classes.py:BaseDefinition" ] }, "file": "jedi/api/classes.py" }, { "changes": { ...
davidhalter/jedi
e0753da6f1ed83185b84c0f9ab65eed67c80dcb4
'Lambda' object has no attribute 'get_subscope_by_name' Jedi 0.9.0, Python 2.7.3 Reproduction: ```Python import jedi script = """\ my_lambda = lambda x: x+1 my_lambda(1) ...
diff --git a/AUTHORS.txt b/AUTHORS.txt index 64aae316..bc258d6b 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -33,5 +33,6 @@ Savor d'Isavano (@KenetJervet) <newelevenken@163.com> Phillip Berndt (@phillipberndt) <phillip.berndt@gmail.com> Ian Lee (@IanLee1521) <IanLee1521@gmail.com> Farkhad Khatamov (@hatamov) <comsg...
davidhalter__jedi-922
[ { "changes": { "added_entities": [ "jedi/evaluate/compiled/mixed.py:source_findable" ], "added_modules": [ "jedi/evaluate/compiled/mixed.py:source_findable" ], "edited_entities": [ "jedi/evaluate/compiled/mixed.py:find_syntax_node_name" ], "edite...
davidhalter/jedi
c1c3f35e08a2404814d0463a648c562c15f1beb6
Slow completion for existing object with long `__repr__` method Hi, For completion with existing objects it seems that the `__repr__()` method is evaluated for an error message within the inspect module which is afterward caught. This makes the completion as slow as `__repr__()` while this evaluation in unnecessary ...
diff --git a/AUTHORS.txt b/AUTHORS.txt index b5619dcb..52204a8b 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -43,6 +43,7 @@ bstaint (@bstaint) Mathias Rav (@Mortal) <rav@cs.au.dk> Daniel Fiterman (@dfit99) <fitermandaniel2@gmail.com> Simon Ruggier (@sruggier) +Élie Gouzien (@ElieGouzien) Note: (@user) means a ...
daviskirk__climatecontrol-9
[ { "changes": { "added_entities": [ "climatecontrol/settings_parser.py:Settings.temporary_changes" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "climatecontrol/settings_parser.py:Settings" ] }, "file": "climatecontrol/settings_...
daviskirk/climatecontrol
26a70d6ca739c452639fe18816bf06ad24e4c4c6
Function to save and restore settings (for testing) This should allow creating a pytest fixture which undoes all changes to the Settings object after the test is finished. Instead of a function, a context manager could be used instead.
diff --git a/README.rst b/README.rst index 9df1ef9..2776c15 100644 --- a/README.rst +++ b/README.rst @@ -200,6 +200,29 @@ save it to a file like "cli.py" and then call it after installing click: whithout needing to set any env vars. +Testing +------- + +When testing your application, different behaviours often dep...
dbader__schedule-569
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "schedule/__init__.py:Job.__repr__" ], "edited_modules": [ "schedule/__init__.py:Job" ] }, "file": "schedule/__init__.py" } ]
dbader/schedule
a3ecd3548aff70bef15a61baee0d2d7f22f57992
Job __repr__ throws AttributeError when job_func is None ``` >>> s._job Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/path/to/my/virtualenv/site-packages/schedule/__init__.py", line 284, in __repr__ args = [repr(x) if is_repr(x) else str(x) for x in self.job_func.args] Attr...
diff --git a/schedule/__init__.py b/schedule/__init__.py index a73c6a6..2db9b0a 100644 --- a/schedule/__init__.py +++ b/schedule/__init__.py @@ -292,9 +292,13 @@ class Job: job_func_name = self.job_func.__name__ else: job_func_name = repr(self.job_func) - args = [repr(x) if is_...
dbcli__litecli-113
[ { "changes": { "added_entities": [ "litecli/sqlexecute.py:utf8_resilient_decoder" ], "added_modules": [ "litecli/sqlexecute.py:utf8_resilient_decoder" ], "edited_entities": [ "litecli/sqlexecute.py:SQLExecute.connect" ], "edited_modules": [ ...
dbcli/litecli
a1a01c11d6154b6f841b81fbdeb6b8b887b697d3
TabularOutputFormatter chokes on values that can't be converted to UTF-8 if it's a text column I don't know how to solve this. If there is a single record with a non-convertible column it won't print anything. `Could not decode to UTF-8 column 'verifier' with text '`'���U'` sqlite3 prints ``` 2bho15FMrSQhKAYnjBq...
diff --git a/CHANGELOG.md b/CHANGELOG.md index b8c8122..0ccb53a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,5 @@ ## Unreleased - TBD -<!-- add upcoming change notes here --> - ### Features - Add verbose feature to `favorite_query` command. (Thanks: [Zhaolong Zhu]) @@ -12,6 +10,7 @@ ### Bug Fixes ...
dbcli__litecli-191
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "litecli/packages/special/dbcommands.py:describe" ], "edited_modules": [ "litecli/packages/special/dbcommands.py:describe" ] }, "file": "litecli/packages/special/dbcomma...
dbcli/litecli
e58bbcd3c7e498e2efd3cd85e0b9ae5437a440a6
The describe command fails with 'near "(": syntax error' Any use of the describe command results in a syntax error. ``` dev.db> \d auth_user near "(": syntax error ``` This is due to passing a tuple to `format()` instead of the string arg directly. ``` if arg: args = (arg,) query = ""...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bda87b..58f8192 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,8 @@ -## Upcoming - TBD - - -### Features - +## 1.12.4 - 2024-11-11 ### Bug Fixes - -### Internal Changes - +* Fix the syntax error when `\d tbl` is used. ## 1.12.3 - 2024-09-10 @@ -17,7 +...
dbcli__litecli-79
[ { "changes": { "added_entities": [ "litecli/packages/completion_engine.py:_expecting_arg_idx" ], "added_modules": [ "litecli/packages/completion_engine.py:_expecting_arg_idx" ], "edited_entities": [ "litecli/packages/completion_engine.py:suggest_special" ...
dbcli/litecli
cd5d4e0cf9164a147c0c59f6f559347c851db5d6
Support CSV import SQLite [allows users to import data from CSV files][1]: ```sh $ cat foo.csv one,two,three 1,2,3 4,5,6 $ sqlite3 foo.db SQLite version 3.22.0 2018-01-22 18:45:57 Enter ".help" for usage hints. sqlite> .mode csv sqlite> .import foo.csv foo sqlite> .schema foo CREATE TABLE foo( "one" ...
diff --git a/.gitignore b/.gitignore index ab7d02e..63c3eb6 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ /src /test/behave.ini /litecli_env +/.venv /.eggs .vagrant diff --git a/changelog.md b/changelog.md index 7ef61d6..da703e3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,10 @@ +Upcomming:...
dcs4cop__xcube-419
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube/core/normalize.py:normalize_dataset", "xcube/core/normalize.py:_ensure_lat_decreasing", "xcube/core/normalize.py:adjust_spatial_attrs" ], "edited_modules": [ "x...
dcs4cop/xcube
e224598cc6face83a14f082246ca5df74bd7e03f
Writing to zarr fails with message "specified zarr chunks would overlap multiple dask chunks" For some data it is necessary to rechunk it in order to deal with it efficiently. This rechunking process might result in that the final chunk of a dimension has a smaller size than the previous ones. E.g., if we have a dimens...
diff --git a/CHANGES.md b/CHANGES.md index be15df9a..df4ef834 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1,11 @@ -## Changes in 0.7.1.dev1 (in development) - -* Added `s3fs` requirement that has been removed by accident. -* Added missing requirements `requests` and `urllib3`. +## Changes in 0.7.1 + +* Dataset n...
dcs4cop__xcube-582
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube/core/gen2/remote/config.py:ServiceConfig.from_file", "xcube/core/gen2/remote/config.py:load_json_or_yaml_file" ], "edited_modules": [ "xcube/core/gen2/remote/config.py:...
dcs4cop/xcube
f333bcec05206f59cbc342cbe22949afe1b374d5
xcube gen2 DataStore configuration to understand env var references I want to configure a data store which contains input files to be used xcube gen2 service generator. The data is located in an s3 bucket which is protected, so my configuration looks like the following: ``` my_data: title: "My Data for xcube gen...
diff --git a/CHANGES.md b/CHANGES.md index 9c10486d..2e66417b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,14 @@ ## Changes in 0.9.3 (in development) +* It is now possible to use environment variables in most + xcube configuration files. Unix bash syntax is used, i.e. + `${ENV_VAR_NAME}` or `$ENV_VAR_NAM...
dcs4cop__xcube-633
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube/webapi/auth.py:_get_missing_scope" ], "edited_modules": [ "xcube/webapi/auth.py:_get_missing_scope" ] }, "file": "xcube/webapi/auth.py" } ]
dcs4cop/xcube
b6a949e94d203808e14f46abf729f976c7b02367
Allow granted permissions to be wildcards **Is your feature request related to a problem? Please describe.** For authorized clients, we require the xcube Web API to grant access to generic groups of datasets, rather than to lists of individual datasets only. **Describe the solution you'd like** A simple first ...
diff --git a/CHANGES.md b/CHANGES.md index 20eef50e..a10bf9d7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,13 @@ ### Enhancements +* For authorized clients, the xcube Web API provided by `xcube serve` + now allows granted scopes to contain wildcard characters `*`, `**`, + and `?`. This is useful to give a...
dcs4cop__xcube-743
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube/core/store/fs/registry.py:new_fs_data_store" ], "edited_modules": [ "xcube/core/store/fs/registry.py:new_fs_data_store" ] }, "file": "xcube/core/store/fs/registry...
dcs4cop/xcube
4a23a32bd43946ac05360ddbc509b7a92d77b87f
Allow explicit configuration of datasets served by the S3 store **Is your feature request related to a problem? Please describe.** Consider a situation where we want a store to serve data from Zarrs from a very large S3 bucket (millions of files, petabytes of data; e.g. Eodata on Creodias). The usual store creation ...
diff --git a/CHANGES.md b/CHANGES.md index 2e6a6c92..5e35c3a8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,17 @@ ### Other +* The xcube filesystem data stores such as "file", "s3", "memory" + can now filter the data identifiers reported by `get_data_ids()`. (#585) + For this purpose, the data stores now a...
dcs4cop__xcube-779
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube/core/geom.py:rasterize_features" ], "edited_modules": [ "xcube/core/geom.py:rasterize_features" ] }, "file": "xcube/core/geom.py" } ]
dcs4cop/xcube
a9ea521deb7b572d89c00800182d264665482cd6
`fill_value` and `dtype` not used correctly in `rasterize_features()` **Describe the bug** Function `xcube.core.geom.rasterize_features()` allows specifying how a given feature shall be rasterized as an xarray variable by passing target `fill_value` and `dtype` among other things for each feature. Currently `f...
diff --git a/CHANGES.md b/CHANGES.md index a240011c..23cddf6d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,13 @@ ### Fixes +* Implementation of function `xcube.core.geom.rasterize_features()` + has been changed to account for consistent use of a target variable's + `fill_value` and `dtype` for a given fe...
dcs4cop__xcube-784
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube/util/timeindex.py:_ensure_timestamp_compatible" ], "edited_modules": [ "xcube/util/timeindex.py:_ensure_timestamp_compatible" ] }, "file": "xcube/util/timeindex.p...
dcs4cop/xcube
b65f79339efba9bf788c6c579e031c06427a351c
Fix "Can't determine indexer timezone" warning The following recently appeared in a server log: ``` WARNING: Can't determine indexer timezone; leaving it unmodified. /home/alicja/miniconda3/envs/xcube/lib/python3.9/site-packages/xarray/core/indexes.py:207: FutureWarning: Indexing a timezone-naive DatetimeIndex wit...
diff --git a/CHANGES.md b/CHANGES.md index 73d90fc3..968f9f03 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,9 @@ * xcube CLI tools no longer emit warnings when trying to import installed packages named `xcube_*` as xcube plugins. +* The `xcube.util.timeindex` module can now handle 0-dimensional `ndarray...
dcs4cop__xcube-787
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube/core/geom.py:get_dataset_bounds" ], "edited_modules": [ "xcube/core/geom.py:get_dataset_bounds" ] }, "file": "xcube/core/geom.py" }, { "changes": { ...
dcs4cop/xcube
9eb8349c2906424f9da5662fb2aeb9f41c04407e
xcube server cannot handle longitude and latitude as dimension names **Describe the bug** A cube with the dimensions `latitude` and `longitude` cannot be visualised via xcube viewer, because the server returns an error: I would expect xcube server to be able to handle dimensions `longitude` and `latitude` the same ...
diff --git a/CHANGES.md b/CHANGES.md index 81709690..153bc565 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -23,6 +23,12 @@ `Can't determine indexer timezone; leaving it unmodified.` which was emitted in such cases. +### Fixes + +* `xcube serve` will now also accept datasets with coordinate names + `longitude` a...
dcs4cop__xcube-861
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube/webapi/timeseries/controllers.py:get_time_series" ], "edited_modules": [ "xcube/webapi/timeseries/controllers.py:get_time_series" ] }, "file": "xcube/webapi/times...
dcs4cop/xcube
2fa54a63631bf1c81e8f45f6fc7b93aab9dab2fe
Time series requests may miss outer values **Describe the bug** The xcube server's time series operation `POST /timeseries/{datasetId}/{varName}?startDate={startDate}&endDate={endDate}` may miss outer values of the requested time range if `startDate` or `endDate` are derived from rounded values of the original time ...
diff --git a/CHANGES.md b/CHANGES.md index e1aa8848..823bc15c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,9 +1,18 @@ ## Changes in 1.0.6 (in development) * Updated [xcube Dataset Specification](docs/source/cubespec.md). + * Bundled [xcube-viewer 1.1.0-dev.1](https://github.com/dcs4cop/xcube-viewer/releases/tag...
dcs4cop__xcube-892
[ { "changes": { "added_entities": [ "xcube/server/api.py:Api.endpoints", "xcube/server/api.py:ApiHandler.defined_methods", "xcube/server/api.py:ApiRoute.path_and_methods" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "xcube/se...
dcs4cop/xcube
e20d6bdc658d269766832142610bc544f6cfb3c8
Unify OGC APIs endpoints under a single prefix We currently have parts of the modular OGC API exposed at various endpoints: - STAC under /catalog - coverages under /catalog (doesn't make sense semantically, but overlaps with STAC) - compute under / (effectively an implementation of processes under a different n...
diff --git a/CHANGES.md b/CHANGES.md index ad2e64d2..4d9e72da 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,10 +2,14 @@ ### Enhancements -* Added a basic implementation of the draft version of OGC API - Coverages +* Added a basic implementation of the draft version of OGC API - Coverages. +* Adapted the STAC impl...
dcs4cop__xcube-947
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube/core/store/fs/accessor.py:FsAccessor.load_fs" ], "edited_modules": [ "xcube/core/store/fs/accessor.py:FsAccessor" ] }, "file": "xcube/core/store/fs/accessor.py" ...
dcs4cop/xcube
36cb8d49bceffa0547f21de04ac1c5e745b91d26
Resolve/document dependency discrepancies conda-forge releases (e.g. [here](https://github.com/conda-forge/xcube-feedstock/pull/48) ) trigger a dependency analysis which always finds a significant number of discrepancies between the dependencies listed in `meta.yaml`. Automated dependency anaylsis isn't 100% reliable, ...
diff --git a/CHANGES.md b/CHANGES.md index 39684cd1..9225d17e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,8 @@ ## Changes in 1.4.2 (in development) +* Update dependencies to better match imports; remove the defaults channel; + turn adlfs into a soft dependency. (#945) + ## Changes in 1.4.1 ### Enhanceme...
dcs4cop__xcube-sh-77
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube_sh/chunkstore.py:SentinelHubChunkStore.__init__", "xcube_sh/chunkstore.py:SentinelHubChunkStore.get_band_encoding" ], "edited_modules": [ "xcube_sh/chunkstore.py:Sentin...
dcs4cop/xcube-sh
67f5600947d6c291f2f51b4d96e28ecd47c0c8ba
Cannot omit band names for "CUSTOM" datasets Currently, when opening a cube given a `CubeConfig` with `dataset_name="CUSTOM"` and given `collection_id`, then users must also pass `band_names` otherwise an error occurs: SentinelHubError: 500 Server Error: Internal Server Error for url: https://creodias.sentinel-h...
diff --git a/xcube_sh/chunkstore.py b/xcube_sh/chunkstore.py index d0f3125..b26c497 100644 --- a/xcube_sh/chunkstore.py +++ b/xcube_sh/chunkstore.py @@ -553,12 +553,16 @@ class SentinelHubChunkStore(RemoteStore): trace_store_calls=False): self._sentinel_hub = sentinel_hub if cube_con...
dcs4cop__xcube-sh-78
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube_sh/chunkstore.py:SentinelHubChunkStore.get_time_ranges", "xcube_sh/chunkstore.py:SentinelHubChunkStore.get_band_encoding" ], "edited_modules": [ "xcube_sh/chunkstore.py...
dcs4cop/xcube-sh
944d5c5ef3c4a217c519f41370805195a1b691c0
Specify nodata value when generating a cube. It would be really useful to be able to specify a `nodata` value during the `xcube` generation ( as an argument of `CubeConfig`). This would enable to set the nodata values that are set by the user in BYOC collections.
diff --git a/CHANGES.md b/CHANGES.md index 66bd980..247c3f6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,10 +3,18 @@ * It is now possible accessing BYOC/BYOD and DEM datasets without providing the `time_period` cube configuration parameter. - (#67, #35. #25) In case such a dataset has no associated time in...
dcs4cop__xcube-sh-82
[ { "changes": { "added_entities": [ "xcube_sh/sentinelhub.py:SentinelHub._fetch_token" ], "added_modules": null, "edited_entities": [ "xcube_sh/sentinelhub.py:SentinelHub.__init__", "xcube_sh/sentinelhub.py:SentinelHub.datasets", "xcube_sh/sentinelhub.py:Se...
dcs4cop/xcube-sh
f333382b150b9da3fa74ee4608ce4e3ab1413d99
Connection broken or TokenExpiredError for certain cube requests When requesting large cubes via the sh store, it happens, that the connection breaks or the token expires. Therefore the generated cube is not complete and useless. To reproduce see issue https://github.com/bcdev/service-eurodatacube/issues/132
diff --git a/CHANGES.md b/CHANGES.md index 46f9913..4abfdc0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,8 @@ ## Changes in 0.9.4 (in development) +* Avoiding `TokenExpiredError` that occurred after + requesting tiles from Sentinel Hub after more than 1h. (#49) + * Fixed some import statements to be compat...
dcs4cop__xcube-sh-91
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "xcube_sh/chunkstore.py:SentinelHubChunkStore.get_time_ranges" ], "edited_modules": [ "xcube_sh/chunkstore.py:SentinelHubChunkStore" ] }, "file": "xcube_sh/chunkstore.py...
dcs4cop/xcube-sh
0340708b1ccc3fea18eefbf9e279535cc10e1e19
Landsat 8 L2 Surface Reflectance seems to have wrong format (int instead of float) I am using CubeGeneratorRequest to request Landsat 8 Level 2 SR data from sentinelHub. I request multiple SR bands plus the BQA quality band. The BQA band shows the correct integer values, while the SR bands are either 0 or 1. The format...
diff --git a/CHANGES.md b/CHANGES.md index 3be9a38..a75d85a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,10 @@ ## Changes in 0.9.6 (in development) +* Fixed Landsat radiance/reflectance bands to have + sample type `FLOAT32` by default, was `UNIT16`. (#89) +* Avoid having `wavelength: NaN` values in band me...
ddelange__retrie-8
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/retrie/retrie.py:Checklist.__init__" ], "edited_modules": [ "src/retrie/retrie.py:Checklist" ] }, "file": "src/retrie/retrie.py" }, { "changes": { "ad...
ddelange/retrie
9c76a758f3bc9febae29aa21b5855a4f282c6e15
Add a list of words First, this library is really helpful, thank you very much. Could you please implement an `add` function that receives a list rather than a single word? E.g. I would like to use it in the following way: ``` from retrie.trie import Trie trie = Trie() trie.add(*["abc", "foo", "abs"]) # or tri...
diff --git a/README.md b/README.md index d2bf0b5..0a6e6db 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,7 @@ from retrie.trie import Trie trie = Trie() -for term in ["abc", "foo", "abs"]: - trie.add(term) +trie.add("abc", "foo", "abs") assert trie.pattern() == "(?:ab[cs]|foo)" # equivalent to but faster...
deathbeds__importnb-148
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "src/importnb/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_mo...
deathbeds/importnb
605c026018e14bca8af08ee3660160b989de9b32
add a `--version` switch to the CLI
diff --git a/src/importnb/__init__.py b/src/importnb/__init__.py index cfd6f3d..54d648d 100644 --- a/src/importnb/__init__.py +++ b/src/importnb/__init__.py @@ -27,7 +27,7 @@ def get_ipython(force=True): import builtins from ._version import __version__ -from .loader import Notebook, reload from .entry_points impo...
deathbeds__wtypes-3
[ { "changes": { "added_entities": [ "wtypes.py:Trait._resolve_defaults", "wtypes.py:_Object.from_config_file", "wtypes.py:Dict.__new__", "wtypes.py:Dict._validate", "wtypes.py:Dict.__setitem__", "wtypes.py:Dict.update", "wtypes.py:DataClass.__setattr_...
deathbeds/wtypes
8d102bec197a4fab1d993a0d5737cbe94a576788
Make non default Object annotations required objects.
diff --git a/wtypes.ipynb b/wtypes.ipynb index afe5a26..242ab26 100644 --- a/wtypes.ipynb +++ b/wtypes.ipynb @@ -25,7 +25,7 @@ " https://json-schema.org/\n", " \"\"\"\n", " __version__ = \"0.0.1\"\n", - " import jsonschema, munch, typing, abc, inspect, dataclasses, copy, re\n", + " ...
deathbeds__wtypes-6
[ { "changes": { "added_entities": [ "wtypes.py:_SchemaMeta.example", "wtypes.py:Link.__enter__", "wtypes.py:Link.__exit__", "wtypes.py:Link.link", "wtypes.py:Link.dlink", "wtypes.py:Link.observe", "wtypes.py:Link._propagate", "wtypes.py:Link._...
deathbeds/wtypes
bb28303748e377de8e2425ad57fbdb0455cd9691
Observable interface and evented validation.
diff --git a/wtypes.ipynb b/wtypes.ipynb index 242ab26..ade3721 100644 --- a/wtypes.ipynb +++ b/wtypes.ipynb @@ -125,16 +125,24 @@ " cls._type = schema.pop('type', None) or cls._type\n", " # Combine metadata across the module resolution order.\n", " cls._merge_annotations...
debrief__pepys-import-141
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pepys_import/file/nmea_importer.py:NMEAImporter.load_this_file", "pepys_import/file/nmea_importer.py:NMEAImporter.parse_location" ], "edited_modules": [ "pepys_import/file/nm...
debrief/pepys-import
7d8dde9f5615be686cdc61bbcf1872fc9281f917
Bug in writing to PostGres It _looks like_ we're trying to write a Typed Quantity to PostGres: ``` 'PLATFORM-1' added to Platform! 'PLATFORM-1' added to Platform! Traceback (most recent call last): File "/home/ian/git/pepys-import/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1249, in _execut...
diff --git a/pepys_import/file/nmea_importer.py b/pepys_import/file/nmea_importer.py index 4291bdee..37cf181a 100644 --- a/pepys_import/file/nmea_importer.py +++ b/pepys_import/file/nmea_importer.py @@ -126,7 +126,7 @@ class NMEAImporter(Importer): heading = convert_absolute_angle(self.heading, l...
debrief__pepys-import-347
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "importers/e_trac_importer.py:ETracImporter._load_this_line" ], "edited_modules": [ "importers/e_trac_importer.py:ETracImporter" ] }, "file": "importers/e_trac_importer....
debrief/pepys-import
70af5a161f6a092cd17c02a7ffc60b67858470c2
Bug in storing zero values for fields in various importers In various importers we have code that looks like this: ``` elevation = convert_distance(elevation_str, unit_registry.metre, None, self.errors, self.error_type) if elevation: state.elevation = elevation ``` The `convert_distance` function returns ...
diff --git a/importers/e_trac_importer.py b/importers/e_trac_importer.py index f13334ff..5cf138c7 100644 --- a/importers/e_trac_importer.py +++ b/importers/e_trac_importer.py @@ -115,24 +115,24 @@ class ETracImporter(Importer): self.name, "location", state.location, "decimal degrees" ) -...
debrief__pepys-import-40
[ { "changes": { "added_entities": [ "pepys_import/core/formats/state2.py:State2.set_location", "pepys_import/core/formats/state2.py:State2.set_location_obj", "pepys_import/core/formats/state2.py:State2.get_location" ], "added_modules": null, "edited_entities": [ ...
debrief/pepys-import
663809b32420b28eb91f3ee22102821fa0e59808
Minor - use (x,y) location objects There's currently a bug whereby location is only expressed in degrees. We should switch to passing self-describing completed `State2` objects around.
diff --git a/docs/usage.rst b/docs/usage.rst index 625b98fa..d8edb959 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -4,4 +4,16 @@ Usage To use pepys-import in a project:: - import pepys_import + from pepys_import.file.file_processor import FileProcessor + from pepys_import.file.replay_parser import ...
decargroup__pykoop-178
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pykoop/kernel_approximation.py:RandomFourierKernelApprox.__init__", "pykoop/kernel_approximation.py:RandomFourierKernelApprox.fit" ], "edited_modules": [ "pykoop/kernel_appro...
decargroup/pykoop
21073ad53ea893e6b42222f6ad0e3444004390f3
Fix "inverse" Fourier transform in parameters and docs of RFF lifting functions It should be the Fourier transform not the inverse one.
diff --git a/CITATION.cff b/CITATION.cff index ee217ef..5ab8fb4 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -10,6 +10,6 @@ authors: orcid: "https://orcid.org/0000-0002-1987-9268" affiliation: "McGill University" title: "decargroup/pykoop" -version: v1.2.4 +version: v2.0.0 doi: 10.5281/zenodo.5576490 ur...
decargroup__pykoop-179
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "pykoop/koopman_pipeline.py:score_trajectory" ], "edited_modules": [ "pykoop/koopman_pipeline.py:score_trajectory" ] }, "file": "pykoop/koopman_pipeline.py" } ]
decargroup/pykoop
8c798d69d915524d1186f15f0f2a4bcc1e94543f
`pykoop.score_trajectory()` does not work with `multioutput=raw_values` ``` File "pykoop/koopman_pipeline.py", line 3509, in score_trajectory if not np.isfinite(score): ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() ```
diff --git a/pykoop/koopman_pipeline.py b/pykoop/koopman_pipeline.py index 3dafbb4..821c79d 100644 --- a/pykoop/koopman_pipeline.py +++ b/pykoop/koopman_pipeline.py @@ -3425,7 +3425,7 @@ def score_trajectory( else: score = regression_metric(**regression_metric_args) # Return error score if score is n...
dedupeio__dedupe-1062
[ { "changes": { "added_entities": [ "dedupe/api.py:DedupeMatching.__init__" ], "added_modules": null, "edited_entities": [ "dedupe/api.py:ActiveMatching.__init__", "dedupe/api.py:Dedupe.prepare_training", "dedupe/api.py:Link.prepare_training" ], ...
dedupeio/dedupe
82435a431395b79c6c7075c84a916ab1c8f70bd3
Inconsistent alphaNumericPredicate behavior Hi, I believe `alphaNumericPredicate` implementation is inconsistent. Example: ``` In [1]: from dedupe.predicates import alpha_numeric In [2]: alpha_numeric("a_1") Out[2]: ['a', '1'] In [3]: alpha_numeric("a 1") Out[3]: ['1'] In [4]: alpha_numeric("a") Out[4]...
diff --git a/dedupe/api.py b/dedupe/api.py index 84d6acc..ce71fad 100644 --- a/dedupe/api.py +++ b/dedupe/api.py @@ -130,6 +130,9 @@ class DedupeMatching(IntegralMatching): """ + def __init__(self, *args, **kwargs) -> None: + super().__init__(*args, **kwargs) + def partition( self, data...
dedupeio__dedupe-1197
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": [ "dedupe/variables/exists.py:ExistsType" ] }, "file": "dedupe/variables/exists.py" } ]
dedupeio/dedupe
3b4ceaa04f66eb1407fa13803c3822c57a4b0683
ExistsType subclasses CategoricalType which requires categories I've tried to use the new syntax for field definitions and encountered a potential bug: `dedupe.variables.Exists("first_name")` doesn't work as stated in the Variable-definition.rst The following error occurs: > TypeError: CategoricalType.__init__(...
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 634a970..ccbdd62 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -50,7 +50,7 @@ jobs: - name: pytest run: pytest - name: Code Coverage - uses: codecov/codecov-...
dedupeio__dedupe-837
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "dedupe/predicates.py:CompoundPredicate.__call__" ], "edited_modules": [ "dedupe/predicates.py:CompoundPredicate" ] }, "file": "dedupe/predicates.py" } ]
dedupeio/dedupe
5092f2598f1f2bcb4f3b1f0ec85f88b95ce7454b
CompoundPredicate should escape `:` to avoid wrong block_keys I've found an issue on `CompoundPredicate` caused by the lack of escaping `:` chars inside fields. This causes two problems. First, it can generate duplicate `block_key`s for the same `id`. Here's the example: ``` (SimplePredicate: (commonSetElementPr...
diff --git a/dedupe/predicates.py b/dedupe/predicates.py index 1934811..e796a6d 100644 --- a/dedupe/predicates.py +++ b/dedupe/predicates.py @@ -329,9 +329,14 @@ class CompoundPredicate(tuple): def __call__(self, record, **kwargs): predicate_keys = [predicate(record, **kwargs) f...
deepchem__deepchem-2802
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "deepchem/data/datasets.py:DiskDataset.set_shard" ], "edited_modules": [ "deepchem/data/datasets.py:DiskDataset" ] }, "file": "deepchem/data/datasets.py" } ]
deepchem/deepchem
9ef6c58eefd4e5f9bee40743ca14defa6f764f80
Bug in dataset.get_shape() when used after dataset.set_shard() ## 🐛 Bug ## To Reproduce <!-- If you have a code sample, error messages, stack traces, please provide it here as well. --> ## Expected behavior ``` import deepchem as dc import numpy as np X = np.random.randn(10, 3) y = np.random.randn(10) ...
diff --git a/deepchem/data/datasets.py b/deepchem/data/datasets.py index f80a399ca..dd5ba637f 100644 --- a/deepchem/data/datasets.py +++ b/deepchem/data/datasets.py @@ -2286,6 +2286,7 @@ class DiskDataset(Dataset): basename = "shard-%d" % shard_num DiskDataset.write_data_to_disk(self.data_dir, basename, X, y,...
deepchem__deepchem-2979
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "deepchem/feat/graph_data.py:GraphData.__init__" ], "edited_modules": [ "deepchem/feat/graph_data.py:GraphData" ] }, "file": "deepchem/feat/graph_data.py" } ]
deepchem/deepchem
ba780d3d21013b2924fd3301913ff530939a2ccb
GraphData class not working for single atom mols ## 🐛 Bug `GraphData` class checks if the `edge_index` contains the invalid node number, using the condition `np.max(edge_index) >= len(node_features)`. In case of single atom mols, `edge_index` in an empty array of `shape = (2, 0)` and np.max() method raises error fo...
diff --git a/deepchem/feat/graph_data.py b/deepchem/feat/graph_data.py index b9d037e95..000b4d750 100644 --- a/deepchem/feat/graph_data.py +++ b/deepchem/feat/graph_data.py @@ -69,7 +69,9 @@ class GraphData: raise ValueError('edge_index.dtype must contains integers.') elif edge_index.shape[0] != 2: r...
deepchem__deepchem-3165
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "deepchem/data/datasets.py:NumpyDataset.merge" ], "edited_modules": [ "deepchem/data/datasets.py:NumpyDataset" ] }, "file": "deepchem/data/datasets.py" }, { "cha...
deepchem/deepchem
0fb7c4a889f0ad3238abdde10237ad8e0d616460
Updating deepchem to follow 4 spaces for indentation Context: DeepChem codebase currently uses 2 spaces for indents. Proposal: Migrate to 4 spaces for indents. Here is a breakdown of PRs to update indentation. - [x] The first pull request should update setup.cfg to use indent_width as 4 for yapf. Updating cor...
diff --git a/deepchem/data/datasets.py b/deepchem/data/datasets.py index 02c9b5269..e76e4eea8 100644 --- a/deepchem/data/datasets.py +++ b/deepchem/data/datasets.py @@ -1090,6 +1090,8 @@ class NumpyDataset(Dataset): axis=0, ) + if y.ndim == 1: + y = y.reshape(-1, 1) return NumpyDataset(...
deepchem__deepchem-3520
[ { "changes": { "added_entities": [ "deepchem/models/torch_models/layers.py:MXMNetGlobalMessagePassing.__init__", "deepchem/models/torch_models/layers.py:MXMNetGlobalMessagePassing.forward", "deepchem/models/torch_models/layers.py:MXMNetGlobalMessagePassing.message", "deepch...
deepchem/deepchem
7cc7e91931333f86e832108ce1d094c89be88506
Scaffold splitting of BBBP dataset Scaffolding splitting of BBBP dataset throws a ValueError. Steps to reproduct: ```py import deepchem as dc tasks, dataset, transformer = dc.molnet.load_bbbp(featurizer=dc.feat.DummyFeaturizer(), splitter=dc.splits.ScaffoldSplitter()...
diff --git a/deepchem/models/torch_models/layers.py b/deepchem/models/torch_models/layers.py index 74aa2320a..f8524e990 100644 --- a/deepchem/models/torch_models/layers.py +++ b/deepchem/models/torch_models/layers.py @@ -1,4 +1,5 @@ import math +from math import pi as PI import numpy as np from typing import Any, Tu...
deepset-ai__haystack-7038
[ { "changes": { "added_entities": [ "haystack/components/evaluators/statistical_evaluator.py:StatisticalEvaluator._recall_single_hit", "haystack/components/evaluators/statistical_evaluator.py:StatisticalEvaluator._recall_multi_hit" ], "added_modules": null, "edited_entitie...
deepset-ai/haystack
5910b4adc9b2688155abb8d2290e5cf56833eb0b
Implement function to calculate Recall metric As specified in proposal #5794 we need to implement a function to calculate the Recall metric. Ideally the function should be part of the private interface and called only through the `calculate_metrics` function (see #6063). `_calculate_recall()` could be a nice name. ...
diff --git a/haystack/components/evaluators/statistical_evaluator.py b/haystack/components/evaluators/statistical_evaluator.py index 6f65fc10..a6c00964 100644 --- a/haystack/components/evaluators/statistical_evaluator.py +++ b/haystack/components/evaluators/statistical_evaluator.py @@ -1,4 +1,5 @@ import collections +...
deepset-ai__haystack-7536
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "haystack/components/evaluators/answer_exact_match.py:AnswerExactMatchEvaluator.run" ], "edited_modules": [ "haystack/components/evaluators/answer_exact_match.py:AnswerExactMatchEvalu...
deepset-ai/haystack
6a8834e43e850cfb74ea0ff120a30bd8675dc493
feat: `AnswerExactMatchEvaluator` input should be one answer per query instead of list of answers We should change the inputs of the `AnswerExactMatchEvaluator` added in https://github.com/deepset-ai/haystack/pull/7050 from `questions: List[str], ground_truth_answers: List[List[str]], predicted_answers: List[List[str]...
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1657c912..c559d08f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,8 +4,8 @@ # in the repo. Unless a later match takes precedence, # @deepset-ai/core-engineering will be requested for review # when someone opens a pull request. -* ...
deepset-ai__haystack-7621
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": [ "haystack/components/evaluators/context_relevance.py:ContextRelevanceEvaluator" ] }, "file": "haystack/components/evaluators/context_relevance.py" }, { ...
deepset-ai/haystack
8cb3cecf3408b96e718b9e2f00d13697997a1b75
SASEvaluator output scores are list of ndarray for bi-encoders but should be list of float **Describe the bug** Individual scores returned by SASEvaluator are lists of ndarray but should be just lists of float. Currently the output with model `sentence-transformers/all-mpnet-base-v2` is: `{'individual_scores': [[[1.]...
diff --git a/haystack/components/evaluators/context_relevance.py b/haystack/components/evaluators/context_relevance.py index d78ccfc7..6402ef3b 100644 --- a/haystack/components/evaluators/context_relevance.py +++ b/haystack/components/evaluators/context_relevance.py @@ -113,7 +113,7 @@ class ContextRelevanceEvaluator(L...
delfick__python-dict2xml-27
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "dict2xml/__init__.py:dict2xml" ], "edited_modules": [ "dict2xml/__init__.py:dict2xml" ] }, "file": "dict2xml/__init__.py" } ]
delfick/python-dict2xml
e7823cf44431392b786bc1a91748fb1d1a1b9883
DataSorter is not working As it was mentioned in #25, if I don't want to sort my data i should use data_sorter this way: ![image](https://github.com/user-attachments/assets/4b988c6b-124a-4d07-ad4c-5822123b875c) I guess i do the same: ![image](https://github.com/user-attachments/assets/3908b34d-8206-42dc-9358-5...
diff --git a/README.rst b/README.rst index 0d52dc6..1060d25 100644 --- a/README.rst +++ b/README.rst @@ -137,6 +137,10 @@ Limitations Changelog --------- +1.7.6 - TBD + * Fixed the ``dict2xml.dict2xml`` entry point to distribute options + correctly + 1.7.5 - 13 February 2024 * Introduced the ``data_so...
delph-in__pydelphin-162
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "delphin/mrs/compare.py:_make_digraph", "delphin/mrs/compare.py:_isomorphic_var_signature" ], "edited_modules": [ "delphin/mrs/compare.py:_make_digraph", "delphin/mrs/...
delph-in/pydelphin
83108aee8c1db2b4293f118616301d092a33f4df
Predicate terminology is outdated PyDelphin still refers to "string" and "grammar" predicates, where these should be "surface" and "abstract" ("string" is compared to "type", not "grammar"/"abstract").
diff --git a/CHANGELOG.md b/CHANGELOG.md index c622845..d728f60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,14 @@ * Converting to PENMAN via the `convert` command should no longer crash for disconnected graphs, but print a log message to stderr, print a blank line to stdout, and then continue (#161...
delph-in__pydelphin-359
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "delphin/cli/convert.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modu...
delph-in/pydelphin
b5c7094691f01a161983224fe78b2ad26e7fea9b
format function for TypeDefinition seems to mess up some of the Lists If I `iterparse` this TypeDefinition ``` main-vprn := basic-main-verb & norm-pronominal-verb & [ SYNSEM.LOCAL.CAT.VAL [ SUBJ < #subj >, COMPS < #comps >, CLTS #clt ], ARG-ST < #subj...
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 2a5298f..0ef3a60 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -37,4 +37,4 @@ jobs: pytest . - name: Type-check with mypy run: | - mypy delphin --namespace-packages --explicit-pac...
demosense__demorepo-39
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/demorepo/commands/command_run.py:_run_targets", "src/demorepo/commands/command_run.py:stage", "src/demorepo/commands/command_run.py:run" ], "edited_modules": [ "s...
demosense/demorepo
c5e8e938224a7cf1cdffe51bf8755cd4f103dd3d
Stop stage/command when errors happen Some stages should be able to define a short circuit strategy when a particular script fails. Use Case: Specifically in deploy scripts with dependences, the script should stop to avoid resources being deployed when their dependencies failed.
diff --git a/README.md b/README.md index c479d90..750f7a8 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ python3 -m demorepo [command] [options] ### run ``` -demorepo run [-h] [-t TARGETS] [-e ENV] [--reverse-targets] command +demorepo run [-h] [-t TARGETS] [-e ENV] [--reverse-targets] [--stop-on-error] c...
demosense__demorepo-40
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/demorepo/commands/command_run.py:run" ], "edited_modules": [ "src/demorepo/commands/command_run.py:run" ] }, "file": "src/demorepo/commands/command_run.py" }, {...
demosense/demorepo
6dcff3ceada6957d9e14e646bde040c32ac8ac0f
Reimplement recursive-deps
diff --git a/src/demorepo/commands/command_run.py b/src/demorepo/commands/command_run.py index 504024f..2e725b5 100644 --- a/src/demorepo/commands/command_run.py +++ b/src/demorepo/commands/command_run.py @@ -171,6 +171,7 @@ def run(args): command = args['command'] targets = args.get('targets', None) rev...
dephell__dephell_specifier-8
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "dephell_specifier/constants.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "dephe...
dephell/dephell_specifier
9153083a7463b7390c3efb09713e65a909e08cd7
Retrieving input out of Specifier('==1.0-1') `str(Specifier('==1.0-1'))` is `==1.0-1` however `str(Specifier('==1.0-1').version)` is `1.0.post1` To get `1.0-1` back out, I need to do `str(Specifier('==1.0-1')._spec.version)` `1.0-1` is `1.0.post1` in equivalent in recent versions of Python libraries, but does...
diff --git a/dephell_specifier/constants.py b/dephell_specifier/constants.py index 6895c4b..7060a13 100644 --- a/dephell_specifier/constants.py +++ b/dephell_specifier/constants.py @@ -13,4 +13,4 @@ PYTHONS_POPULAR = ('3.5', '3.6', '3.7') PYTHONS_UNRELEASED = ('3.8', '4.0') PYTHONS = PYTHONS_POPULAR + PYTHONS_DEPRECA...
deppen8__pandas-vet-127
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/pandas_vet/__init__.py:check_inplace_false" ], "edited_modules": [ "src/pandas_vet/__init__.py:check_inplace_false" ] }, "file": "src/pandas_vet/__init__.py" } ]
deppen8/pandas-vet
b45e2283b2d880f88401992424c59682d0e4c380
inplace set to a variable raises exception **Describe the bug** raised exception **To Reproduce** Steps to reproduce the behavior: Have the following code in a file ```python def some_function(dataFrame, in_place=False): return dataFrame.drop([], inplace=in_place) ``` **Expected behavior** Allow `...
diff --git a/src/pandas_vet/__init__.py b/src/pandas_vet/__init__.py index 9060511..2a4f0e0 100644 --- a/src/pandas_vet/__init__.py +++ b/src/pandas_vet/__init__.py @@ -173,7 +173,11 @@ def check_inplace_false(node: ast.Call) -> List: """ errors = [] for kw in node.keywords: - if kw.arg == "inplac...
deppen8__pandas-vet-42
[ { "changes": { "added_entities": [ "pandas_vet/__init__.py:check_for_arithmetic_methods", "pandas_vet/__init__.py:check_for_comparison_methods" ], "added_modules": [ "pandas_vet/__init__.py:check_for_arithmetic_methods", "pandas_vet/__init__.py:check_for_compari...
deppen8/pandas-vet
128232a43e8dd2819e77da5a03f494691e494da1
Arithmetic and comparison operators We should implement checks for all of the text-based arithmetic and comparison operators. If found, recommend using the operator itself. Something like: > Use <operator> instead of <text method> | use | check for | | --- | ---------- | | `+` | `.add` | | `-` | `.sub` and `.s...
diff --git a/pandas_vet/__init__.py b/pandas_vet/__init__.py index 8c286e0..b675fd8 100644 --- a/pandas_vet/__init__.py +++ b/pandas_vet/__init__.py @@ -14,6 +14,9 @@ class Visitor(ast.NodeVisitor): ast.NodeVisitor will automatically call the appropriate method for a given node type i.e. calling self.visit ...
deschler__django-modeltranslation-662
[ { "changes": { "added_entities": [ "modeltranslation/admin.py:TranslationBaseModelAdmin._get_widget_from_field" ], "added_modules": null, "edited_entities": [ "modeltranslation/admin.py:TranslationBaseModelAdmin.patch_translation_field" ], "edited_modules": [ ...
deschler/django-modeltranslation
5ab3a45af6262c599f4108de938a93028f9377dd
TabbedUI not working for ForeignKeys Hi, is there a reason, why the tabbed UI does not work for foreign key fields? ![image](https://user-images.githubusercontent.com/18393658/200787514-8e72b99d-d492-400a-9c35-04bf789897cc.png) If it's a bug and someone hints me in the right direction, I might be able to fix i...
diff --git a/modeltranslation/admin.py b/modeltranslation/admin.py index e610216..4430ee6 100644 --- a/modeltranslation/admin.py +++ b/modeltranslation/admin.py @@ -94,7 +94,7 @@ class TranslationBaseModelAdmin(BaseModelAdmin): db_field.empty_value == 'both' or orig_field.name in self.both_empty_values...
deschler__django-modeltranslation-671
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "modeltranslation/manager.py:MultilingualQuerySet.raw_values", "modeltranslation/manager.py:MultilingualQuerySet.values", "modeltranslation/manager.py:MultilingualQuerySet.values_list" ...
deschler/django-modeltranslation
943e90226c69a96b33e8f80554a905f5c03d19cd
Error "'Cast' object has no attribute 'split'" when using Cast in values_list() We're using wagtail with [wagtail-modeltranslation](https://github.com/infoportugal/wagtail-modeltranslation), which uses [django-modeltranslation](https://github.com/deschler/django-modeltranslation), and we've stumbled over this error: ...
diff --git a/modeltranslation/manager.py b/modeltranslation/manager.py index a17a815..064a66b 100644 --- a/modeltranslation/manager.py +++ b/modeltranslation/manager.py @@ -406,8 +406,8 @@ class MultilingualQuerySet(QuerySet): return super(MultilingualQuerySet, self).only(*fields) # This method was not ...
deshima-dev__decode-12
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "decode/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules"...
deshima-dev/decode
d3a6683570dbe85fbe81a03f7f59379ec8df38f8
Release v0.5.7 - Update version numbers written in: - pyproject.toml - decode/__init__.py - docs/conf.py - tests/test_metadata.py
diff --git a/decode/__init__.py b/decode/__init__.py index b530747..6147cd5 100644 --- a/decode/__init__.py +++ b/decode/__init__.py @@ -1,5 +1,5 @@ # flake8: noqa -__version__ = "0.5.6" +__version__ = "0.5.7" __author__ = "DESHIMA software team" diff --git a/docs/conf.py b/docs/conf.py index de2291b..8663081 100...
deshima-dev__decode-14
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "decode/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules"...
deshima-dev/decode
8b70f186b2c01c01fd48174753ea1b55a6e43248
Release v0.5.8 - Update Python requirements (>=3.6.1 → >= 3.6) - Also update poetry.lock - Update version numbers (0.5.7 → 0.5.8) written in: - pyproject.toml - decode/__init__.py - docs/conf.py - tests/test_metadata.py
diff --git a/decode/__init__.py b/decode/__init__.py index 6147cd5..49c96c0 100644 --- a/decode/__init__.py +++ b/decode/__init__.py @@ -1,5 +1,5 @@ # flake8: noqa -__version__ = "0.5.7" +__version__ = "0.5.8" __author__ = "DESHIMA software team" diff --git a/docs/conf.py b/docs/conf.py index 8663081..f771c05 100...
deshima-dev__decode-16
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "decode/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules"...
deshima-dev/decode
21c0888b2f7fa84eef7f8b30b5a553fc83a6867d
Release v0.5.9 - Fix wrong version of pyyaml (`^3.13` → `^5.3`) in `pyproject.toml` - Also update `poetry.lock` - Update version numbers (0.5.7 → 0.5.8) written in: - `pyproject.toml` - `decode/__init__.py` - `docs/conf.py` - `tests/test_metadata.py`
diff --git a/decode/__init__.py b/decode/__init__.py index 49c96c0..4172dd8 100644 --- a/decode/__init__.py +++ b/decode/__init__.py @@ -1,5 +1,5 @@ # flake8: noqa -__version__ = "0.5.8" +__version__ = "0.5.9" __author__ = "DESHIMA software team" diff --git a/docs/conf.py b/docs/conf.py index f771c05..ae26901 100...
deshima-dev__decode-205
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "decode/__init__.py" }, { "changes": { "added_entities": [ "decode/utils.py:phaseof" ], "added_modules": [ "decode/ut...
deshima-dev/decode
409f4df5f669b57e63f4665f3335765846c69215
Add utility to get phase label of 1D DataArray
diff --git a/CITATION.cff b/CITATION.cff index b1d2ddd..86816f7 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,8 +3,8 @@ message: "If you use this software, please cite it as below." title: "de:code" abstract: "DESHIMA code for data analysis" -version: 2024.8.3 -date-released: 2024-08-10 +version: 2024.8.4 +dat...
deshima-dev__deshima-sensitivity-81
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "deshima_sensitivity/__init__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "ed...
deshima-dev/deshima-sensitivity
3d949dc6afd0d88474ec97da2036e6095f00bc90
Release v0.4.1
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 143c0f4..595477a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9-slim +FROM python:3.10-slim ENV POETRY_VIRTUALENVS_CREATE=false diff --git a/.devcontainer/devcontainer.json b/.devcontainer/...
deshima-dev__deshima-sensitivity-96
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "deshima_sensitivity/__init__.py" } ]
deshima-dev/deshima-sensitivity
5e5a2f61221cbb8b60c27bf46ed843d33a60f743
Fix project dependencies
diff --git a/CITATION.cff b/CITATION.cff index fd0a812..f2e3ba9 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,7 +3,7 @@ message: "If you use this software, please cite it as below." title: "deshima-sensitivity" abstract: "Sensitivity calculator for DESHIMA-type spectrometers" -version: 0.3.1 +version: 0.3.2 d...
desihub__desitransfer-35
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "py/desitransfer/daemon.py:TransferDaemon.backup" ], "edited_modules": [ "py/desitransfer/daemon.py:TransferDaemon" ] }, "file": "py/desitransfer/daemon.py" } ]
desihub/desitransfer
ebb918221d97914d4e749ce6eff8806656756423
Transfer 'NightSummary' in night logs from KPNO to NERSC With the rsynch of nightlogs/, also transfer all files that include the string 'NightSummary' from KPNO to NERSC. They do not have a '_kpno' tag, but they are only written at KPNO.
diff --git a/bin/desi_tucson_transfer.sh b/bin/desi_tucson_transfer.sh index c93e0a8..7f4e01a 100755 --- a/bin/desi_tucson_transfer.sh +++ b/bin/desi_tucson_transfer.sh @@ -31,7 +31,7 @@ set -o noglob # # Static data sets don't need to be updated as frequently. # -static='protodesi public/epo spectro/redux/andes spe...
desihub__desitransfer-39
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "py/desitransfer/daemon.py:TransferDaemon.checksum", "py/desitransfer/daemon.py:verify_checksum" ], "edited_modules": [ "py/desitransfer/daemon.py:TransferDaemon", "py...
desihub/desitransfer
1e2627d6b9b7e9681b9470ef682fb428b452c6fd
Add information on type of checksum failure When a checksum failure is detected, add log information about the type of failure: invalid checksum or missing/extraneous file.
diff --git a/bin/desi_tucson_transfer.sh b/bin/desi_tucson_transfer.sh index 1dfcb3e..7db65cb 100755 --- a/bin/desi_tucson_transfer.sh +++ b/bin/desi_tucson_transfer.sh @@ -35,7 +35,7 @@ static='protodesi public/epo spectro/redux/andes spectro/redux/blanc spectro/red # # Dynamic data sets may change daily. # -dynami...
desihub__desiutil-173
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "py/desiutil/modules.py:configure_module" ], "edited_modules": [ "py/desiutil/modules.py:configure_module" ] }, "file": "py/desiutil/modules.py" } ]
desihub/desiutil
93f40ac22f0d5629bb80713e11918e1d1cd3f36b
desiInstall creates incorrect module file for QuasarNP QuasarNP is a semi-external package hosted in desihub. It doesn't have a boilerplate etc/quasarnp.module file, but it also doesn't require anything custom so I was expecting the desiInstall default module file to work. desiInstall does correctly identify the "py"...
diff --git a/doc/changes.rst b/doc/changes.rst index ef3bf1d..0fc8189 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -5,7 +5,10 @@ Change Log 3.2.2 (unreleased) ------------------ -* No changes yet. +* Add module config support for packages like QuasarNP where the GitHub + name is capitalized by the python ...
desihub__desiutil-185
[ { "changes": { "added_entities": [ "py/desiutil/install.py:DesiInstall.unlock_permissions" ], "added_modules": null, "edited_entities": [ "py/desiutil/install.py:DesiInstall.set_install_dir", "py/desiutil/install.py:DesiInstall.install" ], "edited_modu...
desihub/desiutil
8d5bbda3e42181fe4f5233b534b2e6b4abb1e52e
Disable warnings about Python scripts not in PATH. During a recent run of `pip install` there was a new warning message: ``` WARNING: The scripts fits2bitmap, fitscheck, fitsdiff, fitsheader, fitsinfo, samp_hub, showtable, volint and wcslint are installed in '/global/common/software/desi/users/bweaver/cori/desicond...
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5463342..b17e805 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,9 +17,9 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - ...
desihub__desiutil-188
[ { "changes": { "added_entities": [ "py/desiutil/install.py:DesiInstall.compile_branch" ], "added_modules": null, "edited_entities": [ "py/desiutil/install.py:DesiInstall.run" ], "edited_modules": [ "py/desiutil/install.py:DesiInstall" ] }, ...
desihub/desiutil
4f910f407c4b7fa9636aa64fc65acd72c49a3cf7
desiInstall of specex/main and fiberassign/main, which need compilation too desiInstall supports "in-place" installations of python repos that adds `$PRODUCT_DIR/py` to `$PYTHONPATH` and `$PRODUCT_DIR/bin` to `$PATH` so that any changes to the repo are automatically available without having to do a separate installatio...
diff --git a/doc/changes.rst b/doc/changes.rst index 8697970..93581d9 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -8,9 +8,14 @@ Change Log * :command:`desiInstall` uses desihub location of simqso fork (commit e963344_). * Allow :command:`desiInstall` to remove permission-locked directories; suppress cert...
desihub__desiutil-195
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "py/desiutil/iers.py:freeze_iers" ], "edited_modules": [ "py/desiutil/iers.py:freeze_iers" ] }, "file": "py/desiutil/iers.py" }, { "changes": { "added_enti...
desihub/desiutil
a15f4f98214d14ad05e740d68f333994dfa1f1f8
Allow desiInstall to install packages with world-read Currently `desiInstall` removes world-read permissions when installing DESI packages. Since, in principle, we want all NERSC users to have access to the DESI software stack to work with public data, we need to default to installing world-read permission, with the n...
diff --git a/.gitignore b/.gitignore index d73e8fc..af39064 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,8 @@ MANIFEST # Other .*.swp *~ +.vscode +.env # Mac OSX .DS_Store diff --git a/doc/desiInstall.rst b/doc/desiInstall.rst index 8c926f0..c1b28b7 100644 --- a/doc/desiInstall.rst +++ b/doc/desiInstall...
desihub__desiutil-93
[ { "changes": { "added_entities": [ "py/desiutil/log.py:_configure_root_logger" ], "added_modules": [ "py/desiutil/log.py:_configure_root_logger" ], "edited_entities": [ "py/desiutil/log.py:get_logger" ], "edited_modules": [ "py/desiutil/l...
desihub/desiutil
229031acffe2b18186e4928a8a9832131849dc6d
Questions/suggestions for logging module I have some questions/suggestions about `log.get_logger()` after adapting `desisurvey` and `surveysim` to use it. Environment variables usually set a default that can be overridden via the API, but `$DESI_LOGLEVEL` overrides the API `level` parameter. I found this confusing ...
diff --git a/doc/changes.rst b/doc/changes.rst index 362be2b..6cb18fc 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -7,9 +7,13 @@ Change Log * Enhance :mod:`desiutil.log` with a context manager (PR `#92`_), and change the way the log level is set. +* Avoid logging interference with :func:`desiutil.log.get...
destag__at-date-15
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "atdate/atdate_format.py" } ]
destag/at-date
dc4d4b9dc25ad7b4039bfd4b9dea771df23ee282
Add rule to parser to omit word 'now' Parser now require string in format like `now next month`. It would be good if word `now` would be optional and strings like `next month` would be parsed like one above. This change requires adding rule to parser string and probably adding additional methods to **api.py**.
diff --git a/atdate/atdate_format.py b/atdate/atdate_format.py index 6749166..42e910b 100644 --- a/atdate/atdate_format.py +++ b/atdate/atdate_format.py @@ -7,6 +7,7 @@ format_string = r''' | date increment | nowspec | nowspec increment + | increment time: HR24CLOCK_HR_MIN ...
destag__at-date-17
[ { "changes": { "added_entities": [ "atdate/api.py:AtDateTransformer._iso_time", "atdate/api.py:AtDateTransformer._iso_date" ], "added_modules": null, "edited_entities": [ "atdate/api.py:AtDateParser.execute", "atdate/api.py:AtDateTransformer._hr24clock_hou...
destag/at-date
3957d0b750ef1205adb0ba2fc3dccf34c3f0ce62
ISO 8601 compatibility I think that it would be nice to support dates and times in ISO 8601 format.
diff --git a/atdate/api.py b/atdate/api.py index b42b2ac..7f1af8e 100644 --- a/atdate/api.py +++ b/atdate/api.py @@ -15,7 +15,9 @@ class AtDateParser: tree = self.parser.parse(string_to_parse.lower()) new_tree = transformer.transform(tree) - next_time_run = new_tree if isinstance(new_tree, da...
dev-cafe__parselglossy-52
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "parselglossy/documentation.py:documentation_generator", "parselglossy/documentation.py:document_keyword", "parselglossy/documentation.py:rec_documentation_generator" ], "edit...
dev-cafe/parselglossy
b28084a6ca692dd1cecc2e07a229f20d1630e162
Repeated keywords in the autogenerated documentation * parselglossy version: b28084a * Python version: 3.7.0 * Operating System: Ubuntu-18.10 ### What I Did The following `template.yml` ``` keywords: - name: foo type: int docstring: foo - name: bar type: int docstring: bar - name: ...
diff --git a/parselglossy/documentation.py b/parselglossy/documentation.py index f101cb7..0b8ed79 100644 --- a/parselglossy/documentation.py +++ b/parselglossy/documentation.py @@ -51,14 +51,19 @@ def documentation_generator( """ comment = ( + ".. raw:: html\n\n" + " <style> .red {color:#aa...
dev-cafe__parselglossy-99
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "parselglossy/api.py:generate", "parselglossy/api.py:document" ], "edited_modules": [ "parselglossy/api.py:generate", "parselglossy/api.py:document" ] }, ...
dev-cafe/parselglossy
727d40f300f696fd4cbe54dc9fc91188fe2638ec
Chain of dependencies ### Description The following chain of dependencies currently does not work if neither `bar` nor `baz` is set: ``` keywords: - name: foo type: float docs...
diff --git a/parselglossy/api.py b/parselglossy/api.py index 99ea3d4..ae507bf 100644 --- a/parselglossy/api.py +++ b/parselglossy/api.py @@ -174,7 +174,7 @@ def generate( stencil = read_yaml_file(template_) # Check if the template is valid - is_template_valid(stencil) + stencil = is_template_valid(ste...
devanshshukla99__pytest-remote-response-28
[ { "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": null, "edited_modules": null...
devanshshukla99/pytest-remote-response
c724ec73a4bddca226c22e2aae33bed593200b99
Fix database Probably better to move to a thread safe dB, just to be safe. Work towards reducing the footprint.
diff --git a/docs/conf.py b/docs/conf.py index 484ca87..ab1554b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -260,5 +260,5 @@ intersphinx_mapping = { "urllib3": ("https://urllib3.readthedocs.io/en/stable/", None), "requests": ("https://docs.python-requests.org/en/master/", None), "aiohttp": ("https://...
developmentseed__cogeo-mosaic-228
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "cogeo_mosaic/backends/base.py:BaseBackend.get_assets" ], "edited_modules": [ "cogeo_mosaic/backends/base.py:BaseBackend" ] }, "file": "cogeo_mosaic/backends/base.py" ...
developmentseed/cogeo-mosaic
2e12ff197f3c64bd3ba36c99ce2f27597342881a
add`asset_prefix` to assets ### Discussed in https://github.com/developmentseed/cogeo-mosaic/discussions/226 <div type='discussions-op-text'> <sup>Originally posted by **scottyhq** December 6, 2023</sup> I tired rendering the 0.0.3 example which uses public data: https://titiler.xyz/mosaicjson/map?url=https://...
diff --git a/CHANGES.md b/CHANGES.md index 12763d0..1ec014f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,6 @@ +## 7.1.0 + +* Automatically remove/add `asset_prefix` in Mosaic Backends ## 7.0.1 (2023-10-17) diff --git a/cogeo_mosaic/backends/base.py b/cogeo_mosaic/backends/base.py index 4fe4f64..7cb8a91 1006...