Skip to content

Validate_upload should require contributors and antibodies to be actual files #1143

@jswelling

Description

@jswelling

The current code apparently accepts '.' as contributors_path and presumably antibodies_path- at least, metadata.tsv files have passed validation with that value. The path for the contributors and antibodies tsv files should be that of an actual file, not a directory.

The relevant code seems to be here:

def __get_antibodies_references(self) -> dict:
but it's unclear why it accepts a directory path without comment. The actual contents of the file are parsed elsewhere so maybe the ball is getting dropped in between the two.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions