Closed IsakNaslundBh closed 2 months ago
@BHoMBot check compliance @BHoMBot check unit-tests
@BHoMBot check unit-tests
@BHoMBot check unit-tests
Have tried to get all structures UTs working as intended now.
The only one still failing locally is the Cellular section, and that is a serialisation issue rather than a UT issue.
It is coming from the change to how the name is handled in https://github.com/BHoM/BHoM_Engine/pull/3144 . Where the obejct returned has an empty name, but when serialised and de-serialised it comes back with a null name.
Might be worth raising an issue for, not sure. Could potentially set names on deserialization to emtpy strings rather than null, but that could cause similar issues the other way around. Other otption would be to roll back the change for the name made in the linked PR, or make it onyl skip name if null, rather than NullOrEMpty. Nontheless, out of scope for this particular PR.
The Bot seem to agree with me. Think this can be reviewed now. Only failing UT for structures is the one I mentioned above. The rest is also to be fixed, but not in this PR, but should be fixed by the corresponding code owners, which is @IsakNaslundBh , @alelom @peterjamesnugent @FraserGreenroyd (See current failing tests)
@BHoMBot check compliance @BHoMBot check required
@BHoMBot this is a DevOps instruction. I am authorising dispensation to be granted on check ref. 24100093353
Providing dispensation as of comment here: https://github.com/BHoM/BHoM_Engine/pull/3330#issuecomment-2069287165
@BHoMBot check ready-to-merge
Issues addressed by this PR
Closes #3323
Found by investigating issue with unit tests. Problem was a real stack overflow exception in the area method for the FEMesh.
All structural dataset re-serialised to account for the change from StartNode to Start etc on the bars.
Test files
Unit-tests should now run.
Changelog
Additional comments