nfdi4plants / ARCtrl

Library for management of Annotated Research Contexts (ARCs) using an in-memory representation and runtime-agnostic contract systems.
MIT License
16 stars 8 forks source link

[Feature Request] CompositeCell.Data compatibility issues with existing logic #417

Closed Freymaurer closed 3 months ago

Freymaurer commented 4 months ago

Issue

To interact between ARCtrl and Excel for example i use the CompositeCell.GetContent() function. This returns 1, 3 or 4 strings in an array. Which i also use to reverse the information into the correct cell type.

The new Data cell also returns 3 strings and makes the logic not unique anymore. Combined with a lot more settable fields i am unsure how to progress from this point:

image

https://github.com/nfdi4plants/ARCtrl/blob/dc3822fd1fec14c6009425e618531adf8828119a/src/Core/Table/CompositeCell.fs#L50

Requirements

HLWeil commented 3 months ago

After discussion with @Freymaurer, this is not possible.

Header is necessary to distinguish between the types of 3 cell Data content and e.g. Parameter content.