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

13 TeV cpp, pyroot, and Rdataframe notebooks #58

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

marianaiv
Copy link
Collaborator

I updated the notebooks for 13 TeV in the folders cpp, pyroot and Rdataframe.

I added documentation to the notebooks that made sense to me. In this document I listed the notebooks that I think shouldn't be linked in the website and should probably be deleted (which are the ones I didn't added documentation to). I can delete them in this same PR if we agree about it.

Aside from the added documentation, I changed some file names and folder names so that the repository makes more sense. I'll update the links for everything in the website once we decide to merge.

@marianaiv marianaiv added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 10, 2024
@marianaiv marianaiv self-assigned this Sep 10, 2024
@marianaiv marianaiv requested a review from a team as a code owner September 10, 2024 12:06
@marianaiv
Copy link
Collaborator Author

@Soap2G since I changed the name of some files/folders, how can I fix the automatic checks?

Copy link
Collaborator

@Soap2G Soap2G left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @marianaiv, thanks for the changes, looks very good to me!

Let me just comment on a couple of points:

  1. Pipeline failing on 3 jobs: this is actually a bug, that is given by the fact that in the pipeline we make git detect all the modified files, and this includes the deleted ones. Therefore, the 3 jobs failing are failing because the script cannot cd into a folder that doesn't exist anymore. We can fix that in the workflow file to force the command to return only the added or modified files:
DIFF=$(git diff --name-status origin/master...HEAD --diff-filter=dr | grep ipynb || true)

where --diff-filter=dr excludes deleted or renamed files. Not 100% sure it works, needs to be tested.

  1. the general papermill script (the one that runs on all the notebooks) is built to have hardcoded folders. In the case of python, the relevant line is here. We should change it to account for the pyroot folder, rather than python.

  2. Just for the sake of completeness, I didn't see any conflicts wrt PR Updating broken notebooks #57, so I believe we are good. But an additional eye doesn't hurt :)

@marianaiv
Copy link
Collaborator Author

Hi @Soap2G,

Thanks for the insight!

On the notebooks: I didn't change the notebooks in the uproot folder. I'm waiting for that PR to be merge to start checking those 🙂

@Soap2G Soap2G mentioned this pull request Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants