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

Updates installation instructions and CONTRIBUTING #230

Merged
merged 7 commits into from
Feb 9, 2024

Conversation

billbrod
Copy link
Collaborator

Adds some info to help explain optional dependencies and the branching workflow (@EricThomson I based a lot of that on what you have in Caiman, which is great!)

more about jupyter, optional deps
more info about how branching and contribution workflow works
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (de8f930) 86.84% compared to head (da6f263) 86.84%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #230   +/-   ##
=======================================
  Coverage   86.84%   86.84%           
=======================================
  Files          35       35           
  Lines        3344     3344           
=======================================
  Hits         2904     2904           
  Misses        440      440           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@EricThomson EricThomson left a comment

Choose a reason for hiding this comment

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

Overall looks great, not many comments.

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated
[contributing to the code below](#contributing-to-the-code) for more details on
this process.

The amount and form of documentation to add depends on the size of the submitted
Copy link
Collaborator

Choose a reason for hiding this comment

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

I got a little lost here maybe change "to add depends on.." to "that would need to be added along with your changes would depend on.." (in order to pace the phrasing in the previous para). On the other hand, this is providing quite a bit of low-level detail that might be better lifted and shifted to a different section of this document. I'm not sure it belongs here.

CONTRIBUTING.md Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
docs/install.rst Show resolved Hide resolved
docs/install.rst Show resolved Hide resolved
docs/install.rst Outdated Show resolved Hide resolved
docs/install.rst Outdated Show resolved Hide resolved
docs/install.rst Outdated Show resolved Hide resolved
Copy link
Collaborator

@EricThomson EricThomson left a comment

Choose a reason for hiding this comment

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

Much improved!

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
docs/install.rst Outdated Show resolved Hide resolved
docs/install.rst Outdated Show resolved Hide resolved
docs/install.rst Outdated Show resolved Hide resolved
docs/install.rst Show resolved Hide resolved
docs/install.rst Outdated
Running the notebooks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Once you have jupyter installed and the kernel set up, navigate to plenoptic's ``examples/`` directory on your terminal and activate the environment you installed jupyter into (``plenoptic`` for 1, ``base`` for 2 or 3), then run ``jupyter`` and open up the notebooks. If you followed the second or third method, you should be prompted to select your kernel the first time you open a notebook: select the one named "plenoptic".
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not just go to the dir, conda activate plenoptic, and get started?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

you have to activate the environment that jupyter is in, so you'll run conda activate plenoptic only if you followed method 1. does that make sense?

@billbrod billbrod merged commit 113c034 into main Feb 9, 2024
76 of 77 checks passed
@billbrod billbrod deleted the install_instructions_update branch February 9, 2024 21:36
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

Successfully merging this pull request may close these issues.

2 participants