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
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