Skip to content

Changelog

[0.14.3] -- 2024-10-02

Changed

  • bump requirements to require pipestat>=0.11.0

[0.14.2] -- 2024-05-07

Changed

[0.14.1] -- 2024-04-19

Changed

  • remove pipestat_project_name from PipelineManager parameters
  • refactor pipestat_sample_name to pipestat_record_identifier in PipelineManager parameters
  • update requirements for pipestat 0.9.0, ubiquerg 0.8.0, and yacman 0.9.3
  • set force_overwrite to default to true, Issue #209

[0.14.0] -- 2023-12-22

Changed

  • refactor for pipestat v0.6.0 release
  • drop python 2.7
  • updated requirements
  • changed message_raw to be a value_dict when reporting to conform to pipestat

Fixed

  • fixed #196 and #197

Added

  • added force_overwrite to report_result and report_object
  • added pipestat_pipeline_type, defaulting to sample-level

[0.13.2] -- 2023-08-02

Fixed

  • fixed self.new_start overriding checkpoints.

[0.13.1] -- 2023-07-14

Fixed

  • added _safe_write_to_file back into pypiper for Pepatac backwards compatibility

[0.13.0] -- 2023-06-29

Added

[0.12.3] -- 2022-01-25

Fixed

  • A few bugs with compatibility with Python version 3.9

[0.12.2] -- 2021-12-20

Fixed

  • Removed use2to3 for compatibility with setuptools 58

[0.12.1] -- 2019-08-29

Fixed

  • Increased requirement for logmuse

Changed

  • Sort argument outputs in logs
  • Fail messages can now be a string (previously required an Exception).

[0.12.0] -- 2019-08-14

Added

  • Use profile to determine total elapsed time
  • logging functions directly on PipelineManager
  • Re-export add_logging_options from logmuse, for direct use by a pipeline author.
  • logger_via_cli that defaults to the strict=False behavior of the same-named function from logmuse
  • Use logging for pypiper-generated output.

Fixed

  • Fix childless processes memory monitoring issue
  • Fix problems with runtime reading from pipeline profile TSV formatted according to two styles
  • Fix problems running containerized executables that would sometimes hang
  • Fix inaccurate elapsed time accumulation
  • Fixed a bug that caused hanging when running in singularity containerized executables
  • Fixed bugs with merging bamfiles using samtools

Changed

  • The hashes in the pipeline profile are produced from the entire original command, even if it is a pipe
  • Changed output to simplify and improve log readability

[0.11.3] -- 2019-06-17

Fixed

  • Fixed a bug that caused an OSError removing lock files for some filesystems.

[0.11.2] -- 2019-06-06

Fixed

  • Elevate attmap dependency bound to require inclusion of improved path expansion behavior.

[0.11.1] -- 2019-05-30

Fixed

  • Elevate attmap dependency bound to require inclusion of a bugfix there.

[0.11.0] -- 2019-05-13

  • Improve python3 handling of integers and strings
  • Fixed a bug with cleanup scripts in dirty mode
  • Restructured profile output with hash and processID, and made lock paths relative
  • Streamlined some logging outputs
  • Allows nested parentheses and braces for piped commands
  • Fixed a bug that would have split a pipe within a braced command
  • Some performance improvements for ngstk functions
  • Allow ngstk.input_to_fastq to yield gzipped fastq files

[0.10.0] -- 2019-03-22

  • Fixed a bug that raised exception with empty commands
  • Fixed the pipeline profiling issues
  • Major updates to internal systems: Switch to attmap
  • Revamped way of handling child subprocesses which should lead to more efficient memory monitoring of piped subprocesses, and more consistent handling of rogues subprocesses during pipeline failure.
  • Added force mode to ngstk gzip and pigz use.
  • Changed documentation from sphinx to mkdocs.
  • Fixed a bug with python3 output buffering
  • Implement multi-target commands
  • Fixed a bug that had prevented new start mode from working in certain cases.
  • Allow user to change units of memory passed in with default pypiper cli.

[0.9.4] -- 2019-01-31

  • Point release to PyPI for README rendering.

[0.9.3] -- 2019-01-31

  • Simple point release update to fix PyPI landing page.

[0.9.2] -- 2019-01-30

  • Never echo protected-looking attribute request.

[0.9.1] -- 2019-01-29

  • Fixed a bug in NGSTk that caused errors for read counting functions on MACOS. MACOS wc returns leading whitespace, which caused these functions to fail.

[0.9.0] -- 2018-11-19

  • Use psutil to track aggregate memory usage for processes that spawn children. This results in accurate memory records for these processes.
  • Individual commands in a string of commands connected by shell pipes are now treated as individual commands, and and monitored individually for time and memory, and if a single component, fails, the entire string will fail. Previously, only the final return command was recorded, as in bash.
  • Various other small improvements (like waiting checking for dynamic recover flags)

[0.8.1] -- 2018-09-20

  • Fixed a bug that caused a problem for some pipelines adding groups of pypiper args.
  • Improved the run waiting method to immediately stop upon job completion, rather than minute-increment polling. This should improve performance particularly in pipelines with many, medium-runtime steps, and improve accuracy of timing profiles.

[0.8.0] -- 2018-06-15

  • Implemented 'new start' mode.
  • Improved error messages and exception handling for missing child software.
  • Clarified the built-in required vs. optional args by allowing pipeline authors to specify which of the pypiper args are required. The command-line help UI now displays these correctly as 'required arguments' instead of incorrectly as 'optional arguments'.
  • Corrected the sort order of added arguments, so they are listed in the help menu more naturally.
  • Fixed a bug that caused an erroneous error message indicating missing pypiper args.
  • Clarified the license is BSD2
  • Fixed a bug that neglected to list pyyaml as a dependency

[0.7.2] -- 2018-06-05

  • Implemented the 'report object' function.
  • Cleanup files are now relative, so a moved folder could still be cleaned.
  • Fixed a bug that prevented install if pypandoc was not installed
  • Fixed a bug that caused an error in containers where /proc wasn't accessible

[0.7.1] -- 2018-02-27

  • Package cleanup for Pypi.

[0.7.0] -- 2017-12-12

  • Standardize NGSTk function naming.
  • Introduce Stage as a model for a logically related set of pipeline processing steps.
  • Introduce Pipeline framework for automated processing phase execution and checkpointing.
  • Add ability to start and/or stop a pipeline at arbitrary checkpoints.
  • Introduce new state for a paused/halted pipeline.
  • Improve spawned process shutdown to avoid zombie processes.

[0.6.0] -- 2017-08-24

  • Adds 'dynamic recovery' capability. For jobs that are terminated by an interrupt, such as a SIGINT or SIGTERM (as opposed to a failed command), pypiper will now set a dynamic recovery flags. These jobs, when restarted, will automatically pick up where they left off, without requiring any user intervention. Previously, the user would have to specify recover mode (-R). Now, recover mode forces a recover regardless of failure type, but interrupted pipelines will auto-recover.
  • Pypiper now appropriately adds cleanup files intermediate files for failed runs. It adds them to the cleanup script.
  • Improves error messages so only a single exception is raised with a more direct relevance to the user/
  • Pypiper will automatically remove existing flags when the run starts, eliminating the earlier issue of confusion due to multiple flags present on runs that were restarted.
  • Fixes a bug that caused a pipeline to continue if a SIGTERM is given during a process that was marked nofail.
  • Pypiper now can handle multiple SIGTERMs without one canceling the shutdown procedure begun by the other.
  • Major improvements to documentation and tutorials.
  • Adds report_figure function.

[0.5.0] -- 2017-07-21

  • Adds preliminary support for handling docker containers
  • Updates docs, adds Hello World example
  • Adds 'waiting' flag
  • Eliminates extra spaces in reported results
  • Pypiper module is version aware
  • Updates Success time format to eliminate space
  • Improves efficiency in some ngstk merging functions

[0.4.0] -- 2017-01-23

  • First major public release!
  • Revamps pypiper args
  • Adds parallel compression/decompression with pigz
  • Various small bug fixes and speed improvements