Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)

src/y/t/yt-2.6.2/yt/frontends/enzo/data_structures.py   yt(Download)
    def enzo(self):
        if self._enzo is None:
            import enzo
            self._enzo = enzo
        return self._enzo
    def _obtain_enzo(self):
        import enzo; return enzo
 
    @classmethod
    def _is_valid(cls, *args, **kwargs):

src/y/t/yt-2.6.2/yt/frontends/enzo/io.py   yt(Download)
    def __init__(self, pf, ghost_zones=3):
        import enzo
        self.enzo = enzo
        self.grids_in_memory = enzo.grid_data
        self.old_grids_in_memory = enzo.old_grid_data