mplus_model.py
def addModelLabel(self, label):
        """Labels of lines given only single label.

        Automatically adds numbers to the label.

        Parameters
        ----------
        label : string
        """

        if len(self.labels) == 0:
            new_fill = True
        else:
            new_fill = False

        for i, line in enumerate(self.model):

            if new_fill:
                self.labels.append(label + str(i))
            else:
                self.labels[i] = label + str(i)
Labels of lines given only single label.

        Automatically adds numbers to the label.

        Parameters
        ----------
        label : string
        
Labels of lines given only single label.
Automatically adds numbers to the label.

Parameters

label : string
Labels of lines given only single label . Automatically adds numbers to the label . Parameters label : string
def addModelLabel(self, label):
        if len(self.labels) == 0:
            new_fill = True
        else:
            new_fill = False
        for i, line in enumerate(self.model):
            if new_fill:
                self.labels.append(label + str(i))
            else:
                self.labels[i] = label + str(i)
def addModelLabel ( self , label ) : if len ( self . labels ) == 0 : new_fill = True else : new_fill = False for i , line in enumerate ( self . model ) : if new_fill : self . labels . append ( label + str ( i ) ) else : self . labels [ i ] = label + str ( i )
Labels of lines given only single label.
Labels of lines given only single label .
"""Labels of lines given only single label.

        Automatically adds numbers to the label.

        Parameters
        ----------
        label : string
        """
self
label