/hlapipeline

Software related to the migration of the HLA to the pipeline

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

HLA in the Pipeline

Documentation Status

Code for implementing HLA-type processing in the HST Pipeline

Installation

  • TODO

Running Tests

This package comes with a number of tests which can be run using data from the HST archive as accessed using astroquery. These tests can be run after installing this package using the following steps:

  • Define the environment variable TEST_BIGDATA which is the location of input test data. It can either be:

  • (Optional) change to the tests directory in the hlapipeline package source code

  • Run pytest on the desired tests. For example:

    pytest -s --basetemp=/internal/1/pytest-hst --bigdata test_align.py >& test_align.log

    where the parameters are defined as:

    • -s: disable all capturing of stdout/stderr within pytest so that it will will show up interactively
    • --basetemp=: this defines what LOCAL directory will be used for running the tests and writing out the results. All contents of this directory will be deleted upon the next run of the tests.

Warning

Several of these tests require the use of a large number of datasets and therefore not only take a lot of disk space to run, but also can take a significant amount of time to run.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.