Skip to content

Releases: jjCode01/xerparser

Version 0.9.1

18 Mar 15:47

Choose a tag to compare

Reference Changelog for a full list of changes.

Remove error attribute from Xer class. If errors are encountered during initialization of an Xer object, then a CorruptXerFile Exception is raised. CorruptXerFile Exception Class includes an errors attribute holding a list of errors in the .xer file. The errors can be accessed from the Exception when using try except.

try:
    xer = Xer(file_contents)
except CorruptXerFile as e:
    for error in e.errors:
        print(error)

Version 0.8.2

05 Mar 18:29

Choose a tag to compare

0.8.2 - 2023-03-05

Added

  • Added actual_total_cost property to TASKFIN class
  • Added late_start property to PROJECT class

Changes

  • TASK method rem_hours_per_day can now accept a late flag (bool) to calculate late dates rather than early dates.

Version 0.8.1

01 Mar 14:17

Choose a tag to compare

0.8.1 - 2023-02-28

General Notes

Refactor / cleanup code.
Working on functionality to generate cost loading projections.

Added

  • Added rem_hours_per_day method to TASK class. This return a dict with date: workhour key value pairs. This function was originally contained within the calendar.py module, but was not being used. Makes more sense to have it as a TASK method.
  • Added base_calendar attribute to CALENDAR class. The is_workday function will now search the base_calendar for holidays when determining if a date is a workday.

Changed

  • remain_drtn_hr_cnt attribute of TASK no longer allows None type.
  • finish property of TASK will now check for reend_date and return it before it returns early_end_date