Fix case when mapper has no input
Nothing prevents users to create a mapper with no input port.
This MR adds some checks to avoid pipeline errors.
Edited by Michael Migliore
Nothing prevents users to create a mapper with no input port.
This MR adds some checks to avoid pipeline errors.