Skip to content

Improve VTDR Figshare download workflow with logging, file verification, duplicate-file detection, and resumable downloads #5

Description

@Jiren1247

Improve the VTDR Ingest and Publication Figshare download workflows to provide stronger validation before datasets proceed to bagging and preservation.

The workflow should verify that all expected Figshare files were downloaded, identify duplicated files within the dataset, allow data curators to review validation warnings before proceeding, preserve the original file structure, support rerunning interrupted downloads without unnecessarily downloading existing files again, and save workflow output to a log file.

Download validation should occur before the dataset proceeds to the transfer/bagging stage.

  • Write workflow output to a log file
  • Print the Figshare file list
  • Check the file count after download
  • Compare expected and downloaded file names
  • Pause if the file verification does not match Would you like to proceed? (yes/no):
  • Detect duplicated files in the dataset
  • Print duplicated file groups
  • Do not download valid existing files again
    File already exists and checksum matches. Skipping download: acousticindex_BOH.csv
  • Detect incomplete/corrupted existing files
  • Preserve the original Figshare file/folder structure
  • Apply validation to both Ingest and Publication downloads

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions