Commits
499 499 | # for i in [0, 1]: |
500 500 | shutil.copytree(src, dst) |
501 501 | myms.open(dst, nomodify=False) |
502 502 | myms.statwt(timebin=timebin, combine=combine, wtrange=wtrange) |
503 503 | myms.done() |
504 504 | self.compare(dst, ref) |
505 505 | # self._check_weights( |
506 506 | # dst, row_to_rows, 'c', None, True, None, wtrange |
507 507 | # ) |
508 508 | shutil.rmtree(dst) |
509 - | |
509 + | |
510 510 | def test_preview(self): |
511 511 | """Test preview mode""" |
512 512 | dst = "ngc5921.split.preview.ms" |
513 513 | [refwt, refwtsp, refflag, reffrow, refdata] = _get_dst_cols(src) |
514 514 | combine = "corr" |
515 515 | timebin = "300s" |
516 516 | wtrange = [1, 2] |
517 517 | preview = True |
518 518 | shutil.copytree(src, dst) |
519 519 | myms.open(dst, nomodify=False) |