fetch each compound for a pathway
fetch compound has a lens param