Skip to content

Instantly share code, notes, and snippets.

View bsipocz's full-sized avatar

Brigitta Sipőcz bsipocz

View GitHub Profile
@bsipocz
bsipocz / gist:5518a418de782f2ea208af321e86de4d
Created November 2, 2021 21:43
astroquery.simbad remote failures 20211102
$ pt -P simbad -R
/Users/bsipocz/.pyenv/versions/3.9.1/lib/python3.9/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
warnings.warn(
Freezing version number to ./astroquery/version.py
running test
INFO: installing to temporary directory: /private/var/folders/dc/hsm7tqpx2d57n7vb3k1l81xw0000gq/T/astroquery-test-hzkpzids [astropy.tests.command]
no previously-included directories found matching 'build'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/api'
no previously-included directories found matching 'astropy_helpers/build'
@bsipocz
bsipocz / gist:9e38731afb2da1d8233a737976037418
Created September 29, 2021 18:22
vo_conesearch remote test failures 2021-09-29
pt -P vo_conesearch -R
/Users/bsipocz/.pyenv/versions/3.9.1/lib/python3.9/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
warnings.warn(
Freezing version number to ./astroquery/version.py
running test
INFO: installing to temporary directory: /private/var/folders/dc/hsm7tqpx2d57n7vb3k1l81xw0000gq/T/astroquery-test-1n7kjymp [astropy.tests.command]
no previously-included directories found matching 'build'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/api'
no previously-included directories found matching 'astropy_helpers/build'
@bsipocz
bsipocz / appending_table_to_hdu.py
Created May 31, 2018 11:42
Standalone example to add new extension fits
from astropy.io import fits
from astropy.table import Table, Column
# Generating dummy file
import numpy as np
data = np.array(list(zip([1, 2, 3, 4],
['a', 'b', 'c', 'd'],
[2.3, 4.5, 6.7, 8.9])),
dtype=[('a', int), ('b', 'S1'), ('c', float)])
tegla3:~/bsipocz/devel/astropy$ python2.7 setup.py develop
Freezing version number to astropy/version.py
Traceback (most recent call last):
File "setup.py", line 108, in <module>
**package_info
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/Users/kgabor/Library/Python/2.7/lib/python/site-packages/distribute-0.6.24-py2.7.egg/setuptools/dist.py", line 225, in __init__
_Distribution.__init__(self,attrs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 287, in __init__
@bsipocz
bsipocz / gist:f4951ae7d5060611967db312ed1745d3
Created August 10, 2016 12:30
20160810_astroquery_remote_data_failures
============================= test session starts ==============================
platform darwin -- Python 3.4.5, pytest-2.8.3, py-1.4.30, pluggy-0.3.1
Running tests with astroquery version 0.3.3.dev3339.
Running tests in lib.macosx-10.10-x86_64-3.4/astroquery docs.
Date: 2016-08-10T13:06:06
Platform: Darwin-14.5.0-x86_64-i386-64bit
@bsipocz
bsipocz / 1.2rc1_ubuntu_py3
Last active June 12, 2016 14:55
1.2rc1 testing with Ubuntu 14.04 python 3.4.3 issues #5076 #5078
=========================================================================================================== test session starts ============================================================================================================
platform linux -- Python 3.4.3, pytest-2.8.3, py-1.4.30, pluggy-0.3.1
Running tests with Astropy version 1.2rc1.
Running tests in /home/gkovacs/.local/lib/python3.4/site-packages/astropy.
Date: 2016-06-12T15:28:54
Platform: Linux-3.16.0-71-generic-x86_64-with-Ubuntu-14.04-trusty
@bsipocz
bsipocz / gist:50d5545f43f5be193ff5
Created December 11, 2015 19:57
py.test scikit-image
(astropy-dev)bsipocz@tegla2:~/munka/devel/scikit-image$ py.test
================================================== test session starts ==================================================
platform darwin -- Python 2.7.10, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
rootdir: /Users/bsipocz/munka/devel/scikit-image, inifile:
plugins: cov-2.1.0, html-1.6, mpl-0.3, selenium-1.0b1, variables-1.2
collected 1319 items / 3 skipped
skimage/_shared/tests/test_interpolation.py F
skimage/_shared/tests/test_safe_as_int.py ..
skimage/_shared/tests/test_testing.py .F.
@bsipocz
bsipocz / gist:0f37ec40b7c929044fee
Created November 25, 2015 15:36
PR4349 python3.4
(astropy-dev)bsipocz@tegla2:~/munka/devel/astropy$ python3 -c 'import astropy; astropy.test(remote_data=True); astropy.test(remote_data=True)'
============================= test session starts ==============================
platform darwin -- Python 3.4.3, pytest-2.8.3, py-1.4.30, pluggy-0.3.1
Running tests with Astropy version 1.1.dev14144.
Running tests in astropy.
Date: 2015-11-25T14:56:51
Platform: Darwin-14.5.0-x86_64-i386-64bit
@bsipocz
bsipocz / gist:95012b38032a31392f45
Created November 24, 2015 23:25
1.1rc1 python2.7 numpy 1.10 Yosemite remote_data
============================= test session starts ==============================
platform darwin -- Python 2.7.10 -- py-1.4.30 -- pytest-2.7.3
rootdir: /Users/bsipocz/.local/lib/python2.7/site-packages/astropy, inifile:
plugins: cov, html, mpl, selenium, selenium, variables
Running tests with Astropy version 1.1rc1.
Running tests in /Users/bsipocz/.local/lib/python2.7/site-packages/astropy.
Date: 2015-11-24T22:50:12
============================= test session starts ==============================
platform darwin -- Python 3.4.3 -- py-1.4.30 -- pytest-2.7.3
rootdir: /Users/bsipocz/.local/lib/python3.4/site-packages/astropy, inifile:
Running tests with Astropy version 1.1rc1.
Running tests in /Users/bsipocz/.local/lib/python3.4/site-packages/astropy.
Date: 2015-11-24T22:49:06
Platform: Darwin-14.5.0-x86_64-i386-64bit