pynwb.testing.mock.utils module

pynwb.testing.mock.utils.name_generator(name)[source]

Returns unique names of neurodata types using an incrementing number. The first time you pass “TimeSeries” it returns “TimeSeries”. The second time, it returns “TimeSeries2”, the third time it returns “TimeSeries3”, etc.

Parameters:

name (str) – name of neurodata_type, e.g. TimeSeries

Returns:

name of neurodata_object

Return type:

str