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

Add a Quick Start tutorial #1869

Merged
merged 5 commits into from
Apr 15, 2020
Merged

Add a Quick Start tutorial #1869

merged 5 commits into from
Apr 15, 2020

Conversation

mattcai
Copy link
Contributor

@mattcai mattcai commented Apr 13, 2020

See it on read the docs here.

The Quick Start tutorial is aimed at introducing new users unfamiliar with starfish to all the basic components of a starfish pipeline in under 10 minutes. It allows them to "demo" starfish and hopefully entices them to try using starfish to process their own data.

List of changes:

  • Updated welcome text on landing page (still need to reorganize and add banner)
  • Added links to quick start tutorial
  • Added quick start tutorial in the example gallery

Copy link
Collaborator

@neuromusic neuromusic left a comment

Choose a reason for hiding this comment

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

minor changes suggested, but I'm ok if you think the current way is better

Comment on lines 29 to 42
from starfish import data
from starfish.image import Filter
from starfish.image import ApplyTransform, LearnTransform
from starfish.spots import FindSpots, DecodeSpots
from starfish.types import Features, Axes
from starfish.image import Segment
from starfish.spots import AssignTargets
from starfish import ExpressionMatrix
from starfish import ImageStack

import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns
Copy link
Collaborator

Choose a reason for hiding this comment

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

for tutorials, I prefer to do imports in the same block that they are used. a large list of imports is likely to be glanced over. keeping the imports in the same block where they are used lets the user understand where each processing step lives.

Comment on lines +124 to +125
'capture_repr': ('_repr_html_', '__repr__'),
'ignore_repr_types':r'str|matplotlib.axes',
Copy link
Collaborator

Choose a reason for hiding this comment

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

clever

Comment on lines +111 to +118
# set subsection order
'subsection_order': ExplicitOrder(['../../examples/quick_start',
'../../examples',
'../../examples/data_formatting',
'../../examples/data_loading',
'../../examples/how_to',
'../../examples/pipelines',
]),
Copy link
Collaborator

Choose a reason for hiding this comment

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

that's nice

@codecov-io
Copy link

codecov-io commented Apr 15, 2020

Codecov Report

Merging #1869 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1869   +/-   ##
=======================================
  Coverage   87.77%   87.77%           
=======================================
  Files         168      168           
  Lines        5785     5785           
=======================================
  Hits         5078     5078           
  Misses        707      707           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c076c61...8d8c651. Read the comment docs.

@mattcai mattcai merged commit f019299 into master Apr 15, 2020
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.

3 participants