

import os
import pandas as pds


def from_ascii(filename):
    df = pds.read_csv(filename, sep=' ', skiprows=6, header=None)
    return df


def filename(diag_name, path, time, species_name, patch):
    return path + os.path.sep + diag_name + '_' + species_name +\
           '_{:02}_'.format(patch) + '{:.6e}'.format(time) + '.txt'

cdd5373b46fda0e138d52ae6b59b0c41c1300ae6
<mask token>

<mask token>


def filename(diag_name, path, time, species_name, patch):
    return (path + os.path.sep + diag_name + '_' + species_name + '_{:02}_'
        .format(patch) + '{:.6e}'.format(time) + '.txt')

<mask token>


def from_ascii(filename):
    df = pds.read_csv(filename, sep=' ', skiprows=6, header=None)
    return df


def filename(diag_name, path, time, species_name, patch):
    return (path + os.path.sep + diag_name + '_' + species_name + '_{:02}_'
        .format(patch) + '{:.6e}'.format(time) + '.txt')

import os
import pandas as pds


def from_ascii(filename):
    df = pds.read_csv(filename, sep=' ', skiprows=6, header=None)
    return df


def filename(diag_name, path, time, species_name, patch):
    return (path + os.path.sep + diag_name + '_' + species_name + '_{:02}_'
        .format(patch) + '{:.6e}'.format(time) + '.txt')



import os
import pandas as pds


def from_ascii(filename):
    df = pds.read_csv(filename, sep=' ', skiprows=6, header=None)
    return df


def filename(diag_name, path, time, species_name, patch):
    return path + os.path.sep + diag_name + '_' + species_name +\
           '_{:02}_'.format(patch) + '{:.6e}'.format(time) + '.txt'
