EOSC-synergy / FAIR_eva

Apache License 2.0
4 stars 4 forks source link

Issues with low metadata epos datasets #190

Closed PalomoIFCA closed 4 months ago

PalomoIFCA commented 5 months ago

There are problems in some cases whenever the api does not get th expected values, for example in the test r1_3_01dthe code tries to look into an empty array

example element = terms_reusability_richness_metadata.loc[ terms_reusability_richness_metadata["element"].isin(["availableFormats"]), "text_value", ].values[0] Proposed solution: check the length of the list before