ssi-dk / bifrost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix issue where a component requirement isn't working. Currently it's checking off it's own id and not that of the target.

kimleeng opened this issue · comments

new desired code should be:

elif category == "component":
                    component_to_check = requirement.split(".")[1]
                    field = requirement.split(".")[2:]
                    expected_value = requirements[requirement]
                    s_c_db = get_sample_component(sample_id=self.sample_id,
                                                  component_name=component_to_check)