Check if samples is None in resynthesis
Remove pager from ls command