Skip to content

Update for ETL will be needed to support modifer terms #46

Description

@pnrobinson

Currently, this code in EtlTools assumes that all non O/E/na entries are ages of onset

 for hpo_duplet in all_hpo_duplets {
            match hpo_to_status_map.get(hpo_duplet) {
                Some(status) => {
                    match status.as_str() {
                        "observed" => { values.push(CellValue::Observed);},
                        "excluded" => { values.push(CellValue::Excluded);},
                        "na" => { values.push(CellValue::Na);},
                        _ => { values.push(CellValue::OnsetAge(status.clone()));}
                    }
                }
                None => {
                    values.push(CellValue::Na);
                }
            }
         }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions