die"logic_name' must be defined in every analysis";
...
...
@@ -374,6 +386,13 @@ sub run {
warn"Creating analysis '$logic_name'.\n";
if($rc_id){
warn"(-rc_id => $rc_id) syntax is deprecated, please start using (-rc_name => 'your_resource_class_name')";
}elsif($rc_name){
my$rc=$resource_class_adaptor->fetch_by_name($rc_name)ordie"Could not fetch resource with name '$rc_name', please check the resource_classes() method of your PipeConfig";