-
Notifications
You must be signed in to change notification settings - Fork 3
Open
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 fromDataset
object -
dataset
: Passed on creation -
subject
: From entities? Need to developSubject
class? -
path
: Generated in theFileParts
object -
size
:os.path.getsize()
? -
entities
: Generated in theFileParts
object -
datatype
: Generated in theFileParts
object -
suffix
: Generated in theFileParts
object -
extension
: Generated in theFileParts
object -
modality
: From datatype? -
sidecar
: Needs to useload_sidecar
and `walk_back'? -
associations
: Need to developAssociations
class -
columns
: If the current file has.tsv
extesion then parse? What to use to parse? -
json
: If current file has.json
extension then parse usingJSON
module? -
gzip
: Python has in-builtgzip
module, not sure how to read the header specifically. Need to developGZip
class? -
nifti_header
: Need to developNiftiHeader
class. Can usenibabel
for most of this, will likely need guidance. -
ome
: Need to developOme
class. Never heard of OME before, so will need guidance. -
tiff
: Need to developTiff
class
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?
Metadata
Metadata
Assignees
Labels
No labels