lib/transient.py
def give_name(self):
        """Define name attribute as material_date."""

        if self.key_parameter is None:
            self.key_parameter = input('What is the Key parameter for basename?  ')
        if self.description is None:
            self.description = input('Add brief description for file name:  ')

        self.name = (str(self.material) + '_' +
                     str(self.description) + '_' +
                     str(getattr(self, self.key_parameter)) + '_' +
                     str(self.get_unit(self.key_parameter)))
Define name attribute as material_date.
Define name attribute as material_date.
Define name attribute as material_date .
def give_name(self):
        if self.key_parameter is None:
            self.key_parameter = input('What is the Key parameter for basename?  ')
        if self.description is None:
            self.description = input('Add brief description for file name:  ')
        self.name = (str(self.material) + '_' +
                     str(self.description) + '_' +
                     str(getattr(self, self.key_parameter)) + '_' +
                     str(self.get_unit(self.key_parameter)))
def give_name ( self ) : if self . key_parameter is None : self . key_parameter = input ( 'What is the Key parameter for basename?  ' ) if self . description is None : self . description = input ( 'Add brief description for file name:  ' ) self . name = ( str ( self . material ) + '_' + str ( self . description ) + '_' + str ( getattr ( self , self . key_parameter ) ) + '_' + str ( self . get_unit ( self . key_parameter ) ) )
Define name attribute as material_date.
Define name attribute as material_date .
"""Define name attribute as material_date."""
self