Skip to content

How should getDatasetProps($dataset_uri) properties be set? #24

@randykerber

Description

@randykerber

Anyone know how these properties should be set?

It's at end of ./views/tsv.php

function getDatasetProps($dataset_uri) {
        $dataset_names = array (
                'http://linkedlifedata.com/resource/drugbank' => 'DrugBank',
                'http://ops.rsc-us.org' => 'OCRS',
                'http://purl.uniprot.org' => 'Uniprot',
                'http://purl.uniprot.org/enzyme' => 'EnzymeClassification',
                'http://www.conceptwiki.org' => 'ConceptWiki',
                'http://www.ebi.ac.uk/chebi' => 'ChEBI',
                'http://www.ebi.ac.uk/chembl' => 'ChEMBL',
                'http://www.geneontology.org' => 'GeneOntology',
                'http://www.openphacts.org/goa' => 'GOA',
                'http://www.wikipathways.org' => 'WikiPathways',
        );
        if (isset($dataset_names[$dataset_uri])){
                return $dataset_names[$dataset_uri];
        }
        return false;
}

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