Skip to content

Improve contributing tutorial documentation#486

Open
Jeebjean wants to merge 1 commit into
Reed-CompBio:mainfrom
Jeebjean:fix/contributing-tutorial-docs
Open

Improve contributing tutorial documentation#486
Jeebjean wants to merge 1 commit into
Reed-CompBio:mainfrom
Jeebjean:fix/contributing-tutorial-docs

Conversation

@Jeebjean

Copy link
Copy Markdown

Summary

Addresses documentation gaps identified in #480.

Changes made

  • Fix Dataset API example in Step 3 to use DatasetSchema instead of a plain dict (the old example fails with the current API)
  • Add pre-flight environment checklist to Prerequisites section
  • Add note about PAT workflow scope requirement in Step 7

Out of scope for this PR (team decisions needed)

  • Stub template directory for new algorithms
  • Replacing PathLinker with a simpler Dockerfile reference
  • OS-specific instructions (macOS vs Linux)

cc @agitter
cc @ntalluri

- Fix Dataset API example to use DatasetSchema instead of plain dict
- Add pre-flight environment checklist to Prerequisites section
- Add note about PAT workflow scope requirement in Step 7

Closes Reed-CompBio#480
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 spras | 🛠️ Build #33096385 | 📁 Comparing 55fad8d against latest (d990664)

  🔍 Preview build  

5 files changed · ± 5 modified

± Modified

@ntalluri ntalluri left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks good to me. I left some questions on stuff that could be added or changed but they're more suggestions.

docker login
conda --version
git --version

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

should we also add a check to make sure SPRAS conda env is ready?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

python -c "import spras; print('SPRAS import successful')" is what is in the spras tutorial.


.. note::

If you are using HTTPS to push and your commit touches files in

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can we just explicitly say for developers to use SSH to push to SPRAS in the contributing guide? And then add a warning that if you use https the issues you mentioned will happen.

``main`` branch of the fork stays synchronized with the ``main`` branch
of the main SPRAS repository.


Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can we remove these new white space lines?

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