Changelog
2019-05-12 Jan Snigula <snigula@mpe.mpg.de>
* doc/source/drivers.rst: Added documentation
* doc/source/recipes.rst: Added documentation
* setup.py: Bumped version to 1.0.0
2019-04-25 Jan Snigula <snigula@mpe.mpg.de>
* .readthedocs.yml: Added config file for readthedocs
2019-01-21 Jan Snigula <snigula@mpe.mpg.de>
* tests/*: Updated tests for new fft test
* libvhc/recipes.py: Added fft as default for bias frames
* libvhc/drivers.py: Added fft test
* setup.py: Bumped version to 0.8.3
2018-09-24 Jan Snigula <snigula@mpe.mpg.de>
* setup.py: Bumped version to 0.8.2
* libvhc/recipes.py: Removed line_overscan check from the list
of default checks
2018-09-10 Jan Snigula <snigula@mpe.mpg.de>
* setup.py: Bumped version to 0.8.1-post
2018-09-10 Jan Snigula <snigula@mpe.mpg.de>
* setup.py: Bumped version to 0.8.1
2018-09-10 Jan Snigula <snigula@mpe.mpg.de>
* libvhc/recipes.py: Added line based overscan test as common
test, added line based bias test to bias recipe
* libvhc/drivers.py: Minor bugfix for line overscan test
2018-08-24 Jan Snigula <snigula@mpe.mpg.de>
* setup.py: Bumped version to 0.8.0-post
2018-08-24 Jan Snigula <snigula@mpe.mpg.de>
* setup.py: Bumped version to 0.8.0
2018-08-24 Jan Snigula <snigula@mpe.mpg.de>
* libvhc/drivers.py: Added new line based stddev test
* tests/*: Updated corresponding tests
* setup.py: Added new drivers
2018-08-08 Jan Snigula <snigula@mpe.mpg.de>
* setup.py: Bumped version to 0.7.2-post
2018-08-08 Jan Snigula <snigula@mpe.mpg.de>
* setup.py: Bumped version to 0.7.2
2018-08-08 Jan Snigula <snigula@mpe.mpg.de>
* tests/*: Added corresponding tests
* setup.py: Same
* libvhc/recipes.py: Added recipe for engineering data *eng files.
2018-07-04 Jan Snigula <snigula@mpe.mpg.de>
* setup.py: Bumped version to 0.7.1-post
2018-07-04 Jan Snigula <snigula@mpe.mpg.de>
* setup.py: Bumped version to 0.7.1
2018-07-04 Jan Snigula <snigula@mpe.mpg.de>
* tests/* Updated test accordingly
* libvhc/drivers.py: Use new parameter in bias flatness check
2018-05-16 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/conf.py: intersphinx: get pyhetdex from readthedocs
2018-05-16 Francesco Montesano <montefra@mpe.mpg.de>
* ReleaseNotes.rst: converted to rst
* doc/source/release_notes.rst: and added to the docs
* doc/source/index.rst: add readthedocs link and badge
* readthedocs.yml: removed (it seems that is no respected if something is
set from the admin interface)
* requirements_rtd.txt: udpate
2018-05-16 Francesco Montesano <montefra@mpe.mpg.de>
* requirements_rtd.txt: fix bug and renamed
* readthedocs.yml: update the requirements file name
2018-05-16 Francesco Montesano <montefra@mpe.mpg.de>
* readthedocs.yml: it seems that the trick is to use setup.py install with
a requirements file
* requirements_doc.txt: list only packages in extra index and needed by the
docs
2018-05-16 Francesco Montesano <montefra@mpe.mpg.de>
* readthedocs.yml: remove
2018-05-16 Francesco Montesano <montefra@mpe.mpg.de>
* requirements_doc.txt: add the extra url and the doc dependences
* readthedocs.yml: use the above file only
2018-05-16 Francesco Montesano <montefra@mpe.mpg.de>
* readthedocs.yml: added in preparation for moving to readthedocs
* requirements_url.txt: same
2018-05-08 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/index.rst: move the copyright notice
2018-05-08 Francesco Montesano <montefra@mpe.mpg.de>
* LICENSE_fdl1.3: added
* LICENSE_gpl3: added
* doc/source/index.rst: add copyright notice
* doc/source/license.rst: add licenses
* libvhc/**.py: add copyright notice
2018-04-21 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: bump to version 0.7.0-post
2018-04-21 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: prepare version 0.7.0
* ReleaseNotes.md: same
2018-04-21 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/vhc.py: make the vhc signature clearer
* doc/source/cmdline.rst: update the documentation accordingly and update
the drivers table
* libvhc/config.py: bump the minimum configuration version
* libvhc/drivers.py: update the docs
* libvhc/reference_file_parser.py: same
* libvhc/recipes.py: sky_bkg driver is now sky_level
* setup.py: fix typo
* tests/test_vhcmain.py: there are no more "not implemented" errors for
hetdex_dithers drivers
>>>>>>> .r302
2018-04-20 Jan Snigula <snigula@mpe.mpg.de>
* tests/conftest.py: Added science_files fixture
* tests/test_drivers.py: Appended tests for new checks
* tests/test_loaders.py: Same
* tests/test_vhcmain.py: Same
* setup.py: Added driver entry points for skylevel checks, push it
to -post
* libvhc/reference_file_parser.py: Added parser for skylevel check
* libvhc/recipes.py: Added sky level check to hetdex_dithers
* libvhc/drivers.py: Added drivers for skylevel check
2018-04-18 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: prepare version to 0.6.0
* ReleaseNotes.md: same
2018-04-17 Jan Snigula <snigula@mpe.mpg.de>
* tests/conftest.py: Added set_debug_log_level fixture
* tests/test_drivers.py: Appended tests for new checks
* tests/test_loaders.py: Same
* tests/test_vhcmain.py: Same
* tox.ini: Pass $HOME along (needed by astropy)
* setup.py: Added driver entry points for CTE checks
* libvhc/reference_file_parser.py: Added parser for yoda cte check
* libvhc/recipes.py: Added CTE check to hetdex_dithers and flat
* libvhc/drivers.py: Added drivers for CTE checks
2018-03-26 Jan Snigula <snigula@mpe.mpg.de>
* ReleaseNotes.md: Updated
2018-03-15 Jan Snigula <snigula@mpe.mpg.de>
* libvhc/config.py: Updated SVN_REVISION
2018-03-07 Jan Snigula <snigula@mpe.mpg.de>
* libvhc/config.py: Updated SVN_REVISION
* libvhc/drivers.py: Updates for changes to n_peaks check
2018-02-28 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/loggers.py: fix docs and replace filter with filter_, since the
former is a builtin function
* tests/test_loggers.py: test some of the branches and make sure that json
files are created only when the option is requested
* doc/source/cmdline.rst: add information about the json file
2018-02-28 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/vhc_json
2018-02-28 Jan Snigula <snigula@mpe.mpg.de>
* tests/conftest.py: Relaxed stddev dev parameter to get tests
working again
* tests/data/*fits: New working images
2018-02-28 Jan Snigula <snigula@mpe.mpg.de>
* libvhc/drivers.py: Add JSON output to n_files and n_dithers check
* libvhc/vhc.py: Make code nicer
* libvhc/loggers.py: Make code nicer
* tests/test_drivers.py: Updated to work with json output
* tests/test_factories.py: Updated to work with json output
* tests/conftest.py: Started modifying parameters to fix tests
2018-02-26 Jan Snigula <snigula@mpe.mpg.de>
* tests/test_loggers.py: Test json logger
* tests/test_factories.py: Update for loggers
* tests/test_drivers.py: Test write_json key
* tests/conftest.py: Added tests for write_json key
* libvhc/vhc.py: Added json file to filename rotator
* libvhc/loggers.py: Added json file handler, and filter and formatters
for it
* libvhc/factories.py: Added json flags
* libvhc/drivers.py: Added json flags
2018-02-21 Francesco Montesano <montefra@mpe.mpg.de>
* tests/test_drivers.py: prepare test for #2377 and make sure that the
changes in cure:r1419 don't break anything. Resolves #2353
2018-02-21 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: saturation is a common driver (first part of issue
#2353)
* libvhc/recipes.py: same
* libvhc/__init__.py: same
* doc/source/cmdline.rst: same
2018-02-14 Francesco Montesano <montefra@mpe.mpg.de>
* ReleaseNotes.md: I forgot to update the release notes
2018-02-14 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/repeat_driver/ into ^/trunk
2018-02-13 Francesco Montesano <montefra@mpe.mpg.de>
* tests/test_drivers.py: add expected header keyword in tests to minimize
chances of copy/paste errors
2018-02-13 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: implement the common:repeat driver (resolves issue
#2343)
* libvhc/recipes.py: add it to the list of default recipes
* setup.py: add it to the list of entry points
* tests/test_drivers.py: test it
* tests/test_loaders.py: same
* doc/source/cmdline.rst: add it to the list of drivers
2018-02-12 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: add information about BIASTRGT header keyword. Resolves
issue #2329
2018-01-31 Francesco Montesano <montefra@mpe.mpg.de>
* tests/conftest.py: make sure that comments in the middle of the reference
files are correctly handled
2018-01-29 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/dither_with_shift into ^/trunk
2018-01-29 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/dither_with_shift
2018-01-29 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/config.py: bump the minimum configuration file revision needed.
* libvhc/recipes.py: make hetdex_dithers:n_dithers a default driver
* doc/source/cmdline.rst: update the docs accordingly
2018-01-29 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: use option to distinguish between dithering with
hardware or offsetting the shot. Resolves issue #2293
* tests/conftest.py: update the fixtures to make the tests succeed
* tests/test_drivers.py: test the changes
2018-01-29 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/revision_number_in_header/ into ^/trunk
2018-01-29 Francesco Montesano <montefra@mpe.mpg.de>
* ReleaseNotes.md: update
2018-01-28 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/config.py: bump minimum configuration file revision number
* libvhc/utils.py: add function to return an extended extra_value. Resolves
issue #2309
* tests/test_utils.py: test the function
* libvhc/drivers.py: use this function
* tests/test_drivers.py: test the above changhes
* tests/test_factories.py: same
* libvhc/factories.py: same
* tests/conftest.py: update fixture
* doc/source/cmdline.rst: add some info about the new feature
* doc/source/codedoc/utils.rst: add the new function
2018-01-26 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/config.py: get the svn information from the config file. First part
of issue #2309
* libvhc/vhc.py: use the new function
* tests/test_config.py: test the changes
2018-01-26 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/overscan_duplicate into ^/trunk
2018-01-25 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: add links to the driver definitions
* libvhc/drivers.py: add information about the reference files (in
particular for the overscan: Issue #2321)
* libvhc/reference_file_parser.py: add info about the origin of the
reference file names
2018-01-25 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: use the bias reference file if the unit is not in the
overscan file. Implementation of #2321
* libvhc/reference_file_parser.py: fix documentation
* tests/conftest.py: update the tests reflecting the new defaults
* tests/test_drivers.py: test the changes
* tests/test_reference_file_parser.py: make sure that all is still ok
2018-01-18 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: add info about the new VHCVERS keyword. Resolves
issue #2038
* doc/source/custom_drivers.rst: same
* libvhc/factories.py: same
2018-01-12 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/factories.py: add extra header keywords to all the other drivers.
Resolves #2284
* tests/test_drivers.py: extend tests to make sure that all works
2018-01-12 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: define the extra header keyword and its value. First part
of issue #2284
* doc/source/codedoc/utils.rst: add new variables
* libvhc/drivers.py: add the extra header keyword in n_files and n_dithers;
fix bug in n_dithers. Second part of issue #2284.
* tests/test_drivers.py: test the changes
2017-12-13 Francesco Montesano <montefra@mpe.mpg.de>
* tox.ini: use pytest>3.3 and remove pytest-catchlog. Resolves #2258
* setup.py: same
* doc/source/install.rst: update accordingly
* doc/Makefile: open the browser
* doc/source/contributions.rst: update accordingly
2017-08-16 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: bump version to 0.5.0-post
2017-08-16 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: require pyhetdex>=0.12, update version
* ReleaseNotes.md: update accordingly
* tox.ini: don't use devel version of pyhetdex
2017-08-16 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/new_configparser_1982 into ^/trunk
2017-06-27 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/vhc.py: make vcheck parameter mandatory
* tox.ini: raise the coverage threshold
2017-06-27 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/vhc.py: use the file rotator in pyhetdex. Resolves issue #2035
* libvhc/utils.py: remove the file rotator
* tests/test_utils.py: update accordingly
* doc/source/codedoc/utils.rst: update accordingly
2017-06-21 Francesco Montesano <montefra@mpe.mpg.de>
* tests/test_drivers.py: import the __future__ to have unicode (solves issue
#1987)
* tests/test_factories.py: same
* tests/test_reference_file_parser.py: same
* tests/test_utils.py: same
* tests/test_vhcmain.py: same
* ReleaseNotes: update
2017-06-21 Francesco Montesano <montefra@mpe.mpg.de>
* tests/conftest.py: add configuration entry for the svn section
* tests/test_drivers.py: use it to avoid warnings
* tests/test_factories.py: same
2017-06-21 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: use configparser package in python 2. Resolves issue #1982
* libvhc/config.py: use configparser instead of six.moves
* libvhc/drivers.py: same
* libvhc/html/fplane.py: same
* libvhc/vhc.py: same
* tests/test_config.py: import future
* tox.ini: use devel pyhetdex
2017-06-19 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/codedoc/utils.rst: fix docs
* libvhc/html/queue.py: same
* tox.ini: use released pyhetdex
2017-05-23 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: bump version to 0.4-post
2017-05-23 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: prepare for 0.4 release
* ReleaseNotes.md: same
2017-05-23 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: resolves issue #1578 (remove deprecated functions)
* tests/test_utils.py: update tests
* ReleaseNotes.md: update
2017-04-21 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/html_reorganize into ^/trunk
2017-04-21 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/html_reorganize
2017-04-21 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/templates/layout.html: add the driver tab
* libvhc/html/fplane.py: read the driver file and pass it to the renderer
* libvhc/html/communication.py: pass the driver file name to the fplane
renderer
* tests/test_html/conftest.py: update tests
* tests/test_html/test_communication.py: same
* tests/test_html/test_fplane.py: same
* tests/test_vhcmain.py: same
* doc/source/cmdline.rst: update documentation with new tabs
* ReleaseNotes.md: update
2017-04-21 Francesco Montesano <montefra@mpe.mpg.de>
* tests/test_html/test_communication.py: update tests
2017-04-21 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/templates/layout.html: move the configuration version to a new tab
* libvhc/html/templates/show_results.html: move the IFU drivers on top of
the visualization tab. Address issue #1901
2017-04-21 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/ref_parser/ into ^/trunk
2017-04-20 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/reference_file_parser.py: log errors in initializing reference file
parsers. Resolves issue #1900
* tests/test_reference_file_parser.py: test it
2017-04-20 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/reference_file_parser.py: expand '~' in reference file parsers.
Resolves issue #1899
2017-04-13 Jan Snigula <snigula@mpe.mpg.de>
* doc/source/cmdline.rst: Added documentation for n_dihters driver
2017-04-13 Jan Snigula <snigula@mpe.mpg.de>
* tests/test_drivers.py: Expanded test for n_dithers
* libvhc/drivers.py: Allow all exposures do be on the same dither
* tests/test_loaders.py: Updated numbers to accomodate new driver
2017-04-12 Jan Snigula <snigula@mpe.mpg.de>
* libvhc/drivers.py: Use astropy getheader instead of opening the file
* tests/test_drivers.py: Added test routine for n_dithers driver
* tests/conftest.py: Changed number of exposures for
hetdex_dithers to 3
2017-04-07 Jan Snigula <snigula@mpe.mpg.de>
* setup.py: Same
* libvhc/drivers.py: Added n_dithers driver
2017-04-05 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: bump version to 0.3-post
* svn:ignore: ignore build directory
2017-04-05 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: prepare for 0.3 release
* ReleaseNotes.md: same
2017-04-05 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/print_plugins into ^/trunk
2017-04-05 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/print_plugins
2017-04-05 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/drivers_conf into ^/trunk
2017-04-05 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/drivers_conf
2017-03-31 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: document the changes of issue #1881
* ReleaseNotes.md: updated
2017-03-31 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: add possibility to write the drivers to a file
* libvhc/vhc.py: add a driver file to the rotator and pass it to the
function to get the drivers. Implements issue #1881
* tests/test_drivers.py: update the tests
* tests/test_vhcmain.py: same
2017-03-31 Francesco Montesano <montefra@mpe.mpg.de>
* tests/data/201*/*/*/*/*.fits: converted to integer as they should be
2017-03-28 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: document changes in issue #1875
* doc/source/custom_drivers.rst: move driver signature here
2017-03-24 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: use configuration options to get custom list of drivers
* libvhc/vhc.py: pass the config object when getting the drivers
* tests/test_drivers.py: test the changes
* tests/conftest.py: adapt the mock configuration
* tests/test_vhcmain.py: adapt tests
2017-04-03 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/loaders.py: implements issue #1876 (print recipes plugin return
values)
* tests/test_loaders.py: test it
* doc/source/cmdline.rst: update docs
* ReleaseNotes.md: update
2017-04-03 Francesco Montesano <montefra@mpe.mpg.de>
* ReleaseNotes.md: update
2017-04-03 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/new_recipes into ^/trunk
2017-04-03 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/new_recipes
2017-03-31 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: update the documentation with the new recipes
* ReleaseNotes.md: update
2017-03-29 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/recipes.py: add dark recipe
* setup.py: plug it in
* libvhc/config.py: update minimum config version
* tests/test_loaders.py: update tests
* tests/test_recipes.py: same
2017-03-29 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/recipes.py: add twilight recipe
* setup.py: plug it in
* libvhc/config.py: update minimum config version
* tests/test_loaders.py: update tests
* tests/test_recipes.py: same
2017-04-03 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/vhccheck_key into ^/trunk
2017-04-03 Francesco Montesano <montefra@mpe.mpg.de>
* ReleaseNotes.md: update
2017-03-29 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: split n_files driver into functions, write also
VHCCHECK. Resolves issue #1879
* tests/test_drivers.py: update the tests accordingly
* libvhc/reference_file_parser.py: fix logging message
2017-03-28 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: add some info about VHCCHECK (Issue #1877)
2017-03-23 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/html into ^/trunk
2017-03-23 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/html
2017-03-23 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/communication.py: clear the queue and the listener when
getting out of the context
* libvhc/loggers.py: same
* libvhc/vhc.py: remove the explicit cleaning
* pytest.ini: fail on XPASS
* tests/test_html/test_communication.py: adapt tests
* tests/test_loggers.py: same
2017-03-22 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/vhc.py: move some pieces out of main into functions. Resolves issue
#1871
2017-03-21 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: add parent parser with version
* libvhc/loaders.py: use it
* libvhc/vhc.py: same
* doc/source/cmdline.rst: add it
* doc/source/codedoc/utils.rst: same
2017-03-21 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/configuration.rst: add info about the -c/--config option.
Resolves issue #1852
* doc/source/cmdline.rst: add info about the fplane file option and extend
the html options
* libvhc/html/templates/show_results.html: add line about the ignored ifus
2017-03-21 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/html
2017-03-14 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/templates/macros.html: align the IFUSLOT
* libvhc/html/templates/show_results.html: add information about the IDs
shown in the IFU widgets
2017-03-14 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/vhc.py: add functionality to copy the html file. Resolves issue
#1832
* libvhc/html/communication.py: add write_html interface
* libvhc/html/__init__.py: export it to the subpackage level
* libvhc/config.py: update the vhc_config revision to 35
* doc/source/cmdline.rst: improve the html documentation
* tests/test_vhcmain.py: test the new functionality
* tests/conftest.py: same
* tests/test_html/test_fplane.py: same
2017-03-21 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: fix docs of the deprecated get_value function
* tests/test_drivers.py: fix deprecated function calls
* tests/test_reference_file_parser.py: same
* tests/test_factories.py: make sure to close the log files
* tests/test_utils.py: do not test deprecated function
2017-03-20 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/fplane into ^/trunk
2017-03-20 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: require pyhetdex>0.10.0
2017-03-20 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/config.py: fix documentation
* libvhc/html/fplane.py: load the configuration and get the list of IFUs to
skip and to ignore
* libvhc/html/templates/style.css: set opacity for ignored IFUs
* tests/conftest.py: fixture to test the skipping of IFUs added
* tests/test_utils.py: use the fixture
* tests/test_html/conftest.py: add configuration fixture
* tests/test_html/test_fplane.py: test the skipping/ignoring of IFUs
* tests/test_html/test_communication.py: same
2017-03-17 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: add option to skip IFUs for the tests
* tests/test_utils.py: test it
* tox.ini: use pyhetdex devel version
2017-03-16 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/config.py: allow overriding configuration entries from the command
line. Resolves issue #1837
* libvhc/vhc.py: pass the command line arguments when loading the config
file
* tests/test_config.py: test it
* tox.ini: use pyhetdex dev version and don't use developer mode
2017-03-16 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/fplane
2017-03-15 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/factories.py: use the IFUSLOT to communicate with the hmtl module.
Resolves issue #1817
* libvhc/html/communication.py: update the documentation and variable names
accordingly
* libvhc/html/fplane.py: use the IFUSLOT as id
* tests/test_factories.py: fix tests
* tests/test_html/test_communication.py: same
* tests/test_html/test_fplane.py: same
2017-03-15 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: add newest drivers
* tests/test_drivers.py: add newest drivers tests
* tox.ini: fix failures in coverage
2017-03-15 Francesco Montesano <montefra@mpe.mpg.de>
* tests/data/20151025/virus0000*/exp03: remove unused test data
2017-03-15 Jan Snigula <snigula@mpe.mpg.de>
* tests/*: Fixed tests
* libvhc/recipes.py: Added new common drivers to defaults
* setup.py: Added bias:flat driver
* libvhc/drivers.py: Added bias flatness driver
2017-03-15 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: add dettemp
* setup.cfg: coverage ignore html/templates
* tests/conftest.py: clean_tmpdir yields the tmpdir
* tests/test_drivers.py: add dettemp to the tests
* tests/test_vhcmain.py: use clean_tmpdir fixture
2017-03-14 Jan Snigula <snigula@mpe.mpg.de>
* tests/*: Fixed tests
* libvhc/drivers.py: Simplified keyword and bitstat checks
* libvhc/config.py: Fixed typo
2017-03-14 Jan Snigula <snigula@mpe.mpg.de>
* setup.py: Same
* libvhc/drivers.py: Added drivers for header keyword, stuck pixel
and null pixel checks
* libvhc/reference_file_parser.py: Added parser for null pixel test
2017-03-13 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/html
2017-03-10 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/templates/macros.html: show only the IFUSLOT and the SPECID in
the IFU box
2017-03-10 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/fplane.py: trim spaces and new lines, collect log messages
more properly
* tests/test_html/test_fplane.py: tests
* libvhc/html/templates/layout.html: shave some space
* libvhc/html/templates/macros.html: same
2017-03-07 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/templates/macros.html: renamed from ifu_macro.html; add macro
to print lines with different colors depending of the log name
* libvhc/html/templates/layout.html: use the above macro to show the log and
the result entries. Resolves issue #1840
* libvhc/html/templates/show_results.html: rename macro file in import
* libvhc/html/fplane.py: open the log and result files
* tests/test_html/conftest.py: update tests
* tests/test_html/test_communication.py: same
* tests/test_html/test_fplane.py: same
2017-03-06 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/templates/show_results.html: isolate the part of the html that
shows the focal plane
* libvhc/html/templates/layout.html: add tabs and include the above file
* libvhc/html/templates/functions.js: enable the tabs
* libvhc/html/templates/style.css: customize tabs
* tests/test_html/test_communication.py: update tests
2017-03-06 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/templates/ifu_macro.html: Update the ID shown in the IFU
widget. Resolves issue #1839. Also show the IFU id and the slot id only if
they exists and are valid.
2017-03-06 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/templates/ifu_macro.html: fix IFUs tooltip message. Resolves
issue #1838
2017-03-06 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/templates/layout.html: add link to v_results.txt and logs.txt
files. Resolves issue #1831
* libvhc/html/fplane.py: pass the file names
* libvhc/html/communication.py: same
* libvhc/vhc.py: same
* tests/test_html/test_communication.py: update the tests accordingly
* tests/test_html/test_fplane.py: same
* tests/test_vhcmain.py: same
2017-03-13 Francesco Montesano <montefra@mpe.mpg.de>
* tests/conftest.py: fixture to clear tmpdir
* tests/test_drivers.py: use the fixture and clear other big temp directory
2017-02-28 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: saturation driver pass maximum number of saturated
pixels
* libvhc/reference_file_parser.py: saturation parser updated
* libvhc/recipes.py: move the flat:saturation driver into common:saturation
* setup.py: update the entry points
* libvhc/config.py: update the minimum configuration file version
* tests/conftest.py: update tests
* tests/test_reference_file_parser.py: same
2017-02-26 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: add the dettemp driver
* libvhc/reference_file_parser.py: add the reference file parser for the
dettemp driver and allow possibility to have '*' in the files
* libvhc/recipes.py: add the dettemp to the list of default drivers
* setup.py: add the new driver and reference file parser entry points
* tests/conftest.py: add fixture to test dettemp
* tests/data/20151025/virus*/exp*/virus/*.fits: add missing header keyword
* tests/test_drivers.py: test dettemp
* tests/test_loaders.py: same
* tests/test_recipes.py: same
* tests/test_reference_file_parser.py: same
* tests/test_vhcmain.py: same
* tox.ini: add py36
* libvhc/loggers.py: close log files
* tests/test_html/test_queue.py: fix deprecation warnings
2016-09-23 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: update documentation
* doc/source/_static/custom.css: added
* libvhc/recipes.py: adjust default drivers to current status
* tests/test_vhcmain.py: fix number of failurs
2016-09-19 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: write the VHCNFILE keyword if required
* tests/test_drivers.py: test it
* tests/test_factories.py: remove unnecessary import
2016-09-16 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: implement common:n_files drivers
* libvhc/config.py: update required svn revision
* libvhc/factories.py: update variable documentation
* tests/conftest.py: update cleanup_all and add the new configuration
variable needed
* tests/test_drivers.py: add tests of common:n_files
* tests/test_vhcmain.py: python3.5 warns when logging to file is initialized
but not used
* doc/source/cmdline.rst: update
* doc/source/codedoc/factories.rst: same
2016-09-15 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: bump version to 0.2.0-post
2016-08-18 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: bump version to 0.2
* ReleaseNotes.md: update accordingly
2016-08-18 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: add info about configuration file revision version
and shot sub directory check
* doc/source/install.rst: add update info
* libvhc/vhc.py: add epilogue with info about the svn version
* tests/test_vhcmain.py: add the check of the revision number in the
integration tests
2016-08-17 Francesco Montesano <montefra@mpe.mpg.de>
* ReleaseNotes.md: update
* libvhc/config.py: bump the minimum svn revision
* libvhc/exceptions.py: add exception
* libvhc/vhc.py: add check that the directory is a shot
* tests/test_vhcmain.py: test it
2016-08-17 Francesco Montesano <montefra@mpe.mpg.de>
* vhc: remove long deprecated executable
2016-08-17 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/map_ids_1574 into ^/trunk
2016-08-17 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/config.py: add minimum vhc_settings.cfg version and warn the user
if the version is not found or smaller
* tests/test_config.py: test it
* tests/test_vhcmain.py: add integration tests with the vhc_settings.cfg
file (with some patching) to make sure it's kept updated
* tests/conftest.py: update fixtures for it
* ReleaseNotes.md: update
2016-08-16 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: use the new way of getting IDs, channel and amplifier
(resolves #1574)
* ReleaseNotes.md: update
2016-08-16 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: add id conversion via fplane file; make warning work in
py2
* tests/test_utils.py: test the new functionalities
* libvhc/factories.py: use the new way of getting IDs
* tests/conftest.py: add new fixture to test the changes
* tests/test_drivers.py: use it
* tests/test_vhcmain.py: use it
* tests/test_factories.py: use it; update test for failing IDs
* doc/source/codedoc/utils.rst: update documentation
2016-08-12 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: deprecate the get_* functions and create functions to get
channel, amplifier and slotid from the file names
* tests/test_utils.py: test them
* doc/source/codedoc/utils.rst: update the documentation
* setup.py: use pytest=>2.8
* tox.ini: same
2016-08-11 Francesco Montesano <montefra@mpe.mpg.de>
* ReleaseNotes.md: update
* libvhc/html/fplane.py: add support for excess of tests (issue #1011)
* libvhc/html/templates/ifu_macro.html: update the message in the IFU popup
accordingly
* libvhc/html/templates/layout.html: update the legend accordingly
* libvhc/html/templates/style.css: update the styles accordingly
* tests/test_html/test_communication.py: update accordingly
* tests/test_html/test_fplane.py: same
2016-08-11 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/copy_config_version into ^/trunk
2016-08-10 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/fplane.py: add configuration file info attribute
* libvhc/html/templates/layout.html: if the above is given, add it to the
html file
* libvhc/html/__init__.py: expose get_queue
* libvhc/vhc.py: push the configuration file svn keywords to the fplane
* doc/source/cmdline.rst: add this to the documentation
* doc/source/configuration.rst: same
* tests/test_html/test_communication.py: test the above changes
* tests/test_html/test_fplane.py: test the above changes
* tests/test_html/test_queue.py: test the above changes
* tests/test_vhcmain.py: test the above changes
* tests/test_factories.py: add little sleep to avoid random failures
2016-08-10 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/vhc.py: propagate the configuration file svn keywords to the log
file
* tests/test_vhcmain.py: test it
* doc/source/cmdline.rst: document it
* doc/source/configuration.rst: same
2016-08-10 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/factories.py: remove @descr@ keyword argument (issue #953)
* ReleaseNotes.md: update
2016-08-10 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/loaders.py: remove deprecated reference file loading mechanism
(issue #1235)
* libvhc/reference_file_parser.py: same
* doc/source/extend.rst: same
* tests/data/vhc_extra/setup.py: same
* tests/test_loaders.py: same
* tests/test_html/test_queue.py: try to make test more robust
* ReleaseNotes.md: update
* setup.py: bump converage to >=4.2
* tox.ini: same; remove cov-init made superfluous by it
* setup.cfg: use concurrency option
2016-08-09 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: bump version to 0.1.0 and fix data file inclusion
2016-08-09 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: improve section name
* doc/source/contributions.rst: update
* doc/source/index.rst: add online documentation link
* doc/source/install.rst: update
* setup.py: remove mock dependency
* tests/conftest.py: remove unused custom command line options
2016-08-09 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/issue974 into ^/trunk
2016-08-09 Francesco Montesano <montefra@mpe.mpg.de>
* ReleaseNotes.md: updated
2016-07-28 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/collate_html_recaps.py: fix and update it
* libvhc/html/templates/recap_browser.html: fix javascript error
* tests/test_html/test_collate.py: test the collate_html_recaps module
* tox.ini: raise the coverage threshold to 97%
2016-07-27 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/__init__.py: add new functions to the interface
* libvhc/html/communication.py: add functions to return the queue and the
listener in a context and to clear them
* libvhc/vhc.py: use them
* tests/conftest.py: move here some fixture
* tests/test_drivers.py: use the html context to correctly close the queue
* tests/test_factories.py: same; check the html communication
* tests/test_html/conftest.py: added
* tests/test_html/test_communication.py: test the new functionalities
* tests/test_html/test_fplane.py: move fixture away
2016-07-26 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/fplane.py: add function to load the default template
* libvhc/html/communication.py: use it, other fixes and updates
* libvhc/html/templates/ifu_macro.html: use the ifuslot id in the template
* tests/test_html/test_communication.py: test the whole module
* tests/test_html/test_fplane.py: update tests
* setup.py: more info in comment
2016-07-26 Francesco Montesano <montefra@mpe.mpg.de>
* tests/test_html/test_fplane.py: update tests to the latest pyhetdex
* tests/test_html/test_queue.py: add a test
2016-07-26 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/queue.py: fix typo
* tests/test_drivers.py: adapt tests to the new html interface
* tests/test_factories.py: same
* tests/test_html/test_collate.py: added and empty
* tests/test_loggers.py: use the new logger_context
2016-07-25 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/issue974
2016-07-25 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/branches/retest_1535/ into ^/trunk
* ReleaseNotes.md: added
2016-07-25 Francesco Montesano <montefra@mpe.mpg.de>
* tests/data/20140101: removed
* tests/data/20151025/*081*: same
* tests/integration_tests.py: same
2016-07-25 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/_templates/version.html: added
* doc/source/conf.py: update copyright, remove python2 intersphinx
* doc/source/index.rst: add version
* doc/source/changelog.rst: literal include
* libvhc/__init__.py: fix bug with version
* libvhc/html/fplane.py: fix indentation
* setup.py: set version to 0.1.0-pre
* doc/source/codedoc/html_renderer.rst: fix documentation bug
* libvhc/html/__init__.py: explicitly import interface
* libvhc/html/communication.py: remove __all__
2016-07-23 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/loggers.py: add method to completely clear the loggers
* libvhc/vhc.py: clear the logger and the worker
* tests/conftest.py: move here the driver configuration dictionary
* tests/test_drivers.py: as above
* tests/test_loggers.py: test the logger clearing, make sure that all the
tests clear the logger
* tests/test_vhcmain.py: fully test the main, add some integration test
* tests/test_vhcmain_errors.py: renamed
2016-07-22 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: get rid of {curebin}
* tests/conftest.py: move here some fixture
* tests/data/lines_ref.dat: added
* tests/data/masterflat_ref.dist: added
* tests/test_drivers.py: test all the drivers
* tests/test_factories.py: move away some fixture and adapt others
* tests/test_loaders.py: same
* tests/test_reference_file_parser.py: same
* tests/test_utils.py: same
* tox.ini: pass the CUREBIN executable into the environments
2016-07-15 Francesco Montesano <montefra@mpe.mpg.de>
* tests/test_loggers.py: added
2016-07-12 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/reference_file_parser.py: make sure that the base class is a
metaclass; add some comment
* tests/conftest.py: add id fixtures
* tests/test_factories.py: use them
* tests/test_init.py: create a vcheck for testing attributes
* tests/test_reference_file_parser.py: added and test the corresponding
module to 100%
2016-07-08 Francesco Montesano <montefra@mpe.mpg.de>
* tests/test_config.py: forgot to update the tests after the CUREBIN changes
2016-07-08 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: update to pytest-catchlog
* tox.ini: same
* libvhc/vhc.py: push CUREBIN to the environment
* libvhc/config.py: remove curebin from the configuration
* libvhc/factories.py: update the documentatin
* libvhc/html/communication.py: make get_fplane a public function
* tests/conftest.py: add fplane cleanup fixture, move the vcheck fixture
here
* tests/test_factories.py: added and test libvhc/factories.py at 100%
* tests/test_init.py: remove vcheck fixture
* doc/source/configuration.rst: update documentation
* doc/source/custom_drivers.rst: same
2016-07-06 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: bump version
* libvhc/config.py: little changes
* tests/test_config.py: added
* tests/test_init.py: added
2016-07-05 Francesco Montesano <montefra@mpe.mpg.de>
* : merge ^/trunk into ^/branches/issue974
2016-06-06 Francesco Montesano <montefra@mpe.mpg.de>
* tests/test_html/test_communication.py: added but empty
2016-02-16 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/queue.py: allow to set properties via the queue
* libvhc/html/communication.py: adapt to use the queue for communication
* libvhc/html/fplane.py: move the template and rendering into the fplane
file
* libvhc/loggers.py: type in docstring fixed
* tests/test_html/test_fplane.py: test the fplane module
* tests/test_html/test_queue.py: test property setting via the queue
* doc/source/codedoc/html_renderer.rst: add documentation listening
2016-02-08 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/queue.py: implement queue and listener used by the html
interface
* libvhc/exceptions.py: add VHCQueue exceptions
* setup.py: fix pyhetdex version
* tests/test_html/test_queue.py: test the html queue
* doc/source/codedoc/collate_html_recaps.rst: fix typo
* doc/source/codedoc/html_renderer.rst: add the queue to the documentation
2016-02-04 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: remove queue
* tests/test_utils.py: remove
* libvhc/loggers.py: use QueueContext from pyhetdex
2016-02-02 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: add multiprocessing queue child with context manager
* libvhc/loggers.py: use it, create a context manager that uses and closes
the queue and the listener
* libvhc/vhc.py: use the above context manager
* tests/test_utils.py: test the multiprocessing queue
* tests/test_vhcmain_errors.py: clean all, just to be safe
2016-07-05 Francesco Montesano <montefra@mpe.mpg.de>
* pytest.ini: remove doctest
* tests/data/doctest: same
* tests/test_doctest.py: same
* tests/integration_tests.py: temporary save here all the integration tests
* tests/conftest.py: remove the integration tests
* tests/test_arcs.py: same
* tests/test_bias.py: same
* tests/test_flats.py: same
* tests/test_hooks_failures.py: same
* tox.ini: update
* setup.cfg: temporary disable branch coverage
2016-07-05 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: update to be like the ones in pyhetdex and vdat
* pytest.ini: added with pytest configuration
* .coveragerc: content moved to setup.cfg and removed
* setup.cfg: add coverage configuration, remove pytest ones
* doc/source/conf.py: use sphinx.ext.todo and give correct pyhetdex url
* libvhc/__init__.py: get version from the egg
* libvhc/html/fplane.py: adapt to the Fplane in pyhetdex>=0.8
* libvhc/loggers.py: fix documentation
* tox.ini: adapt the tox configuration
2016-06-06 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: bump required pyhetdex version required to support the newest
fplane file
2016-02-01 Francesco Montesano <montefra@mpe.mpg.de>
* svn:ignore: add dist directory
* MANIFEST.in: add some file
* setup.py: temporary disable tox_requires
2016-01-21 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/__init__.py: just import interface
* libvhc/html/communication.py: move all content of __init__.py here
* tests/test_drivers.py: fix hetdex_dithers name following r84
* tests/test_recipes.py: same
2016-01-07 Francesco Montesano <montefra@mpe.mpg.de>
WARNING: a new installation is required, also when working in ``develop``
mode
* setup.py: fix bug in the entry point name
2015-12-16 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/loaders.py: add function to list plugins
* setup.py: add the executable
* tests/test_loaders.py: test it
* tests/data/vhc_extra/setup.py: same
* doc/source/cmdline.rst: document it
2015-12-15 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: add class that create file names with a common counter
created to avoid overwriting of existing ones
* libvhc/vhc.py: use it
* libvhc/html/__init__.py: add a html file name template and when rendering
get name of the file from the outside
* libvhc/loggers.py: same for the log files
* tests/conftest.py: adapt the file names
* tests/test_doctest.py: same
* tests/test_utils.py: added, test utils.t at 100%
* doc/source/codedoc/utils.rst: add the file rotation class
2015-12-11 Francesco Montesano <montefra@mpe.mpg.de>
WARNING: this revision modifies the plug-in mechanism for reference file
parsers. The old way is deprecated and will be removed (see issue #1235)
WARNING: a new installation is required, also when working in ``develop``
mode
* libvhc/reference_file_parser.py: deprecate the register decorator
* libvhc/loaders.py: change the loading of the reference parsers
* setup.py: adapt the entry points
* tests/conftest.py: uncomment the fixtures to clean the dictionaries
storing the loader classes
* tests/test_loaders.py: adapt the tests
* tests/data/vhc_extra/setup.py: same
* tests/data/vhc_extra/vhc_extra/custom_reference_parser.py: same
* tests/data/vhc_extra/vhc_extra/register.py: same
* doc/source/extend.rst: adapt the documentation to the changes
2015-12-11 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/drivers.py: unify to log messages
* libvhc/loaders.py: returns the names of reference file parser modules
loaded
* tests/conftest.py: add cleanup fixtures
* tests/test_drivers.py: added
* tests/test_loaders.py: check the file parser modules names
2015-12-07 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/*: import the __future__
* libvhc/exceptions.py: same, plus remove non used stuff
* tests/conftest.py: add fixtures to clean up dictionaries and lists
* tests/test_loaders.py: use it
* tests/test_recipes.py: test 100% of the recipes
2015-12-07 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/{arc,bias,common,flat}.py: content moved to drivers.py
* libvhc/drivers.py: unify drivers definitions and functionalities here
* libvhc/utils.py: move driver file creation to drivers.py
* libvhc/vhc.py: move driver file reading to drivers.py
* libvhc/__init__.py: move driver template function to drivers.py
* setup.py: adapt the path to the drivers
* doc/source/codedoc/{arc,bias,common,flat}.rst: removed
* doc/source/codedoc/drivers.rst: added
* doc/source/codedoc/index.rst: index adapted
* doc/source/codedoc/utils.rst: fix documentation compilation errors
* doc/source/cmdline.rst: fix position of the driver template function
* doc/source/custom_drivers.rst: same
2015-12-07 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/recipes.py: move here all the recipe functions
* libvhc/utils.py: move recipe part out
* libvhc/vhc.py: move recipe part out
2015-12-04 Francesco Montesano <montefra@mpe.mpg.de>
* .coveragerc: ignore test data files
* doc/source/extend.rst: fix entry point documentation
* libvhc/loaders.py: remove unused functions
* tests/data/vhc_extra/setup.py:
* tests/data/vhc_extra/v_driver.txt: fix driver names
* tests/data/vhc_extra/vhc_extra/custom_driver.py: adapt to test driver
loading
* tests/data/vhc_extra/vhc_extra/custom_reference_parser.py: adapt to test
reference file parse loading
* tests/data/vhc_extra/vhc_extra/fail_driver.py: removed
* tests/data/vhc_extra/vhc_extra/hooks.py: same
* tests/data/vhc_extra/vhc_extra/recipe.py: adapt to test recipe loading
* tests/test_loaders.py: added
* setup.py: add pytest-capturelog as test dependency
* tox.ini: same
2015-12-03 Francesco Montesano <montefra@mpe.mpg.de>
* tests/data/hooks: renamed to vhc_extra to mirror documentation and prepare
for testing imports
2015-12-02 Francesco Montesano <montefra@mpe.mpg.de>
WARNING: new entry points. A new installation is required, also if when
working in ``develop`` mode
This commit should solve issue #1097; next commits will add/adapt more tests
for the new stuff and possibly reorganize some of the code
* libvhc/loaders.py: load reference file parsers
* libvhc/reference_file_parser.py: there is no need to import any module
when initialising
* libvhc/vhc.py: use the new reference file parsers loading
* setup.py: add entry point for the above
* doc/source/extend.rst: document it
2015-12-02 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/__init__.py: change the template function name
* libvhc/loaders.py: add driver loader; return recipe names; remove
docstring tests
* libvhc/utils.py: fix dictionaries doc, use the first matched recipe
* libvhc/vhc.py: load drivers in the new way; check that the recipe name is
known
* setup.py: vhc.drivers entry point added
* tox.ini: remove empty .coverage files after coverage erase
* doc/source/cmdline.rst: improved
* doc/source/codedoc/collate_html_recaps.rst: code enhancement in title
* doc/source/collate_html.rst: same
* doc/source/codedoc/init.rst: fix template function name
* doc/source/custom_drivers.rst: update description
* doc/source/extend.rst: add plug drivers instruction
* doc/source/install.rst: update
2015-12-01 Francesco Montesano <montefra@mpe.mpg.de>
WARNING: new entry points. A new installation is required, also if when
working in ``develop`` mode
* libvhc/exceptions.py: add VHCRecipeError
* libvhc/loaders.py: remove ``add_to_syspath`` and add ``load_recipes``
* libvhc/recipes.py: added; implements built-in recipes
* libvhc/reference_file_parser.py: fix exception location
* libvhc/utils.py: default_drivers and recipe_match moved to recipes.py;
abort if it's not possible to get the recipe
* libvhc/vhc.py: use new recipe loader; update command line parser
* setup.py: add recipe entry points
* tests/conftest.py: clear the configuration dict by default
* tests/test_hooks_failures.py: skip the tests; they will be rewritten and
enabled when the transition will be finished
* tests/test_vhcmain_errors.py: adapt xfails to new error
* doc/source/cmdline.rst: add vhc -h info
* doc/source/codedoc/recipes.rst: added
* doc/source/codedoc/index.rst: add the above
* doc/source/custom_drivers.rst: add link hook
* doc/source/extend.rst: document the new recipe plugin system; obsolete old
documentation
2015-11-30 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/vhc.py: add argument parser
* libvhc/config.py: separate configuration loader from getter; allow to load
custom configuration file
* tests/conftest.py: add call to load the configuration
* tests/test_vhcmain_errors.py: fix expected error
2015-11-30 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: boostrap setuptools if not available
* ez_setup.py: boostrap script added
2015-11-26 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/contributions.rst: fix documentation about tox
2015-11-26 Francesco Montesano <montefra@mpe.mpg.de>
* tox.ini: use ``github.com/montefra/little_deploy`` instead of deploy.py;
remove py32 and py33
* scripts/deploy.py: removed
2015-11-25 Francesco Montesano <montefra@mpe.mpg.de>
* tox.ini: make it run properly
* libvhc/exceptions.py: add handling of python 3.5 exception message
* scripts/deploy.py: use ExtendedInterpolation
* tests/data/hooks/ls_reference.txt: fix the ifu id
* tests/test_arcs.py: adapt path to new simulations
* tests/test_bias.py: same
* tests/test_flats.py: same
* tests/test_hooks_failures.py: same and fix for python 3.5 exception
* doc/source/index.rst: add link to vhc coverage
2015-11-24 Francesco Montesano <montefra@mpe.mpg.de>
SUCCESS: the html recap has been fixed
* libvhc/html/fplane.py: avoid using private variables and update after
pyhetdex:r91
2015-11-24 Francesco Montesano <montefra@mpe.mpg.de>
WARNING: something is broken with the html recap
* tests/data/20120301: remove old simulations
* tests/data/20151025: added; uses newer simulations
* tests/conftest.py: update the date of the simulations
2015-11-24 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: add tox
* tox.ini: add tox
* svn:ignore: ignore .tox and .cache
* setup.cfg: move coverage to .coveragerc and update some options
* .coveragerc: created
* scripts: added
2015-10-23 Francesco Montesano <montefra@mpe.mpg.de>
* svn:ignore: added .cache
* setup.py: aesthetic change
2015-10-14 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/collate_html_recaps.py: little changes
* libvhc/html/templates/recap_browser.html: fix tag bug
* tests/conftest.py: little changes
2015-09-08 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/collate_html_recaps.py: failed in python3 do to tabs, some
PEP8
* setup.cfg: exclude *egg* directories from the automatic discovery to avoid
troubles when running py.test and python setup.py test
2015-08-11 Daniel Farrow <dfarrow@mpe.mpg.de>
* libvhc/html/collate_html_recaps.py: Collates a night's worth of
VHC recap htmls into one folder, with a HTML browser
to look through them.
* libvhc/html/templates/recap_browser.html: template for above
* libvhc/utils.py: added 'hetdex_dithers' recipe name
Documentation for collate_html added.
* doc/source/codedoc/collate_html_recaps.rst
* doc/source/codedoc/index.rst
* doc/source/index.rst
* doc/source/collate_html.rst
* setup.py: added collate html to setup
2015-07-07 Daniel Farrow <dfarrow@mpe.mpg.de>
Various changes to the text in the HTML
output for clarification purposes.
* libvhc/html/templates/layout.html
* libvhc/html/templates/functions.js
* libvhc/html/templates/ifu_macro.html
* libvhc/html/templates/style.css
2015-08-07 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: add beautifulsoup dependency for testing structure of the html
file
* tests/conftest.py: add tests to parse the html recap files
* tests/test_arcs.py: adapt to the above
* tests/test_bias.py: same
* tests/test_flats.py: same
* tests/test_hooks_failures.py: renamed from tests/test_hooks.py, add test
on ifus outside the provided focal plane
* tests/data/20140101/virus02102: data for the above test added
2015-08-07 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/exceptions.py: move here all the custom exceptions and code related
with them
* libvhc/loaders.py: adapt to the above
* libvhc/utils.py: same
* libvhc/vhc.py: same
* libvhc/reference_file_parser.py: better error message when the id,
channel and/or amplifier does not exist
* libvhc/factories.py: better catch of errors when formatting the command
string
* libvhc/html/fplane.py: respect success status in orphaned tests
* tests/test_hooks.py: adapt tests to exception handling changes
* doc/source/codedoc/exceptions.rst: added
* doc/source/codedoc/index.rst: add the above
* doc/source/codedoc/loaders.rst: update documentation
2015-08-05 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: rewritten to make it clearer
* doc/source/configuration.rst: edit the introduction
* setup.py: import moved
2015-07-24 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/flat.py: add min_flux and implement saturation drivers; requires
vhc_config:r20 or newer
* libvhc/reference_file_parser.py: add reference files for them
* tests/data/20120301/virus0000001/v_driver.txt: add min_flux driver
* tests/test_flats.py: modify according to the above
* tests/test_arcs.py: same
* tests/test_bias.py: same
* tests/test_hooks.py: same
* doc/source/cmdline.rst: update the list of available drivers
2015-07-24 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/factories.py: added possibility to add header keywords reporting
the success/failure of the vhc checks; requires vhc-config:r19 or newer
* libvhc/arc.py: same
* libvhc/bias.py: same
* libvhc/common.py: same
* libvhc/flat.py: same
* tests/conftest.py: test the header keywords
* tests/test_arcs.py: same
* tests/test_bias.py: same
* tests/test_flats.py: same
* tests/test_hooks.py: same
* doc/source/custom_drivers.rst: describe above addition in the
documentation
2015-07-21 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/flat.py: update to new command line options in cure's
``checkflat``: requires cure:r1037 or newer
2015-07-21 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/custom_drivers.rst: update to new factory implementation
* doc/source/extend.rst: add info for new recipes
* libvhc/utils.py: typo fixed
2015-07-21 Francesco Montesano <montefra@mpe.mpg.de>
Now the tests cover 92% of the code
* libvhc/__init__.py: extend examples to cover all the implementation
* libvhc/config.py: don't cover check for existing curebin in the
environment
* libvhc/factories.py: fixed bug when calling with an extra argument (the
exposure subdirectory); avoid covering some detail
* libvhc/loaders.py: handle and log hooks errors
* libvhc/reference_file_parser.py: handle and log errors when loading extra
parsers
* libvhc/utils.py: vhc_exec raises a VHCTypeError, better type match
* libvhc/vhc.py: get extension names from the correct configuration section
* setup.cfg: ignore tests/data directory and others
* tests/conftest.py(GenericRecipeTest): added pre and post-vhc execution
hooks
* tests/test_hooks.py: test import hooks and error catching with hooks and
drivers
* tests/data/hooks: this and files/subdirectories added to test import hooks
* tests/test_flats.py: test one exposure
* tests/test_vhcmain_errors.py: test exceptions raised in the libvhc.vhc:main
* tests/data/fitsfiles: removed
2015-07-17 Francesco Montesano <montefra@mpe.mpg.de>
Test suite rewritten, good work
* libvhc/vhc.py: log single/multiprocessor, catch all the relevant errors
when running drivers
* libvhc/loaders.py: VHCAttributeError catch string fixed
* setup.py: setuptools classes are old style
* tests/conftest.py: reimplement the GenericRecipeTest using pytest
* tests/test_arcs.py: reimplement using the above, add multiprocessing test
* tests/test_bias.py: same
* tests/test_flats.py: same
* tests/test_doctest.py: fix docstring
* tests/utils.py: removed
* tests/data/20120301/virus000000*/{log|v_results}.txt: removed
* doc/source/install.rst: update dependences
* doc/source/contributions.rst: add more info about testing
2015-07-14 Francesco Montesano <montefra@mpe.mpg.de>
WARNING: Only part of the test suite, test_doctest.py, is migrated to
pytest; some of the other tests still fail
* svn:ignore: ignore .coverage*
* libvhc/loaders.py: fix docstring code
* libvhc/loggers.py: properly close the listener and queue in the docstring
example
* setup.cfg: remove nosetest and add pytest options
* setup.py: use pytest instead of nose
* tests/conftest.py: add pytest dynamic configuration file
* tests/test_doctest.py: rewrite using pytest
2015-07-14 Francesco Montesano <montefra@mpe.mpg.de>
WARNING: the current version apparently work, but it's not tested. The next
revision should have the testing suite working again
* libvhc/html/__init__.py: subprocesses are able to properly communicate
with the html recap, but as now it uses locks. After fixing the tests, it
will be reimplemented using queues to avoid blocking.
* libvhc/html/__init__.py (add_ntests): use the vcheck object as the other
add_* functions
* libvhc/factories.py: adapted to the above
2015-07-13 Francesco Montesano <montefra@mpe.mpg.de>
WARNING: Do not use this revision: not properly tested and the html recap
doesn't work with multiprocessing. The next revisions with fix the latter
and change the testing suite from using nose to using pytest
* libvhc/__init__.py (VCheck): method to return a dictionary representation
of the class instance
* libvhc/factories.py: reimplement the factories using classes to allow
for multiprocessor computations; in python 2.7 register function to
instruct how to pickle class method
* libvhc/loaders.py: improve error handling using custom error class
* libvhc/loggers.py: move the logger initialization into functions; save
the ``extra`` dictionary, instead of the logger adapter, and build it
upon request
* libvhc/utils.py: create base exception classes and function to execute
functions and convert signature errors into vhc ones
* libvhc/vhc.py: use multiprocessing and use new error classes for better
error report; requires vhc-config:r18 or greater
* libvhc/arc.py: don't provide the docstring to the factories
* libvhc/bias.py: same
* libvhc/common.py: same
* libvhc/flat.py: same
* doc/Makefile: ignore temporary vim files
* doc/source/codedoc/factories.rst: adjust documentation to the new
factories
* doc/source/codedoc/arc.rst: same
* doc/source/codedoc/bias.rst: same
* doc/source/codedoc/common.rst: same
* doc/source/codedoc/flat.rst: same
2015-07-09 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/loggers.py: use QueueHandler and QueueListener, serve the queue
instance
* libvhc/vhc.py: execute most of vhc:main into a with statement
* doc/source/codedoc/loggers.rst: show all method by implementation
2015-07-08 Francesco Montesano <montefra@mpe.mpg.de>
* doc/Makefile: add coverage
* doc/build: add coverage directory to svn:ignore
* doc/source/codedoc/arc.rst: fix module name
* doc/source/codedoc/bias.rst: same
* doc/source/codedoc/common.rst: same
* doc/source/codedoc/config.rst: same
* doc/source/codedoc/factories.rst: same
* doc/source/codedoc/flat.rst: same
* doc/source/codedoc/loggers.rst: same
* doc/source/codedoc/reference_file.rst: same
* doc/source/codedoc/utils.rst:same
* doc/source/codedoc/loaders.rst: added
* doc/source/codedoc/vhc.rst: added
* doc/source/codedoc/index.rst: add them to the index
* doc/source/configuration.rst: use syntax color
* doc/source/extend.rst: document the extension hooks
* libvhc/loaders.py: fix some type and a function signature
* libvhc/reference_file_parser.py: make conf and log attributes public
* libvhc/vhc.py: fix documentation and define conf_name
2015-07-02 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/config.py: import ExtendedInterpolation from six, requires
pyhetdex:r78
* libvhc/loaders.py: added
* libvhc/reference_file_parser.py: improve documentation and use loaders
module
* libvhc/utils.py: docstring improved
* libvhc/vhc.py: improve plugin mechanism using loaders.py; initialize the
file parsers
* tests/test_doctest.py: create setup and teardown functions
* tests/data/doctest/pymodule.py: added
* doc/source/codedoc/arc.rst: added
* doc/source/codedoc/bias.rst: same
* doc/source/codedoc/index.rst: add the above
* doc/source/codedoc/flat.rst: adjust documentation
* doc/source/codedoc/utils.rst: improve
* doc/source/extend.rst: some more info (to be finished)
* doc/source/custom_drivers.rst: little fix
* doc/source/install.rst: same
2015-06-26 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/__init__.py: change drivers name from module.function to
module:function
* libvhc/loggers.py: same
* libvhc/utils.py: same
* libvhc/vhc.py: same
* doc/source/cmdline.rst: same
* doc/source/custom_drivers.rst: same
* tests/data/20120301/virus0000001/v_driver.txt: same
* tests/data/20120301/virus0000002/v_driver.txt: same
* tests/data/20120301/virus0000003/v_driver.txt: same
* doc/source/configuration.rst: little fixes
* doc/source/authors.rst: add note for contributors
* doc/source/install.rst: fixes
* doc/source/conf.py: PEP8
2015-06-23 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/install.rst: improve installation instructions
* doc/source/cmdline.rst: fix reference and list of drivers
* doc/source/conf.py: add intersphinx link to online pyhetdex
* doc/source/configuration.rst: update directory structure
* doc/source/contributions.rst: add supported python versions
* doc/source/extend.rst: add placeholder
* doc/source/index.rst: include it, add python versions
* libvhc/html/__init__.py: fix documentation warning
* libvhc/html/fplane.py: fix documentation
2015-06-23 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/arc.py: implement arc.find_peaks driver; requires cure:r1022 and
vhc-config:r16 or newer
* libvhc/reference_file_parser.py: parse arcs and distortion reference files
* libvhc/utils.py: add arc file pattern, remove ``arc.n_peaks``
* tests/data/20120301/virus0000003: arc frames test data added
* tests/test_arcs.py: added
* tests/test_bias.py: adapt to above changes
* tests/test_flats.py: same
2015-06-18 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/reference_file_parser.py: reimplement the parser using a
registration system; the files are read before running the drivers and we
can (hopefully) avoid using multiprocessing managers
* libvhc/vhc.py: initialise the registered parsers
* libvhc/bias.py: use the new parser system
* libvhc/common.py: same
* libvhc/flat.py: same
* tests/test_bias.py: adapt to the changes
* tests/test_flats.py: same
* doc/source/custom_drivers.rst: documentation updated
2015-06-18 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/flat.py: implement n_fibers check; requires cure:r1020 and
vhc-config:r14 or newer
* libvhc/reference_file_parser.py: add corresponding reference file parser
* tests/data/20120301/virus0000001/v_driver.txt: add new implemented driver
* tests/test_flats.py: adjust tests
2015-06-16 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/bias.py: add bias.compare; requires cure:r1007 and vhc-config:r13 or
newer
* libvhc/reference_file_parser.py: add bias reference file parser
* libvhc/utils.py: add bias files wildcard match
* tests/data/20120301/virus0000002: add bias data for testing
* test/test_bias.py: added
* tests/test_flats.py: fix comments
2015-06-12 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/fplane.py: solve issue #889; save successful and failed tests
in different lists and when asking for the tests, return a list with the
failures first
2015-06-11 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/common.py: finish implement check_overscan driver
* libvhc/reference_file_parser.py(get_value): rename method
* libvhc/html/templates/functions.js: increase the size of the popup
* tests/test_flats.py: adjust number of errors
* doc/source/configuration.rst: fix typo
* doc/source/custom_drivers.rst: adjust to the current implementation
2015-06-03 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/cmdline.rst: improve documentation
* doc/source/codedoc/html_renderer.rst: same
* doc/source/configuration.rst: same
* doc/source/custom_drivers.rst: same
* doc/source/dirstruct.rst: same
* doc/source/index.rst: same
* doc/source/install.rst: same
* libvhc/__init__.py: same
* libvhc/common.py: same
* libvhc/flat.py: same
* libvhc/loggers.py: same
2015-06-02 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/common.py: use named logger; improve check_overscan check (still
needs to give exact command line arguments)
* libvhc/factories.py: use named logger; catch all errors happening and log
the exception.
* libvhc/flat.py: use named logger
* libvhc/html/fplane.py: proper formatting of the ifuid
* libvhc/loggers.py: force named loggers to solve issue #888, adapt doctest
* libvhc/reference_file_parser.py: parser of reference files implemented
* libvhc/utils.py: add logging to the ``make_*`` functions; get and parse
header keywords
* libvhc/vhc.py: use named logger
* setup.cfg: removed non used option
* setup.py: add ``pyhetdex`` to the test dependences
* tests/test_flats.py: fix the tests to include ``check_overscan``
* vhc: deprecated. Will be removed
* doc/build: ignore html and doctrees subdirectories
* doc/source/codedoc/reference_file.rst: added
* doc/source/codedoc/index.rst: previous chapter added
2015-05-12 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/factories.py(command_func_factory): implemented
* libvhc/factories.py(command_line_factory): renamed and use the above
implementation
* libvhc/common.py: modify according to the above, implement stub
check_overscan
* doc/source/codedoc/common.rst: add it to the documentation and remove
private functions
* setup.cfg: don't capture logging when running nosetests
* tests/data/20120301/virus0000001/v_driver.txt: add common.check_overscan
* tests/utils.py: print the shot name in failing tests
2015-05-12 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: fix generic virus match and "unknown" recipe
* libvhc/vhc.py: better logging, bug with drivers fixed
* tests/utils.py: move ``GenericRecipeTest`` variable to a classmethod, add
symlinks creation
* tests/test_flats.py: same, add test for directory with no v_*.txt file
2015-05-08 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: add ``mock`` dependence for pythons < 3.3
* tests/test_doctest.py: moved from tests/__init__.py
* tests/test_flats.py: add tests for flat recipe
* tests/utils.py: utility functions and variable; base class for generic
recipe tests
* libvhc/factories.py: don't get logs and conf in the module body
* libvhc/flat.py: same; add error and inform the html renderer
* libvhc/common.py: same; some cleanup
* libvhc/vhc.py: add optional argument to allow for testing
2015-05-06 Francesco Montesano <montefra@mpe.mpg.de>
* svn:ignore: added coverage and eggs
* setup.py: bootstrap nose
* setup.cfg: add doctest
* libvhc/__init__.py: fixed doctest
* libvhc/factories.py: same
* libvhc/loggers.py: same
* tests/__init__.py: check the doctest output of ``loggers.py`` and clear
it
* tests/data/doctest: directory used by ``loggers.py``
* tests/test_flats.py: add failing test as memorandum
2015-05-06 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/utils.py: bug fixed
* libvhc/factories.py: correctly import from utils.py
* doc/source/codedoc/utils.rst: added
* doc/source/codedoc/index.rst: add the above
* doc/source/codedoc/common.rst: adjust documentation
* tests/data/*: partial revert of r27; keep exposures in different
directories
2015-05-06 Francesco Montesano <montefra@mpe.mpg.de>
* test/data/fitsfiles: fits file moved here and reorganized to simplify
testing.
* tests/data/20120301/virus0000001/exp01: moved to ``fitsfiles``
2015-05-06 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/config.py: move default wildcards in utils.py
* libvhc/utils.py: create recipe and driver files
* libvhc/vhc.py: same
2015-05-06 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: add ``six`` dependency
* libvhc/config.py: rename exception, adapt wildcards to latest pyhetdex
version
* libvhc/factories.py: use six
* libvhc/vhc.py
* libvhc/utils.py: added
* tests/data/20120301/virus0000001/exp01/gp: added for testing
* tests/data/20120301/virus0000001/exp01/gp/*gc1_sci_g_avg.fits: same
* tests/data/20120301/virus0000001/exp01/wfs/*wfs_sci_g_avg.fits: same
2015-04-30 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/vhc.py: make it more fault tolerant and provide better errors
* libvhc/common.py: copy/paste error fix; remove non used imports
* libvhc/factories.py: isolate ifuid extraction, improve logs, add ifuid to
the command expansion
2015-04-24 Francesco Montesano <montefra@mpe.mpg.de>
* vhc: deprecate script, use the one installed by setup.py
* libvhc/vhc.py: add sensible error message when the path is not provided
2015-04-24 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/fplane.py: use parent classes from pyhetdex.het.fplane, add
xscale and yscale when rescaling the ifu position for the html
* libvhc/html/__init__.py: use xscale, yscale
* libvhc/html/templates/functions.js: set initial size for long dialogs; use
camelCase and name functions
* libvhc/html/templates/ifu_macro.html: set the IDs in the ifu divs and the
dialogs
* libvhc/vhc.py: pass xscale, yscale to the html render
* doc/source/codedoc/html_renderer.rst: adjust documentation
2015-04-22 Francesco Montesano <montefra@mpe.mpg.de>
* doc/source/configuration.rst: ``vhc_config`` readme added
* doc/source/cmdline.rst: configuration section removed
* doc/source/custom_drivers.rst: renamed from ``custom_check``. Added a few
lines
* doc/source/index.rst: modified accordingly
* doc/source/install.rst: added ``vhc_config`` info
2015-04-21 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/factories.py: implement two factory functions to avoid code
duplication
* libvhc/config.py: set ``curebin`` in the defaults
* libvhc/common.py: implement two drivers with one of the factories
* doc/source/codedoc/common.rst: explicitly include functions
* doc/source/codedoc/factories.rst: add to documentation
* doc/source/codedoc/index.rst: same
2015-04-16 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/templates/functions.js: replace tooltip with dialog to allow
moving, resizing and scrollbars
* libvhc/html/templates/ifu_macro.html: same
* libvhc/html/templates/style.css: same
* libvhc/html/templates/layout.html: add instructions about it
2015-04-15 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/common.py: strip file names for the html removing path part. Show
missing files as orphaned tests
* libvhc/html/__init__.py: add info about orphaned tests and pass the path
to jinja
* libvhc/html/fplane.py: add orphan tests
* libvhc/html/templates/ifu_macro.html: forgot line break
* libvhc/html/templates/layout.html: allow div scrolling; add orphan
tests; add absolute path and expected number of tests per IFU
* libvhc/html/templates/style.css: add scrolling, larger tooltip
* libvhc/vhc.py: convert input path to absolute
2015-04-15 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/fplane.py: fixed bug with the number of expected tests
* libvhc/html/templates/ifu_macro.html: tooltip: add info about the IFU (to
be fixed when modifying the fplane file) and add number of tests when some
are missing
* libvhc/html/templates/layout.html: adapt to the above
2015-04-14 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/config.py: set ``vhc_config_dir`` into the defaults (to interpolate
"Virus Health Check Configuration":r5)
* libvhc/html/__init__.py(add_*_test): use vcheck to build the name of the
recipe and driver, fix legend
* libvhc/html/fplane.py: bug fix (add_ifu_test), force ifu id to 3 digits
* libvhc/html/templates/functions.js: forgotten ``;``
* libvhc/html/templates/layout.html: use the legend fix.
* libvhc/vhc.py: add html renderer (plus a couple of TODOs)
* libvhc/common.py: add test messages to the html
2015-04-13 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/common.py: if the cure tool fails, log it as critical
2015-04-13 Francesco Montesano <montefra@mpe.mpg.de>
* setup.py: use sphinx-autobuild >= 0.5.2
* doc/Makefile: use regex ignore from the above version
2015-04-13 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/html/__init__.py: public interface to the html renderer. NOTE: not
yet plugged in vhc
* libvhc/html/fplane.py: backbone classes
* libvhc/html/templates/functions.js: javascript to get the correct size of
the focal plane and to create the tooltips
* libvhc/html/templates/ifu_macro.html: macro for the ifu divs and test
messages
* libvhc/html/templates/layout.html: page layout
* libvhc/html/templates/style.css: page style
* setup.py: add jinja and install also the data files
* MANIFEST.in: install also the template files
* doc/source/codedoc/html_renderer.rst: code documentation
* doc/source/codedoc/index.rst: same
2015-03-24 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/vhc.py: used configuration file to cross check recipes and add
recipe paths
2015-03-24 Francesco Montesano <montefra@mpe.mpg.de>
* vhc_settings.cfg: moved to project:"Virus Health Check Configuration"
2015-03-19 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/common.py: added n_pixel check from cure and exposure time driver
* libvhc/config.py: load the configuration file and serve it
* libvhc/loggers.py: improved documentation, getLogger doesn't fail
* libvhc/vhc.py: load the configuration (commented for now)
* doc/source/cmdline.rst: added new drivers and section about the
configuration file
* doc/source/codedoc/config.rst: don't show private members
* doc/source/codedoc/loggers.rst: typo
* doc/source/conf.py: added python3 and pyhetdex intersphinx
* tests/data/20120301/virus0000001/v_driver.txt: added exposure time
* tests/data/20120301/virus0000001/log.txt: cleaned
* vhc_settings.cfg: general section added
2015-03-13 Francesco Montesano <montefra@mpe.mpg.de>
* libvhc/__init__.py: VCheck object added and function_signature updated
* libvhc/common.py: n_pixels check implemented. For now calls ls on the
files. Log in n_files
* libvhc/config.py: added mapping between flat recipe and fits file names
* libvhc/flat.py: logging added
* libvhc/loggers.py: loggers implemented
* libvhc/vhc.py: use VCheck and loggers
* doc/source/cmdline.rst: remove the autofunction from the index
* doc/source/codedoc/config.rst: added
* doc/source/codedoc/loggers.rst: added
* doc/source/codedoc/index.rst: added
* doc/source/codedoc/init.rst: adapted
* tests/data/20120301/virus0000001/exp01/virus/20120301*_flt.fits: added
flat data from two IFUs
* tests/data/20120301/virus0000001/log.txt: added
* tests/data/20120301/virus0000001/v_driver.txt: add common.n_pixels driver
* vhc_settings.cfg: added number of IFU (not yet used)
2015-03-09 Francesco Montesano <montefra@mpe.mpg.de>
* doc/Makefile: added livehtml line in the help
* doc/source/cmdline.rst: added basic information
* doc/source/dirstruct.rst: removed initial words
* doc/source/index.rst: command line and directory structures inverted
* libvhc/__init__.py: added prototype function
* tests/data/20120301/virus0000001: vhc_*.txt renamed v_*.txt
2015-03-06 Francesco Montesano <montefra@mpe.mpg.de>
* Makefile: added sphinx-autobuild (automatic sphinx build)
* setup.py: added as dependence
* doc/source/install.rst: same
* doc/source/contributions.rst: some text added, in particular about
documentation
2015-03-06 Francesco Montesano <montefra@mpe.mpg.de>
* LICENSE: renamed from LICENCE
* doc/source/license.rst: same
* doc/source/codedoc: renamed from doc/source/codecod
* doc/source/contributions.rst: added
* doc/source/dirstruct.rst: added directory structure
* doc/source/index.rst: added description, links adapted to renaming
* doc/source/install.rst: added installation information
* requirements.txt: added. Allows for semi-automatic installation of
pyhetdex
* setup.py: pyhetdex added in requirements
2015-03-04 Francesco Montesano <montefra@mpe.mpg.de>
* doc/*: documentation initialized
* setup.py: added python version check, pyhetdex dependances
2015-03-03 Francesco Montesano <montefra@mpe.mpg.de>
* svn:ignore: *egg-info added
* AUTHORS, LICENCE: added
* lib -> libvhc: renamed
* libvhc/__init__.py: version added
* libvhc/vhc.py: get command line arguments, add libvhc to the path (for
easier import)
* settings.cfg -> vhc_settings.cfg: renamed
* setup.cfg: copied from project:pyhetdex
* setup.py: copied from project:pyhetdex, modified to the present project
and entry point created
* vhc: the command line arguments are extracted in libvhc.vhc:main
2015-03-02 Francesco Montesano <montefra@mpe.mpg.de>
* vhc: entry point
* lib/vhc.py: main of vhc
* lib/{flat,common}.py: mock modules and functions
* doc: empty documentation directory
* tests: directory structure with mock recipe, driver and result files