uga-libraries / format-report

Aggregate and analyze csv files with file format information generated by the UGA Libraries' digital preservation system (ARCHive).
Creative Commons Attribution Share Alike 4.0 International
0 stars 0 forks source link

Differentiate between read_row() errors #28

Open amhanson9 opened 1 year ago

amhanson9 commented 1 year ago

The function read_row() handles two different errors the same way. The errors come from calling collection_from_aip() and are either AttributeError from the AIP not matching any pattern for a group or ValueError from the group not matching any known groups.

In either case, the same text is added to the row for the CSV and the same error is printed to the terminal. Differentiate between the two errors so it is clear what needs to be fixed.