Skip to content
logo
In Silico Framework
split_file_to_buffers
Initializing search
    in_silico_framework
    • API reference
    • Tutorials
    • Installation
    • File & data formats
    • Bibliography
    in_silico_framework
    • API reference
      • Interface
      • biophysics_fitting
      • data_base
        • IO
        • analyze
        • db_initializers
        • data_base_register
        • dbopen
        • distributed_lock
        • exceptions
        • isf_data_base
        • utils
          • silence_stdout
          • mkdtemp
          • DelayedKeyboardInterrupt
          • bcolors
          • chunkIt
          • convertible_to_int
          • split_file_to_buffers
            • Fdata_base.utils.split_file_to_buffers
              • Parameters
              • Returns
              • Return type
          • first_line_to_key
          • pandas_to_array
          • select
          • pooled_std
          • skit
          • unique
          • cache
          • fancy_dict_compare
          • wait_until_key_removed
          • get_file_or_folder_that_startswith
          • get_file_or_folder_that_endswith
          • flatten
          • synchronous_ddf_concat
          • myrepartition
          • df_colnames_to_str
          • colorize_key
          • colorize_str
          • calc_recursive_filetree
          • rename_for_deletion
          • delete_in_background
          • is_db
        • is_data_base
        • is_sub_data_base
        • get_db_by_unique_id
      • simrun
      • single_cell_parser
      • singlecell_input_mapper
      • spike_analysis
      • visualize
    • Tutorials
    • Installation
    • File & data formats
    • Bibliography
    • Fdata_base.utils.split_file_to_buffers
      • Parameters
      • Returns
      • Return type

    data_base ❭ utils ❭ split_file_to_buffers

    split_file_to_buffers¶

    data_base.utils.split_file_to_buffers(f, split_str='#')¶

    Reads a file f and splits it wherever split_str is found.

    Parameters:¶
    • f (file) – file to be split

    • split_str (str) – string to split the file. Default is ‘#’

    Returns:¶

    list of StringIO Buffers.

    Return type:¶

    list

    See also

    adapted from http://stackoverflow.com/a/33346758/5082048

    Previous convertible_to_int
    Next first_line_to_key
    © Copyright 2025 Max Planck Institute for Neurobiology of Behavior - CAESAR.
    Created using Sphinx 7.1.2. and Sphinx-Immaterial