Skip to content

Commit

Permalink
Remove unwanted imports in an sdssrefcat config file
Browse files Browse the repository at this point in the history
tests/data/sdssrefcat/config/IngestIndexedReferenceTask.py
was stuffed with unwanted imports, including at least one
private astropy file. I removed all of the unneeded imports.
  • Loading branch information
r-owen committed Jul 22, 2016
1 parent 5f26a28 commit 3831f94
Showing 1 changed file with 1 addition and 96 deletions.
97 changes: 1 addition & 96 deletions tests/data/sdssrefcat/config/IngestIndexedReferenceTask.py
Original file line number Diff line number Diff line change
@@ -1,101 +1,6 @@
import lsst.meas.algorithms.ingestIndexReferenceTask
assert type(config)==lsst.meas.algorithms.ingestIndexReferenceTask.IngestIndexedReferenceConfig, 'config is of type %s.%s instead of lsst.meas.algorithms.ingestIndexReferenceTask.IngestIndexedReferenceConfig' % (type(config).__module__, type(config).__name__)
import astropy.utils.xml.validate
import astropy._erfa.core
import astropy.io.fits.card
import astropy.table
import astropy.io.fits.py3compat
import astropy.io.fits.column
import astropy.io.votable.table
import astropy.table.np_utils
import astropy.io.fits.hdu.compressed
import astropy.io.fits.diff
import astropy.time.formats
import astropy.io.fits
import astropy.io.ascii.misc
import astropy.io.votable.exceptions
import astropy.io.ascii.connect
import astropy.io.fits.hdu.groups
import astropy.table.table
import numpy.lib.recfunctions
import astropy.utils.compat.numpy.lib
import astropy.time.utils
import astropy.io.ascii.core
import astropy.time.core
import astropy.io.fits.verify
import astropy.io.ascii.basic
import astropy.io.fits._numpy_hacks
import astropy.io.ascii.daophot
import astropy.io.ascii.ecsv
import astropy.io.ascii.fixedwidth
import astropy.utils.xml.writer
import astropy.io.ascii.html
import astropy.io.ascii.ui
import astropy.table.operations
import astropy.utils.xml._iterparser
import astropy.io.fits.file
import astropy.utils.compat.gzip
import astropy.io.misc.pickle_helpers
import astropy.io.votable
import astropy.io.fits.header
import astropy.table.info
import astropy.io.fits.hdu.streaming
import astropy.io.misc.hdf5
import astropy.io.fits.hdu.hdulist
import astropy.io.votable.converters
import astropy.utils.collections
import lsst.meas.algorithms.readFitsCatalogTask
import astropy.table.meta
import astropy._erfa
import astropy.time.erfa_time
import astropy.io.fits.compression
import astropy.io.votable.connect
import astropy.io.votable.ucd
import astropy.io.misc
import astropy.io.fits.fitsrec
import astropy.utils.data
import astropy.io.fits.connect
import astropy.io.misc.connect
import astropy.io.fits.hdu.base
import astropy.table.pprint
import astropy.table.row
import astropy.io.fits.hdu.nonstandard
import astropy.utils.compat.numpy.lib.stride_tricks
import astropy.io.votable.tablewriter
import astropy.io.ascii.ipac
import astropy.utils.xml
import astropy.utils.xml.iterparser
import astropy.io.ascii.latex
import astropy.io.registry
import astropy.io.ascii
import astropy.io
import astropy.io.ascii.cparser
import astropy.table._np_utils
import astropy.io.fits.util
import backports_abc
import astropy.table.column
import astropy.table._column_mixins
import astropy.utils.compat.numpy
import astropy.io.fits.hdu.table
import astropy.table.sorted_array
import astropy.utils.xml.check
import astropy.io.fits.convenience
import astropy.io.ascii.cds
import astropy.io.ascii.fastbasic
import numpy.ma.mrecords
import astropy.table.groups
import astropy.time
import astropy.io.fits.hdu
import astropy.io.fits.hdu.image
import astropy.utils.metadata
import astropy._erfa._core
import astropy.io.ascii.sextractor
import astropy.table.index
import astropy.io.votable.tree
import astropy.io.votable.xmlutil
import astropy.io.votable.util
import astropy.table.jsviewer
import astropy.table.bst

# Name of column stating if satisfactory for photometric calibration (optional).
config.is_photometric_name='photometric'

Expand Down

0 comments on commit 3831f94

Please sign in to comment.