astropy-astropy-6938

SWE-bench instance: astropy__astropy-6938

https://github.com/codesetuptest/astropy-astropy-6938

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.3%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

SWE-bench instance: astropy__astropy-6938

Basic Info
  • Host: GitHub
  • Owner: CodeSetupTest
  • License: bsd-3-clause
  • Language: C
  • Default Branch: main
  • Size: 0 Bytes
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created 8 months ago · Last pushed 8 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md

SWE-bench Instance: astropy__astropy-6938

Repository: astropy/astropy Base Commit: c76af9ed6bb89bfba45b9f5bc1e635188278e2fa

Problem Statement

Possible bug in io.fits related to D exponents I came across the following code in fitsrec.py:

python # Replace exponent separator in floating point numbers if 'D' in format: output_field.replace(encode_ascii('E'), encode_ascii('D'))

I think this may be incorrect because as far as I can tell replace is not an in-place operation for chararray (it returns a copy). Commenting out this code doesn't cause any tests to fail so I think this code isn't being tested anyway.

Repository Contents

This repository contains the actual source code from the original repository at commit c76af9ed6bb89bfba45b9f5bc1e635188278e2fa. The code is ready for development and testing.

Docker Environment

A Dockerfile is provided to set up the proper environment for this instance:

bash docker build -t swebench-instance . docker run -it swebench-instance /bin/bash

Owner

  • Name: CodeSetupTest
  • Login: CodeSetupTest
  • Kind: organization

Citation (CITATION)

If you use Astropy for work/research presented in a publication (whether
directly, or as a dependency to another package), we recommend and encourage 
the following acknowledgment:

  This research made use of Astropy, a community-developed core Python package
  for Astronomy (Astropy Collaboration, 2013).

where (Astropy Collaboration, 2013) is a citation to this paper:

  http://adsabs.harvard.edu/abs/2013A%26A...558A..33A

We encourage you to also include citations to this paper in the main text
wherever appropriate.

A BibTeX entry for LaTeX users is

@ARTICLE{2013A&A...558A..33A,
   author = {{Astropy Collaboration} and {Robitaille}, T.~P. and {Tollerud}, E.~J. and 
    {Greenfield}, P. and {Droettboom}, M. and {Bray}, E. and {Aldcroft}, T. and 
    {Davis}, M. and {Ginsburg}, A. and {Price-Whelan}, A.~M. and 
    {Kerzendorf}, W.~E. and {Conley}, A. and {Crighton}, N. and 
    {Barbary}, K. and {Muna}, D. and {Ferguson}, H. and {Grollier}, F. and 
    {Parikh}, M.~M. and {Nair}, P.~H. and {Unther}, H.~M. and {Deil}, C. and 
    {Woillez}, J. and {Conseil}, S. and {Kramer}, R. and {Turner}, J.~E.~H. and 
    {Singer}, L. and {Fox}, R. and {Weaver}, B.~A. and {Zabalza}, V. and 
    {Edwards}, Z.~I. and {Azalee Bostroem}, K. and {Burke}, D.~J. and 
    {Casey}, A.~R. and {Crawford}, S.~M. and {Dencheva}, N. and 
    {Ely}, J. and {Jenness}, T. and {Labrie}, K. and {Lian Lim}, P. and 
    {Pierfederici}, F. and {Pontzen}, A. and {Ptak}, A. and {Refsdal}, B. and 
    {Servillat}, M. and {Streicher}, O.},
    title = "{Astropy: A community Python package for astronomy}",
  journal = {\aap},
 keywords = {methods: data analysis, methods: miscellaneous, virtual observatory tools},
     year = 2013,
    month = oct,
   volume = 558,
      eid = {A33},
    pages = {A33},
      doi = {10.1051/0004-6361/201322068},
   adsurl = {http://adsabs.harvard.edu/abs/2013A%26A...558A..33A},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

GitHub Events

Total
  • Push event: 1
  • Create event: 1
Last Year
  • Push event: 1
  • Create event: 1

Dependencies

Dockerfile docker
  • sweb.env.py.x86_64.c70974ae7654c7a2c98577 latest build
astropy/wcs/tests/extension/setup.py pypi
setup.py pypi
  • min_numpy_version *