Beispiel #1
0
    def toDatasetPath(self, path, mode):
        """Valid values of *mode* are "rw" or "c"."""
        from miriad import CalData

        ds = CalData(path)
        handle = ds.open(mode)
        try:
            self.toDataset(handle)
        finally:
            handle.close()
        return self
Beispiel #2
0
    def toDatasetPath (self, path, mode):
        """Valid values of *mode* are "rw" or "c"."""
        from miriad import CalData

        ds = CalData (path)
        handle = ds.open (mode)
        try:
            self.toDataset (handle)
        finally:
            handle.close ()
        return self