CADET-Process comparator.add_difference_metric()

Hello there,

regarding CADET-Process comparator.add_difference_metric() method: Every example has (…, solution_path=‘outlet.outlet’), which tries to use the whole outlet to compare against, i.e. all components returned at outlet.outlet. If I want to only compare against a single component of the outlet, how would I do that?


Solved via text-message from @j.schmoelder :

The difference metric constructor takes a components kwarg. So

        ..., ..., 'outlet.outlet', components=["Protein X"]

solves the problem.

1 Like