awkward icon indicating copy to clipboard operation
awkward copied to clipboard

docs: add user-guide for header-only layout builder

Open ManasviGoyal opened this issue 3 years ago • 9 comments

ManasviGoyal avatar Aug 25 '22 06:08 ManasviGoyal

@agoose77 please have a look

ManasviGoyal avatar Aug 25 '22 06:08 ManasviGoyal

Codecov Report

Merging #1628 (4f5d6f9) into docs (13eb698) will increase coverage by 2.10%. The diff coverage is n/a.

:exclamation: Current head 4f5d6f9 differs from pull request most recent head fa199af. Consider uploading reports for the commit fa199af to get more accurate results

Additional details and impacted files
Impacted Files Coverage Δ
src/awkward/_v2/numba.py
src/awkward/_v2/operations/ak_prod.py
src/awkward/_v2/_connect/numpy.py
src/awkward/_v2/operations/ak_firsts.py
src/awkward/_v2/operations/ak_to_backend.py
src/awkward/_v2/forms/indexedform.py
src/awkward/_v2/forms/numpyform.py
src/awkward/_v2/contents/unmaskedarray.py
src/awkward/_v2/types/uniontype.py
src/awkward/_v2/operations/ak_copy.py
... and 325 more

codecov[bot] avatar Aug 25 '22 07:08 codecov[bot]

@ianna Should I also add the dump() method to print the output to show the buffer contents?

ManasviGoyal avatar Aug 25 '22 11:08 ManasviGoyal

@ianna Should I also add the dump() method to print the output to show the buffer contents?

I don't think it is needed here. You have a link to the example in c++.

ianna avatar Aug 25 '22 11:08 ianna

This needs a bit more work on the CI side (me!)

agoose77 avatar Aug 25 '22 14:08 agoose77

As discussed in our meeting, we'll drop cling here as it's not hugely motivated.

agoose77 avatar Aug 31 '22 13:08 agoose77

As discussed today, I just need a readable copy of the text to send to the ctapipe developers; this PR can be merged later. It looks to me like I can just use this file:

https://github.com/scikit-hep/awkward/blob/manasvi/layout-builder-user-guide/docs-sphinx/user-guide/how-to-use-header-only-layoutbuilder.md

(They can read markdown.) Is that it? I plan to send this to them by email.

jpivarski avatar Sep 08 '22 17:09 jpivarski

As discussed today, I just need a readable copy of the text to send to the ctapipe developers; this PR can be merged later. It looks to me like I can just use this file:

https://github.com/scikit-hep/awkward/blob/manasvi/layout-builder-user-guide/docs-sphinx/user-guide/how-to-use-header-only-layoutbuilder.md

(They can read markdown.) Is that it? I plan to send this to them by email.

Yes. This can be used. If I am right, I think PR is failing due to some issues on the CI side for running the C++ code blocks but that shouldn't be any issue if we are going to send only the Markdown file.

Please let me know if anything else needs to be added in the user-guide. Should I also add instructions about Awkward installation and compiler flag options like Ianna mentioned? I wasn't sure how to add the instructions for that.

Thanks.

ManasviGoyal avatar Sep 09 '22 02:09 ManasviGoyal

@jpivarski here's an HTML rendered variant of @ManasviGoyal's docs: index.html.txt

The default PDF export was less appealing than the HTML generation (I used the single-document exporter which doesn't use Sphinx). I can render a PDF if needs be, though.

agoose77 avatar Sep 09 '22 07:09 agoose77

Hi, @agoose77 I have added a few changes. Please have a look in case anything needs to fixed.

Are they any other changes pending for this PR?

ManasviGoyal avatar Oct 03 '22 00:10 ManasviGoyal

@ManasviGoyal my force-push alias was set to git push --force instead of git push --force-with-lease ... so I managed to overwrite your changes. Sorry! I recovered a single commit (the old HEAD) 5f06f73, could you confirm that you only added a single commit, and it was 5f06f73? I suggest not pulling this branch until you're confident it's correct! :)

agoose77 avatar Oct 03 '22 10:10 agoose77

@ManasviGoyal my force-push alias was set to git push --force instead of git push --force-with-lease ... so I managed to overwrite your changes. Sorry! I recovered a single commit (the old HEAD) 5f06f73, could you confirm that you only added a single commit, and it was 5f06f73? I suggest not pulling this branch until you're confident it's correct! :)

yes it is only one commit - 5f06f73

ManasviGoyal avatar Oct 03 '22 14:10 ManasviGoyal