Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework data nodes #356

Merged
merged 15 commits into from
May 29, 2024
Merged

Rework data nodes #356

merged 15 commits into from
May 29, 2024

Conversation

HLWeil
Copy link
Member

@HLWeil HLWeil commented May 6, 2024

  • replace "Raw Data File", "Derived Data File" and "Image File" column headers with "Data"

ARC-Specification#93

  • Added fragment selectors to ArcTable

#300
ARC-Specification#93

  • Added datamap object

ARC-Specification#104

  • Added datamap contract handling

@HLWeil HLWeil requested a review from Freymaurer May 6, 2024 09:20
Copy link
Collaborator

@Freymaurer Freymaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you write tests to check if backwards compatibility is maintained?

| CompositeHeader.Output IOType.DerivedDataFile -> ProcessOutput.createDerivedData(value.ToString())
| CompositeHeader.Output IOType.Data -> ProcessOutput.createImageFile(value.ToString())
| CompositeHeader.Output IOType.Data -> ProcessOutput.createRawData(value.ToString())
| CompositeHeader.Output IOType.Data -> ProcessOutput.createDerivedData(value.ToString())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do!

Copy link
Collaborator

@Freymaurer Freymaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

datamap missing in ToString override

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uploading image.png…

@@ -1,31 +1,36 @@
namespace ARCtrl.Process
namespace ARCtrl
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this not ARCtrl.Process anymore? but still located in Process folder? Depending on the answer, the record type should be changed to class

Copy link
Member Author

@HLWeil HLWeil May 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the type is now also used in the ArcTable. But as it is now being referenced both from ArcTable and Process, finding a place in the project is a bit difficult.

@@ -15,10 +15,12 @@ type CompositeCell =
///
/// https://isa-specs.readthedocs.io/en/latest/isatab.html#unit
| Unitized of string*OntologyAnnotation
| Data of Data
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this Data is the Data from Process/Data.fs then Data must be changed to class with AttachMembers!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do!

<PackageReference Include="Fable.Pyxpecto" Version="1.0.1" />
<PackageReference Include="Fable.Core" Version="4.2.0" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fable.Core dependency seems irrelevant as this should come from project reference?

Copy link
Collaborator

@Freymaurer Freymaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move files outside process folder if they are used in ArcTypes... plus:

image

@HLWeil HLWeil merged commit 77828a9 into main May 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants