Releases: jjCode01/xerparser
Releases · jjCode01/xerparser
Version 0.9.1
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
0.8.2 - 2023-03-05
Added
- Added
actual_total_costproperty toTASKFINclass - Added
late_startproperty toPROJECTclass
Changes
TASKmethodrem_hours_per_daycan now accept alateflag (bool) to calculate late dates rather than early dates.
Version 0.8.1
0.8.1 - 2023-02-28
General Notes
Refactor / cleanup code.
Working on functionality to generate cost loading projections.
Added
- Added
rem_hours_per_daymethod toTASKclass. This return a dict with date: workhour key value pairs. This function was originally contained within thecalendar.pymodule, but was not being used. Makes more sense to have it as aTASKmethod. - Added
base_calendarattribute toCALENDARclass. Theis_workdayfunction will now search thebase_calendarfor holidays when determining if a date is a workday.
Changed
remain_drtn_hr_cntattribute ofTASKno longer allowsNonetype.finishproperty ofTASKwill now check forreend_dateand return it before it returnsearly_end_date