Skip to content

Representing objects and large arrays in the metadata #94

@pannalukacs

Description

@pannalukacs

Hi,

I'm working on the description of COMPSs workflows using the Provenance Run Crate profile. Based on the CWL parameter mapping examples, each method parameter is typically represented by a FormalParameter (for the parameter definition) and a corresponding PropertyValue (for the actual value).

I have two related questions:

  1. How should complex Python objects be represented as PropertyValue instances?
    For example, if a parameter is a custom class instance or a nested data structure, is there a recommended way to represent this in the metadata?

  2. How should very large arrays be handled in the metadata?
    Adding the entire array would probably be impractical, so should we include only a portion of it or do you recommend any other approach?
    Also, it would be interesting (though I’m not sure what is the standard way to do that) to include the array’s shape or size somehow too.

Thanks in advance!

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