Skip to content

Allow empty values in file column#177

Open
timstallmann wants to merge 1 commit into
zooniverse:masterfrom
timstallmann:allow-null-files
Open

Allow empty values in file column#177
timstallmann wants to merge 1 commit into
zooniverse:masterfrom
timstallmann:allow-null-files

Conversation

@timstallmann
Copy link
Copy Markdown

I'm trying to upload a subject set where different subjects have differing values of files, and was getting an error relating to validate_file being called and causing the whole import to fail when it didn't find a null file.

This PR modifies the subject-set upload-subjects command to:

  • Skips any upload filename which is the empty string entirely
  • When validate_file fails, skip that filename and continue with the rest of the upload

@timstallmann
Copy link
Copy Markdown
Author

Hi! Just a ping to see if anyone would be able to review this?

@lcjohnso lcjohnso self-assigned this Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants