Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
stringlengths
14
53
base_commit
stringlengths
40
40
created_at
timestamp[ns]date
2015-06-01 04:28:15
2025-02-13 01:08:18
environment_setup_commit
stringlengths
40
40
hints_text
stringlengths
0
7.34k
patch
stringlengths
363
80.2k
problem_statement
stringlengths
14
29.5k
repo
stringlengths
8
49
test_patch
stringlengths
366
32.2k
meta
dict
version
stringlengths
2
10
install_config
dict
requirements
stringlengths
217
25.1k
environment
stringlengths
951
17.3k
FAIL_TO_PASS
sequencelengths
1
48
FAIL_TO_FAIL
sequencelengths
0
95
PASS_TO_PASS
sequencelengths
0
664
PASS_TO_FAIL
sequencelengths
0
0
license_name
stringclasses
11 values
sympy__sympy-22483
76d72acaeeab0082fc43eee42ddc8688acd3e306
2021-11-13T03:02:27
c820a87bebc7511280d3a0e24aa7d96cd0f33831
diff --git a/sympy/core/relational.py b/sympy/core/relational.py index 3d95a9102b..7a4be766fd 100644 --- a/sympy/core/relational.py +++ b/sympy/core/relational.py @@ -265,9 +265,20 @@ def canonical(self): x < -y >>> (-y < -x).canonical x < y + + The canonicalization is recursively appl...
relationals created with symbols can be made canonical ``` python >>> a=1<x >>> b=S(1)<x >>> c=x>S(1) >>> a==b False >>> b==c False ``` The `a==b` failure is expected since Python flips the args around. But it and the `b==c` case could all be the same if Relationals created from symbols (<, >, etc...) would sort args ...
sympy/sympy
diff --git a/sympy/core/tests/test_relational.py b/sympy/core/tests/test_relational.py index eeb5f9afec..e98f5f5df7 100644 --- a/sympy/core/tests/test_relational.py +++ b/sympy/core/tests/test_relational.py @@ -854,6 +854,7 @@ def test_canonical(): assert [i.canonical for i in c] == c assert [i.reversed.canon...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
1.9
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest", "flake8" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_...
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work flake8==7.2.0 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work mccabe==0.7.0 mpmath==1.3.0 packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pycodestyle==2.13.0 pyflakes==3.3.1 p...
name: sympy channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_im...
[ "sympy/core/tests/test_relational.py::test_canonical" ]
[]
[ "sympy/core/tests/test_relational.py::test_rel_ne", "sympy/core/tests/test_relational.py::test_rel_subs", "sympy/core/tests/test_relational.py::test_wrappers", "sympy/core/tests/test_relational.py::test_Eq_Ne", "sympy/core/tests/test_relational.py::test_as_poly", "sympy/core/tests/test_relational.py::test...
[]
BSD
zarr-developers__zarr-python-2583
fb11810170e864aada188f656fdc254d2de82720
2024-12-22T12:51:12
fb11810170e864aada188f656fdc254d2de82720
diff --git a/src/zarr/api/asynchronous.py b/src/zarr/api/asynchronous.py index 14078944..c4d1ec86 100644 --- a/src/zarr/api/asynchronous.py +++ b/src/zarr/api/asynchronous.py @@ -579,7 +579,7 @@ async def array( z = await create(**kwargs) # fill with data - await z.setitem(slice(None), data) + await z...
[v3] Scalar arrays: IndexError: too many indices for array; expected 0, got 1 ### Zarr version 3.0.0b1 ### Numcodecs version 0.13.1 ### Python Version 3.11 ### Operating System Mac ### Installation pip ### Description In Zarr 2.18, this works: ```python In [1]: import zarr In [2]: arr = zarr.array(1.5...
zarr-developers/zarr-python
diff --git a/tests/test_array.py b/tests/test_array.py index 1899e384..891538bc 100644 --- a/tests/test_array.py +++ b/tests/test_array.py @@ -881,3 +881,10 @@ async def test_nbytes( assert arr._async_array.nbytes == np.prod(arr.shape) * arr.dtype.itemsize else: assert arr.nbytes == np.prod(arr.s...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
2.18
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test,gpu,docs]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest", "pytest-cov", "pytest-asyncio", "moto[s3]", "coverage", "mypy", "hypothesis", "uni...
accessible-pygments==0.0.5 aiobotocore==2.21.1 aiohappyeyeballs==2.6.1 aiohttp==3.11.14 aioitertools==0.12.0 aiosignal==1.3.2 alabaster==1.0.0 anyio==4.9.0 astroid==3.3.9 attrs==25.3.0 babel==2.17.0 beautifulsoup4==4.13.3 boto3==1.37.1 botocore==1.37.1 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 click==8....
name: zarr-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_impl_linu...
[ "tests/test_array.py::test_scalar_array" ]
[]
[ "tests/test_array.py::test_array_creation_existing_node[array-True-2-local]", "tests/test_array.py::test_array_creation_existing_node[array-True-2-memory]", "tests/test_array.py::test_array_creation_existing_node[array-True-3-local]", "tests/test_array.py::test_array_creation_existing_node[array-True-3-memory...
[]
MIT License
lbl-srg__BuildingsPy-388
c047e118c177d637f1729c2fa8240ac7e649154a
2020-11-10T13:15:20
208c37e78b37bdde0ad60db2eb22c60ec65b7deb
diff --git a/buildingspy/CHANGES.txt b/buildingspy/CHANGES.txt index ac2406f..e4bb144 100644 --- a/buildingspy/CHANGES.txt +++ b/buildingspy/CHANGES.txt @@ -4,6 +4,7 @@ BuildingsPy Changelog Version 2.2.0, xxx, 2020 -- Release 2.2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - xxx +- Corrected generation of package.order...
Package.order is misses to include constants that are arrays This issue is to correct the generation of `package.order` for packages that have constant arrays, such as ```modelica final constant Real A[:] = {-1.721781e2, 2.381558e-1, -4.329207e-4, -6.241072e-7} "Coefficients A for Martin-Hou equation of state"...
lbl-srg/BuildingsPy
diff --git a/buildingspy/tests/test_development_refactor.py b/buildingspy/tests/test_development_refactor.py index 7e15a5b..0d81f4f 100644 --- a/buildingspy/tests/test_development_refactor.py +++ b/buildingspy/tests/test_development_refactor.py @@ -69,6 +69,36 @@ class Test_development_refactor(unittest.TestCase): ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
2.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "test_cmd": "pyte...
autopep8==1.5 -e git+https://github.com/lbl-srg/BuildingsPy.git@c047e118c177d637f1729c2fa8240ac7e649154a#egg=buildingspy contourpy==1.3.0 cycler==0.12.1 exceptiongroup==1.2.2 fonttools==4.56.0 gitdb==4.0.12 GitPython==3.1.0 importlib_resources==6.5.2 iniconfig==2.1.0 Jinja2==2.11.1 kiwisolver==1.4.7 MarkupSafe==3.0.2 m...
name: BuildingsPy channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-...
[ "buildingspy/tests/test_development_refactor.py::Test_development_refactor::test_get_constants_empty", "buildingspy/tests/test_development_refactor.py::Test_development_refactor::test_get_constants_non_empty" ]
[]
[ "buildingspy/tests/test_development_refactor.py::Test_development_refactor::test_getShortName", "buildingspy/tests/test_development_refactor.py::Test_development_refactor::test_get_modelica_file_name", "buildingspy/tests/test_development_refactor.py::Test_development_refactor::test_sort_package_order", "build...
[]
null
datosgobar__pydatajson-212
bcc401111ada65362839f1f92490198ddc5d94ea
2018-10-24T13:57:03
adb85a7de7dfa073ddf9817a5fe2d125f9ce4e54
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...
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.
datosgobar/pydatajson
diff --git a/tests/test_federation.py b/tests/test_federation.py index d2a0af6..daf9df4 100644 --- a/tests/test_federation.py +++ b/tests/test_federation.py @@ -501,11 +501,16 @@ class OrganizationsTestCase(FederationSuite): for child in node['children']: self.check_hierarchy(child, parent=node['n...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
0.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", ...
attrs==22.2.0 certifi==2021.5.30 charset-normalizer==2.0.12 ckanapi==4.0 docopt==0.6.2 et-xmlfile==1.1.0 idna==3.10 importlib-metadata==4.8.3 iniconfig==1.1.1 isodate==0.6.0 jdcal==1.4.1 jsonschema==2.6.0 nose==1.3.7 openpyxl==2.4.11 packaging==21.3 pluggy==1.0.0 py==1.11.0 -e git+https://github.com/datosgobar/pydatajs...
name: pydatajson channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 -...
[ "tests/test_federation.py::OrganizationsTestCase::test_get_organization_calls_api_correctly" ]
[]
[ "tests/test_federation.py::PushDatasetTestCase::test_dataset_id_is_preserved_if_catalog_id_is_not_passed", "tests/test_federation.py::PushDatasetTestCase::test_dataset_level_wrappers", "tests/test_federation.py::PushDatasetTestCase::test_dataset_without_license_sets_notspecified", "tests/test_federation.py::P...
[]
MIT License
Clinical-Genomics__scout-593
7b2419a20dd5dbae88f21b9a2afe2c2d4ad5277f
2017-09-05T12:38:59
8e1c3acd430a1f57f712aac29847e71cac8308f3
diff --git a/scout/adapter/mongo/query.py b/scout/adapter/mongo/query.py index 3a07b82d8..055963b99 100644 --- a/scout/adapter/mongo/query.py +++ b/scout/adapter/mongo/query.py @@ -114,15 +114,16 @@ class QueryHandler(object): cadd_query = {'cadd_score': {'$gt': float(cadd)}} logger.debug("Add...
CADD score filter monday-issue! Thank you kindly for the quick inclusion of CADD score filtering! Will make a couple of our doctors very happy. One major caveat though: the current version seems to filter out unknown CADD scores as well (similar to the unknown frequency bug)! Not intended usage..
Clinical-Genomics/scout
diff --git a/tests/adapter/test_query.py b/tests/adapter/test_query.py index e5aee3586..2d12aa555 100644 --- a/tests/adapter/test_query.py +++ b/tests/adapter/test_query.py @@ -57,7 +57,7 @@ def test_build_cadd_exclusive(adapter): def test_build_cadd_inclusive(adapter): case_id = 'cust000' cadd = 10.0 - c...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
3.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "cython", "pytest", "pytest-flask", "pytest-cov" ], "pre_install": [ "apt-get update", "apt-get ...
babel==2.17.0 blinker==1.9.0 cachelib==0.13.0 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 coloredlogs==15.0.1 coverage==7.8.0 Cython==3.0.12 cyvcf2==0.31.1 dnspython==2.7.0 dominate==2.9.1 exceptiongroup==1.2.2 Flask==3.1.0 flask-babel==4.0.0 Flask-Bootstrap==3.3.7.1 Flask-DebugToolbar==0.16.0 Flask-Login...
name: scout channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/adapter/test_query.py::test_build_cadd_inclusive" ]
[]
[ "tests/adapter/test_query.py::test_build_query", "tests/adapter/test_query.py::test_build_thousand_g_query", "tests/adapter/test_query.py::test_build_non_existing_thousand_g", "tests/adapter/test_query.py::test_build_cadd_exclusive", "tests/adapter/test_query.py::test_build_thousand_g_and_cadd", "tests/ad...
[]
BSD 3-Clause "New" or "Revised" License
matplotlib__matplotlib-26908
7d2acfda30077403682d8beef5a3c340ac98a43b
2023-09-25T10:38:14
380bba1d0b4f3665afdb164ad784dd234ccb8de3
diff --git a/lib/matplotlib/contour.py b/lib/matplotlib/contour.py index efea024dc1..2725dd6340 100644 --- a/lib/matplotlib/contour.py +++ b/lib/matplotlib/contour.py @@ -935,9 +935,11 @@ class ContourSet(ContourLabeler, mcoll.Collection): ) allsegs = _api.deprecated("3.8", pending=True)(property(la...
[Doc]: `ContourSet` `allsegs` and `allkinds` after #25247 ### Documentation Link https://matplotlib.org/stable/api/contour_api.html ### Problem It seems that their descriptions are no longer accurate after #25247. For example https://github.com/matplotlib/matplotlib/blob/dceb278bef361f32eb0009dec5bfda41fc27fa3...
matplotlib/matplotlib
diff --git a/lib/matplotlib/tests/test_contour.py b/lib/matplotlib/tests/test_contour.py index 4a32fdc6ce..c911d499ea 100644 --- a/lib/matplotlib/tests/test_contour.py +++ b/lib/matplotlib/tests/test_contour.py @@ -819,14 +819,24 @@ def test_all_nan(): 2.4e-14, 5e-14, 7.5e-14, 1e-13]) ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
3.8
{ "env_vars": null, "env_yml_path": [ "environment.yml" ], "install": "pip install -ve .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y ccache cm-super dvipng ...
accessible-pygments @ file:///home/conda/feedstock_root/build_artifacts/accessible-pygments_1734956106558/work alabaster @ file:///home/conda/feedstock_root/build_artifacts/alabaster_1704848697227/work asttokens @ file:///home/conda/feedstock_root/build_artifacts/asttokens_1733250440834/work attrs @ file:///home/conda/...
name: matplotlib channels: - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_gnu - accessible-pygments=0.0.5=pyhd8ed1ab_1 - adwaita-icon-theme=48.0=unix_0 - alabaster=0.7.16=pyhd8ed1ab_0 - alsa-lib...
[ "lib/matplotlib/tests/test_contour.py::test_allsegs_allkinds" ]
[]
[ "lib/matplotlib/tests/test_contour.py::test_contour_shape_1d_valid", "lib/matplotlib/tests/test_contour.py::test_contour_shape_2d_valid", "lib/matplotlib/tests/test_contour.py::test_contour_shape_error[args0-Length", "lib/matplotlib/tests/test_contour.py::test_contour_shape_error[args1-Length", "lib/matplot...
[]
null
streamlink__streamlink-2858
222ab719fbdbf9f388277cda52e39ccdfcd1cacb
2020-04-02T22:43:31
ed210721fc6eb73d9480ad91194e61d7e85ddda2
codecov[bot]: # [Codecov](https://codecov.io/gh/streamlink/streamlink/pull/2858?src=pr&el=h1) Report > Merging [#2858](https://codecov.io/gh/streamlink/streamlink/pull/2858?src=pr&el=desc) into [master](https://codecov.io/gh/streamlink/streamlink/commit/c5d84455911b0b26fb524e527170b0f10f84cf64&el=desc) will **not chang...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3114eed5..a9516b02 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,16 +32,16 @@ jobs: with: python-version: ${{ matrix.python }} - name: Install dependencies - continue-on-error: ...
Youtube plugin not working with some vods <!-- Thanks for reporting a plugin issue! USE THE TEMPLATE. Otherwise your plugin issue may be rejected. First, see the contribution guidelines: https://github.com/streamlink/streamlink/blob/master/CONTRIBUTING.md#contributing-to-streamlink Also check the list of open ...
streamlink/streamlink
diff --git a/tests/__init__.py b/tests/__init__.py index a6e20084..e572a37f 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,17 +1,29 @@ +import os import warnings +import pytest + +from streamlink.compat import is_py2, is_py3 + def catch_warnings(record=False, module=None): def _catch_warnings_w...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 11 }
1.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": null, "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.7", "reqs_path": [ "dev-...
certifi @ file:///croot/certifi_1671487769961/work/certifi charset-normalizer==3.4.1 coverage==7.2.7 exceptiongroup==1.2.2 flake8==5.0.4 freezegun==1.5.1 idna==3.10 importlib-metadata==4.2.0 iniconfig==2.0.0 iso-639==0.4.5 iso3166==2.1.1 isodate==0.7.2 mccabe==0.7.0 mock==5.2.0 packaging==24.0 pluggy==1.2.0 pycodestyle...
name: streamlink channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 -...
[ "tests/plugins/test_tv360.py::TestPluginTV360::test_can_handle_url" ]
[]
[ "tests/test_api_http_session.py::TestPluginAPIHTTPSession::test_json_encoding", "tests/test_api_http_session.py::TestPluginAPIHTTPSession::test_json_encoding_override", "tests/test_api_http_session.py::TestPluginAPIHTTPSession::test_read_timeout", "tests/plugins/test_tv360.py::TestPluginTV360::test_can_handle...
[]
BSD 2-Clause "Simplified" License
iris-hep__qastle-58
644b098ad95d3f2fc48d26e509745dfb60fc6e74
2021-09-08T10:44:13
644b098ad95d3f2fc48d26e509745dfb60fc6e74
diff --git a/README.md b/README.md index 27155e5..55ff7d2 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,8 @@ All defined s-expressions are listed here, though this specification will be exp - `selector` must be a `lambda` with one argument - First: `(First <source>)` - Last: `(Last <source>)` + - Elem...
`ElementAt` node type See <https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.elementat?view=net-5.0>. For parity with `First` and `Last`.
iris-hep/qastle
diff --git a/tests/test_ast_language.py b/tests/test_ast_language.py index b83cb8d..a9fdec9 100644 --- a/tests/test_ast_language.py +++ b/tests/test_ast_language.py @@ -180,6 +180,19 @@ def test_First(): '(First data_source)') +def test_Last(): + first_node = Last(s...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
0.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements/base.txt" ], "test_cmd":...
coverage==7.8.0 exceptiongroup==1.2.2 flake8==7.2.0 iniconfig==2.1.0 lark-parser==0.12.0 mccabe==0.7.0 packaging==24.2 pluggy==1.5.0 pycodestyle==2.13.0 pyflakes==3.3.2 pytest==8.3.5 pytest-cov==6.0.0 -e git+https://github.com/iris-hep/qastle.git@644b098ad95d3f2fc48d26e509745dfb60fc6e74#egg=qastle tomli==2.2.1
name: qastle channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "tests/test_ast_language.py::test_ElementAt", "tests/test_linq_util.py::test_elementat", "tests/test_linq_util.py::test_elementat_composite", "tests/test_linq_util.py::test_elementat_bad" ]
[]
[ "tests/test_ast_language.py::test_empty", "tests/test_ast_language.py::test_whitespace", "tests/test_ast_language.py::test_identifiers", "tests/test_ast_language.py::test_string_literals", "tests/test_ast_language.py::test_numeric_literals", "tests/test_ast_language.py::test_list", "tests/test_ast_langu...
[]
MIT License
astropy__astropy-8713
69b4bf9d2b88c7b370f4c69727a0c925517301be
2019-05-15T20:52:38
239d40fba0368d9ceab9476558f4906f3280dc77
pllim: Unfortunately, this seemingly simple change broke Appveyor and 32-bit CircleCI. The HTML doc broke, I think, because of perhaps you branched off an older version of `master`. codecov[bot]: # [Codecov](https://codecov.io/gh/astropy/astropy/pull/8713?src=pr&el=h1) Report > Merging [#8713](https://codecov.io/gh/ast...
diff --git a/CHANGES.rst b/CHANGES.rst index 6a32d019f3..ce23900e33 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2254,6 +2254,8 @@ astropy.io.fits - Fix ``Header.update`` which was dropping the comments when passed a ``Header`` object. [#8840] +- Fix ``Header.fromfile`` to work on FITS files. [#8713] + astropy...
UnicodeDecodeError during fits.Header.fromfile() MWE: ``` import numpy as np from astropy.io import fits fn = 'test.fits' data = np.random.randn(1, 1) hdu = fits.HDUList(fits.PrimaryHDU(data)) hdu.writeto(fn, overwrite=True) header = fits.Header.fromfile(fn) ``` produces: ``` -------------------------...
astropy/astropy
diff --git a/astropy/io/fits/tests/test_header.py b/astropy/io/fits/tests/test_header.py index 84f75651a3..564a1da2dc 100644 --- a/astropy/io/fits/tests/test_header.py +++ b/astropy/io/fits/tests/test_header.py @@ -1587,6 +1587,13 @@ class TestHeaderFunctions(FitsTestCase): assert len(hdul2) == 2 ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
3.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest", "pytest-astropy" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", ...
asdf==2.8.3 -e git+https://github.com/astropy/astropy.git@69b4bf9d2b88c7b370f4c69727a0c925517301be#egg=astropy attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work backcall==0.2.0 beautifulsoup4==4.12.3 bintrees==2.2.0 bleach==4.1.0 Bottleneck==1.4.0 cached-property==1.5.2 certifi==2021.5.30 coverage==6.2 cycle...
name: astropy channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=21.4.0=pyhd3eb1b0_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - importlib...
[ "astropy/io/fits/tests/test_header.py::TestHeaderFunctions::test_fromfile" ]
[ "astropy/units/tests/test_quantity.py::test_arrays" ]
[ "astropy/io/fits/tests/test_header.py::test_shallow_copy", "astropy/io/fits/tests/test_header.py::test_init_with_header", "astropy/io/fits/tests/test_header.py::test_init_with_dict", "astropy/io/fits/tests/test_header.py::test_init_with_ordereddict", "astropy/io/fits/tests/test_header.py::TestHeaderFunction...
[]
BSD 3-Clause "New" or "Revised" License
asottile__covdefaults-57
b33cb96b0b06669148e156af0a4c0c343a97b859
2021-11-28T04:46:08
b33cb96b0b06669148e156af0a4c0c343a97b859
"diff --git a/README.md b/README.md\nindex 281cd5a..4b25ec2 100644\n--- a/README.md\n+++ b/README.md(...TRUNCATED)
"version specific coverage pragmas\nmight be a fun little regex game, but it would be nice to suppor(...TRUNCATED)
asottile/covdefaults
"diff --git a/tests/covdefaults_test.py b/tests/covdefaults_test.py\nindex 05388c1..20fbb44 100644\n(...TRUNCATED)
{"commit_name":"head_commit","failed_lite_validators":["has_short_problem_statement","has_many_modif(...TRUNCATED)
2.0
{"env_vars":null,"env_yml_path":null,"install":"pip install -e .[dev]","log_parser":"parse_log_pytes(...TRUNCATED)
"-e git+https://github.com/asottile/covdefaults.git@b33cb96b0b06669148e156af0a4c0c343a97b859#egg=cov(...TRUNCATED)
"name: covdefaults\nchannels:\n - defaults\n - https://repo.anaconda.com/pkgs/main\n - https://re(...TRUNCATED)
["tests/covdefaults_test.py::test_version_pragmas_py37[#","tests/covdefaults_test.py::test_version_p(...TRUNCATED)
[ "tests/covdefaults_test.py::test_coverage_init" ]
["tests/covdefaults_test.py::test_plat_impl_pragmas","tests/covdefaults_test.py::test_constant_optio(...TRUNCATED)
[]
MIT License
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
6