view_sample should accept sample_id, not task_id, as an argument