Skip to content

Improve API tools for file-searching #67

@JatGreer

Description

@JatGreer

test_entry = 10311

test_catalog = EmpiarCatalog(test_entry)

entry_data = test_catalog.fetch_entry_data(test_entry)

entry_data["imagesets"]

gives me an overview of the available datasets. entry_data["imagesets"][i]["directory"] gives me the location of these datasets. But I don’t know how to check the contents of this directory (except by checking the EMPIAR entry manually!).

There is entry_data["imagesets"][i]["data_format"]) which tells me if it is MRC or TIFF. Although it wouldn’t tell me if the files are .tif or .tiff

This is related to the absence (or non-accessibility) of mapping metadata file when API written. Check if that is now public. If not might be able to adapt CLI functionality for use by API.

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