-
Notifications
You must be signed in to change notification settings - Fork 0
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
Iss18 notebook plots #24
Conversation
@DavidHerreros can you have a look at the notebook. I think it's ready to merge. |
Sure! I will finish the cache funcitonality first and then change to this branch to test everything 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestions for tutorial notebook 3.1:
- Probably it would be useful to add an explanation of the tow paths that should be given to run the notebook? It is a bit hard to know where they should point to execute everything
- I would also add the interactive path browser as implemented in the other notebooks
Suggestions for tutorial notebook 5:
- It seems
config_plotting.yaml
is missing from the config file templates - I would implement the path browsing tool here as well, including a markdown cell specifing that there is a template available in the
config_files
folder
Regarding notebook 5, this is what an example config files looks like. How do you suggest I interactively specify a way to make all those paths? Also the dist2dist_results.pkl_globs are strings with wildcards for glob to expand (like ls)
|
I didn't mean for this notebook to be on main. I've removed. |
I think with the new place holders in the config file is quite clear! Only I have one question, pkl_globs and pkl_fnames are two different ways to specify the same paths? If that is the case, which one is prefered if they are specified at the same time? If only one of them is needed to run the notebook, I woould probably mention it in the config file template to make it clearer. Also, while testing the notebook an import error is being raised on this line:
Any idea why this may be happeing? I have pulled the repo and installed everything again just in case but the error is still there |
it's because there might be dozens of result .pkl files, and specifying them individually in the config file is tedious. In the notebook, some results are made from dist2dist_results.pkl_fnames, and others from pkl_fnames.pkl_globs. I could make the names more informative of the plots they are used for?
|
Oh ok now I get it! I think the clarification would be useful :) Probably adding it as a comment to the config file would be enough so there is no need to change the code somewhere else. |
Yes very good catch. That's an old repo I have locally - and I didn't realize I was importing from it. I've brought in the function to this repo now. |
@DavidHerreros I've addressed your concerns. This should be good to merge. Can you confirm? |
Approved! 👍 |
#18