Skip to content

Releases: EliLillyCo/pytest-wdl

1.4.1

17 Nov 19:55
1b109d2
Compare
Choose a tag to compare
  • Replaces remote file localization method for adding HTTP headers to only add headers on initial request and not redirects.
  • Updated dxpy minimum to 0.297.1 to be able to use cryptography version 2.3 (#106)
  • Upgraded bleach to 3.1.5 (#138)
  • Constrains pytest version <=5.3.5 to avoid breaking changes in pytest (#139)
  • Upgrades Cromwell to version 53.1 in test setup and documentation.

1.4.0

26 Feb 19:23
bcc43ee
Compare
Choose a tag to compare
  • Added support for YAML data and configuration files (#116)
  • Added a Cromwell Server executor (thanks @pamagee!)
  • Added ability to specify tests in JSON/YAML (#117)
  • Updated docs and testing to latest version of Cromwell (v48)
  • Added an optional callback parameter to workflow_runner
  • Fix miniwdl executor when there are no inputs (thanks @mlin!)

1.3.0

14 Feb 23:51
e632dd1
Compare
Choose a tag to compare
  • Added support for testing workflows on DNAnexus using dxWDL
  • Using DNAnexus-related features will cause the user to be automatically logged in to their account if not already logged in (log-in is interactive unless account credentials or a token are specified in the config file)
  • Enhanced support for miniwdl and made it the default executor (to configure different default executor(s), see the manual)
  • Generate requirements.txt using pip freeze. Note that miniwdl is pegged to a specific version (0.6.4) because we depend on internal functionality; this limitation will be fixed in a future release
  • Many improvements to the manual (thanks @mlin for suggestions), including a new "quickstart" example project
  • Bugfix: within-project local data file resolution was implemented incorrectly for the case where there are packages (i.e. __init__.py files) in the tests/ folder - it is now fixed.

1.2.1

12 Dec 14:46
33e0827
Compare
Choose a tag to compare
  • Fixes #93 - ensures parent directories exist when localizing a file

1.2.0

04 Dec 20:56
30d4af9
Compare
Choose a tag to compare
  • Fix #86 - enable test_data.json file to be located in the same directory as the WDL file
  • When comparing BAM files, by default only compare HD, SQ, and RG headers
  • Enhance the error message that is displayed when a workflow fails
  • Add ability to validate data file digests
  • Optionally show progress bar when downloading data file
  • Update miniwdl minimum version to 0.5.2, and update the miniwdl executor to use docker swarm
  • Update xphyle minimum version to 4.1.3
  • Other bugfixes

1.1.1

27 Sep 13:49
6331ac3
Compare
Choose a tag to compare
  • Fixes license entry in setup.py for proper rendering to release to PyPI.

1.1.0

26 Sep 21:04
7742be8
Compare
Choose a tag to compare
  • Add ability to create executor plugins
  • Add ability to specify which executor (including multiple executors) to use by default and on a test-specific basis
  • Add experimental support for Miniwdl executor
  • Swtich from delegator.py to subby for executing subprocesses
  • Fixes for path finding - test data and imports are now resolved correctly in the cases of "standard" project setups
  • Tests are isolated from any local configuration
  • Added ability to specify custom URL scheme handlers, and added a handler for files hosted on DNAnexus
  • Fixed the makefile to correctly run all the intended targets
  • Lots of fixes and improvements to VCF and BAM comparison (see updated docs)
  • Add ability to modify comparison options on DataFiles (set_compare_opts method)
  • Add support for arbitrary objects in test_data.json
  • Improve comparison of expected to actual values, including support for None, dict, and list values
  • Add support for comparing gzipped files, using xphyle to detect file format
  • Improve assertion error messages
  • Add json data type and add ability to localize dict contents as JS

1.0.1

28 Aug 13:01
5778a6c
Compare
Choose a tag to compare

Make some improvements to support different run configurations:

  • Workflow files are first searched in the current test context directory, so it is no longer necessary to pass a relative path from the project root to workflow_runner
  • Defined the concept of a module root, which is the first directory (starting from the test context directory) up that contains a "tests" folder
    • WDL files under the current module root are imported by default if an import_paths.txt file is not specified
    • The workflow_data_descriptor_file fixture is updated to correctly look for test_data.json in the tests/ directory of the current module
  • Complex workflow inputs are now serialized properly, which ensures that data files in arrays or dicts are localized

1.0.0

23 Aug 20:16
4f5f799
Compare
Choose a tag to compare

Initial major release