get_links
gets links to web-pages from results_my_pet.mat, as specified in metaData.links
Contents
Syntax
[links, id] = get_links(taxon, open)
Description
Gets cell strings with links and descriptions for an entry and open the webpages. Without inputs, the function will open all websites that are supported by AmP.
Input:
- my_pet: optional character string with name of entry
- open: optional boolean for opening the web pages (default 0: not open)
Output:
- links: (n,2)-cell array with links and names for links
- id: (n,2)-cell array with id's and values, as in metaData.links of mydata
Remarks
- This function first tries to find results_my_pet.mat or mydata_my_pet in local directories;
- in failure, it downloads it from the web via powershell function wget, but this file is not deleted after downloading, because of use of the function in curator_report
Example
get_links('Daphnia_magna',1)