Ejemplo n.º 1
0
    def printConstraints(self) -> None:
        """Print information about the constraints"""

        blockPrint(
            "{} Constraints".format(self.__class__.__name__),
            self.printConstraintsList(),
        )
Ejemplo n.º 2
0
    def printDataFileInfo(self) -> None:
        """Print a list of the data files"""

        blockPrint(
            "{} Data File List".format(self.__class__.__name__),
            self.printDataFileList(),
        )
Ejemplo n.º 3
0
    def printTableFileInfo(self):
        """Print table file info"""

        blockPrint(
            "{} Table File Info".format(self.__class__.__name__),
            self.printTableFileList(),
        )
Ejemplo n.º 4
0
def projectBlock(textLst: List[str]) -> None:
    """Class information as a list of strings

    Parameters
    ----------
    textLst : list[str]
        List of strings with information
    """

    blockPrint(inspect.stack()[1][3], textLst)
Ejemplo n.º 5
0
    def printWindowsForFrequency(self, listwindows=False):
        """Print information about the windows for each evaluation frequency

        Parameters
        ----------
        listwindows : bool
            Boolean flag to actually write out all the windows. Default is False as this takes up a lot of space in the terminal
        """

        blockPrint(
            "WindowSelector::windows for frequency",
            self.printWindowsForFrequencyList(listwindows),
        )
Ejemplo n.º 6
0
    def printWindowMasks(self) -> None:
        """Print mask information"""

        blockPrint("WindowSelector::window masks", self.printWindowMasksList())
Ejemplo n.º 7
0
    def printDatetimeConstraints(self):
        """Print out the datetime constraints"""

        blockPrint("WindowSelector::datetime constraints",
                   self.printDatetimeConstraintsList())
Ejemplo n.º 8
0
    def printSharedWindows(self) -> None:
        """Print out the shared windows"""

        blockPrint("WindowSelector::shared windows",
                   self.printSharedWindowsList())
Ejemplo n.º 9
0
    def printSiteInfo(self):
        """Print out information about the sites"""

        for site in self.sites:
            blockPrint("WindowSelector::site info",
                       self.printSiteInfoList(site))
Ejemplo n.º 10
0
    def printInfo(self) -> None:
        """Print information"""

        blockPrint(self.__class__.__name__, self.printList())
Ejemplo n.º 11
0
    def printComments(self) -> None:
        """Print out dataset comments"""

        blockPrint(
            "{} Comments".format(self.__class__.__name__), self.printCommentsList()
        )
Ejemplo n.º 12
0
    def printWindowTimes(self) -> None:
        """Print the times of the windows"""

        blockPrint("Windower::window times", self.printWindowTimeList())