示例#1
0
    def printConstraints(self) -> None:
        """Print information about the constraints"""

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

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

        blockPrint(
            "{} Table File Info".format(self.__class__.__name__),
            self.printTableFileList(),
        )
示例#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)
示例#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),
        )
示例#6
0
    def printWindowMasks(self) -> None:
        """Print mask information"""

        blockPrint("WindowSelector::window masks", self.printWindowMasksList())
示例#7
0
    def printDatetimeConstraints(self):
        """Print out the datetime constraints"""

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

        blockPrint("WindowSelector::shared windows",
                   self.printSharedWindowsList())
示例#9
0
    def printSiteInfo(self):
        """Print out information about the sites"""

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

        blockPrint(self.__class__.__name__, self.printList())
示例#11
0
    def printComments(self) -> None:
        """Print out dataset comments"""

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

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