original_docstring: Insert lab name information from an NWB file.
  
          Parameters
          ----------
          nwbf : pynwb.NWBFile
              The NWB file with lab name information.
          
docstring: Insert lab name information from an NWB file.
  Parameters
  
  nwbf : pynwb.NWBFile
  The NWB file with lab name information.
docstring_tokens: Insert lab name information from an NWB file . Parameters nwbf : pynwb . NWBFile The NWB file with lab name information .
code: def insert_from_nwbfile(cls, nwbf):
          """Insert lab name information from an NWB file.
  
          Parameters
          ----------
          nwbf : pynwb.NWBFile
              The NWB file with lab name information.
          """
          if nwbf.lab is None:
              print('No lab metadata found.\n')
              return
          cls.insert1(dict(lab_name=nwbf.lab), skip_duplicates=True)
code_tokens: def insert_from_nwbfile ( cls , nwbf ) : if nwbf . lab is None : print ( 'No lab metadata found.\n' ) return cls . insert1 ( dict ( lab_name = nwbf . lab ) , skip_duplicates = True )
short_docstring: Insert lab name information from an NWB file.
short_docstring_tokens: Insert lab name information from an NWB file .
comment: """Insert lab name information from an NWB file.
  
          Parameters
          ----------
          nwbf : pynwb.NWBFile
              The NWB file with lab name information.
          """