Commits

Kumar Golap authored 7df8990a2ba
wrong logic

casatasks/src/private/imagerhelpers/imager_parallel_continuum.py

Modified
442 442 for node in self.listOfNodes:
443 443 cmd = "toolsi.reloadcfcache()";
444 444 casalog.post("reloadCFCache, CMD = {} {}".format(node, cmd))
445 445 joblist.append(self.PH.runcmd(cmd,node));
446 446 self.PH.checkJobs(joblist);
447 447 #############################################
448 448 def fillCFCache(self):
449 449 #casalog.post("-----------------------fillCFCache------------------------------------")
450 450 # cflist=[f for f in os.listdir(self.allgridpars['cfcache']) if re.match(r'CFS*', f)];
451 451 # partCFList =
452 - if(str(self.allgridpars['0']['gridder']).startswith("awp")):
452 + if(not str(self.allgridpars['0']['gridder']).startswith("awp")):
453 453 return
454 454
455 455 allcflist = self.PH.partitionCFCacheList(self.allgridpars['0']);
456 456 cfcPath = "\""+str(self.allgridpars['0']['cfcache'])+"\"";
457 457 ftmname = "\""+str(self.allgridpars['0']['gridder'])+"\"";
458 458 psTermOn = str(self.allgridpars['0']['psterm']);
459 459 aTermOn = str(self.allgridpars['0']['aterm']);
460 460 conjBeams = str(self.allgridpars['0']['conjbeams']);
461 461 #aTermOn = str(True);
462 462 # casalog.post("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@")

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut