-
Notifications
You must be signed in to change notification settings - Fork 5
Description
The Context class needs to be added, and functionality needs to be developed.
It should reflect the protocols listed here
This class reflects the context for an individual file in a dataset, and so should be instantiated with path to the file in question and the Dataset object for that file.
Functionality that needs to be added:
-
schema: Can be accessed fromDatasetobject -
dataset: Passed on creation -
subject: From entities? Need to developSubjectclass? -
path: Generated in theFilePartsobject -
size:os.path.getsize()? -
entities: Generated in theFilePartsobject -
datatype: Generated in theFilePartsobject -
suffix: Generated in theFilePartsobject -
extension: Generated in theFilePartsobject -
modality: From datatype? -
sidecar: Needs to useload_sidecarand `walk_back'? -
associations: Need to developAssociationsclass -
columns: If the current file has.tsvextesion then parse? What to use to parse? -
json: If current file has.jsonextension then parse usingJSONmodule? -
gzip: Python has in-builtgzipmodule, not sure how to read the header specifically. Need to developGZipclass? -
nifti_header: Need to developNiftiHeaderclass. Can usenibabelfor most of this, will likely need guidance. -
ome: Need to developOmeclass. Never heard of OME before, so will need guidance. -
tiff: Need to developTiffclass
I'll start work on the parts that don't require additional classes, but as suggested I'll create stubs for everything else.
@effigies does this look broadly correct?
Sub-issues
Metadata
Metadata
Assignees
Labels
No labels