def write_input(self, SelPackList=False, check=False):
    '\n        Write the input.\n\n        Parameters\n        ----------\n        SelPackList : False or list of packages\n\n        '
    if check:
        self.check(f=f'{self.name}.chk', verbose=self.verbose, level=1)
    if (self.parameter_load and (not self.free_format_input)):
        if self.verbose:
            print('\nResetting free_format_input to True to preserve the precision of the parameter data.')
        self.free_format_input = True
    if self.verbose:
        print('\nWriting packages:')
    if (SelPackList == False):
        for p in self.packagelist:
            if self.verbose:
                print('   Package: ', p.name[0])
            try:
                p.write_file(check=False)
            except TypeError:
                p.write_file()
    else:
        for pon in SelPackList:
            for (i, p) in enumerate(self.packagelist):
                if (pon in p.name):
                    if self.verbose:
                        print('   Package: ', p.name[0])
                    try:
                        p.write_file(check=False)
                    except TypeError:
                        p.write_file()
                        break
    if self.verbose:
        print(' ')
    self.write_name_file()
    return
Write the input.

Parameters
----------
SelPackList : False or list of packages
def write_input(self, SelPackList=False, check=False):
    '\n        Write the input.\n\n        Parameters\n        ----------\n        SelPackList : False or list of packages\n\n        '
    if check:
        self.check(f=f'{self.name}.chk', verbose=self.verbose, level=1)
    if (self.parameter_load and (not self.free_format_input)):
        if self.verbose:
            print('\nResetting free_format_input to True to preserve the precision of the parameter data.')
        self.free_format_input = True
    if self.verbose:
        print('\nWriting packages:')
    if (SelPackList == False):
        for p in self.packagelist:
            if self.verbose:
                print('   Package: ', p.name[0])
            try:
                p.write_file(check=False)
            except TypeError:
                p.write_file()
    else:
        for pon in SelPackList:
            for (i, p) in enumerate(self.packagelist):
                if (pon in p.name):
                    if self.verbose:
                        print('   Package: ', p.name[0])
                    try:
                        p.write_file(check=False)
                    except TypeError:
                        p.write_file()
                        break
    if self.verbose:
        print(' ')
    self.write_name_file()
    return