- if File.file?(lab_cluster_file_path)
cluster_file_path = lab_cluster_file_path
- else
cluster_file_path = lkp_cluster_file_path
- end
You can use cluster_file_path = File.file?(lab_cluster_file_path) ? lab_cluster_file_path : lkp_cluster_file_path here.
Thanks, Yuanchao