You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the create_dip.py on an AIP created from a transfer of a BagIt bag causes the initial three characters to be removed from all of the file names in the DIP objects directory. The following warning is output when this occurs:
INFO 2021-08-03 15:36:40 Moving file: objects/box4b12.bin
WARNING 2021-08-03 15:36:40 premis:originalName not starting with %transferDirectory%objects/
In the case above, the final file name in the DIP objects directory (zipped) was: 4b12.bin.
The text was updated successfully, but these errors were encountered:
Use `os.path.basename()` to get file names from the
`<premis:originalName>` path.
The previously assumed path of `%transferDirectory%objects` is not valid
for BagIt transfers, which lead to truncating the first three characters
of the filename in the DIP objects zip file.
The previously assumed path of `%transferDirectory%objects` is not valid
for BagIt transfers, which have base directory of
`%transferDirectory%data`. This assumption created DIP file names with
their first three characters truncated, when the original transfer was a
BagIt bag.
Running the create_dip.py on an AIP created from a transfer of a BagIt bag causes the initial three characters to be removed from all of the file names in the DIP objects directory. The following warning is output when this occurs:
In the case above, the final file name in the DIP objects directory (zipped) was:
4b12.bin
.The text was updated successfully, but these errors were encountered: