Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: tutorial for basic functions #268

Open
akhimoche opened this issue Oct 9, 2024 · 2 comments
Open

Request: tutorial for basic functions #268

akhimoche opened this issue Oct 9, 2024 · 2 comments

Comments

@akhimoche
Copy link

akhimoche commented Oct 9, 2024

Hi there,

I'm trying to build a substrate ('clean_up') but the documentation, in my opinion, is not very clear about what the functions or their arguments are specifically. For instance, 'roles' in clean_up is only shown to be a sequence of strings, not what those strings should be. If this information is located somewhere in the document or in dmlab2d, it is not easy to find. For ease of usage, I think some worked examples of building the substrates in Python and showcase the differences in usage would be very beneficial.

@jzleibo
Copy link
Collaborator

jzleibo commented Oct 9, 2024

clean_up has no roles. Check out a a substrate like predator_prey to see how to use roles.

@akhimoche
Copy link
Author

I'll have a look, thanks! My point is generally that functions like build, get_config etc should be directly explained rather than having to comb through each file to see what they do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants