
11 Nov
2020
11 Nov
'20
7:37 p.m.
+ + 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