view_sample should pull by sample_id, not task_id