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

Add error handling for regex in read_report() #27

Open amhanson9 opened 1 year ago

amhanson9 commented 1 year ago

Use regex to get the group from the report name and has no error handling if there is not a pattern match. This probably won't happen, since earlier in the script skip anything that doesn't start with file_formats, which indicates it is an ARCHive format report, but it is still possible and would not be hard to add.