Skip to content

Issue | Please update contribution guide for identifier field names #133

@phalem

Description

@phalem

I found that the problem raise from the data was happen due to field name that we must implement if type "Other" in the identifier field like this :
"identifiers": [ { "id": "antibody_name", # column name "type": "Other", # can be "SMILES", "SELFIES", "IUPAC", "Other" "names":[ "Name of the antibody", "Name of the antibody", ], "description": "anitbody name", # description (optional, except for "Other") },
I didn't know that this even found, I was think that happen due to pre-commit. After looking on validate file, I found that this line was found:
if (values.get("names") is None) and ( values.get("type") == IdentifierEnum.other ): raise ValueError('names must be provided if type is "other"') if (values.get("description") is None) and ( values.get("type") == IdentifierEnum.other ): raise ValueError('names must be provided if type is "other"')

I didn't found this column in contribution guide as no field of identifier in contribution name "Other", so no example provided for that.

Metadata

Metadata

Assignees

No one assigned

    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