Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gijzelaerr/0ac8d86455868b2529e41f902bc8b85d to your computer and use it in GitHub Desktop.
Save gijzelaerr/0ac8d86455868b2529e41f902bc8b85d to your computer and use it in GitHub Desktop.
λ venv/bin/pip install radio-pyse
Collecting radio-pyse
Downloading radio-pyse-0.2.2.tar.gz (71 kB)
|████████████████████████████████| 71 kB 201 kB/s
Collecting astropy
Using cached astropy-4.0.1.post1-cp38-cp38-manylinux1_x86_64.whl (6.5 MB)
Collecting numpy
Using cached numpy-1.19.0-cp38-cp38-manylinux2010_x86_64.whl (14.6 MB)
Collecting python-casacore
Downloading python_casacore-3.3.1-cp38-cp38-manylinux2010_x86_64.whl (25.7 MB)
|████████████████████████████████| 25.7 MB 12.9 MB/s
Collecting python-dateutil
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pytz
Using cached pytz-2020.1-py2.py3-none-any.whl (510 kB)
Collecting scipy
Downloading scipy-1.5.1-cp38-cp38-manylinux1_x86_64.whl (25.8 MB)
|████████████████████████████████| 25.8 MB 13.8 MB/s
Requirement already satisfied: six in ./venv/lib/python3.8/site-packages (from radio-pyse) (1.15.0)
Processing /home/gijs/.cache/pip/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4/future-0.18.2-py3-
none-any.whl
Collecting argparse
Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB)
Building wheels for collected packages: radio-pyse
Building wheel for radio-pyse (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/gijs/Work/tmp/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-
install-da0fsavw/radio-pyse/setup.py'"'"'; __file__='"'"'/tmp/pip-install-da0fsavw/radio-pyse/setup.py'"'"';f=getattr(
tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(c
ode, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-p1m5sz63
cwd: /tmp/pip-install-da0fsavw/radio-pyse/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for radio-pyse
Running setup.py clean for radio-pyse
Failed to build radio-pyse
Installing collected packages: numpy, astropy, future, argparse, python-casacore, python-dateutil, pytz, scipy, radio-
pyse
Running setup.py install for radio-pyse ... done
Successfully installed argparse-1.4.0 astropy-4.0.1.post1 future-0.18.2 numpy-1.19.0 python-casacore-3.3.1 python-date
util-2.8.1 pytz-2020.1 radio-pyse-0.2.2 scipy-1.5.1
gijs@gijs-artica:~/Work/tmp
λ venv/bin/pys
zsh: no such file or directory: venv/bin/pys
gijs@gijs-artica:~/Work/tmp
λ venv/bin/pyse
usage: pyse [-h] [--detection DETECTION] [--analysis ANALYSIS] [--fdr] [--alpha ALPHA]
[--deblend-thresholds DEBLEND_THRESHOLDS] [--grid GRID] [--margin MARGIN] [--radius RADIUS]
[--bmaj BMAJ] [--bmin BMIN] [--bpa BPA] [--force-beam] [--detection-image DETECTION_IMAGE]
[--fixed-posns FIXED_POSNS] [--fixed-posns-file FIXED_POSNS_FILE] [--ffbox FFBOX] [--skymodel] [--csv]
[--regions] [--rmsmap] [--sigmap] [--residuals] [--islands]
files [files ...]
pyse: error: the following arguments are required: files
gijs@gijs-artica:~/Work/tmp
λ venv/bin/pyse /scratch/datasets/astro_deconv_2019/train/0-dirty.fits
Processing /scratch/datasets/astro_deconv_2019/train/0-dirty.fits (file 1 of 1).
WARNING:sourcefinder.accessors.fitsimage:End time not specified in /scratch/datasets/astro_deconv_2019/train/0-dirty.fits, setting to start
Thresholding with det = 10.000000 sigma, analysis = 3.000000 sigma
%
gijs@gijs-artica:~/Work/tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment