Skip to content

update tutorial using get_example_filepath #1040

@gdementen

Description

@gdementen

It now returns a Path object so this code is not valid anymore:

csv_dir = get_example_filepath('examples')
population = read_csv(csv_dir + '/population.csv')

and should be changed to:

csv_dir = get_example_filepath('examples')
population = read_csv(csv_dir / 'population.csv')

There might be some other usage outside of the tutorial.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions