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

An inconsistency between setup and lesson #1015

Open
hornemann opened this issue Sep 30, 2022 · 2 comments
Open

An inconsistency between setup and lesson #1015

hornemann opened this issue Sep 30, 2022 · 2 comments

Comments

@hornemann
Copy link

If you follow the instructions in setup, you will end up with two directories, "data" and "code". The data needed for the lesson are of course in the "data" directory. However in the lesson, it is assumed that your code is in the same directory as the data, you are using. This is of course possible, but working on code in the "data" directory seems counterintuitive. Either the lessons should be changed to include the path to the data directory, or the strange choice of working directory should be addressed during presentation.

@ddallmeier
Copy link

This is a great consideration! Spending some time teaching workshop attendees about paths is an essential skill in my opinion. Usually, it is best to have your code in your project folder and then your data in a "data" folder in the same folder. That way all your paths to your data will be ./data/datafile.csv. For anyone interested in ideal data organization strategies for scientific computing, I would recommend two papers written by Greg Wilson: Best Practices for Scientific Computing
Good enough practices in scientific computing

@gcapes
Copy link
Contributor

gcapes commented Mar 31, 2023

It's a bit confusing that the 'code' directory is not referred to in the lesson material until the very last episode (which many instructors may not get to).

another enhancement would be to have both directories contained within the same zip file.

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

3 participants