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

Format complete ISS experiment and expose in starfish.data #1316

Merged
merged 5 commits into from
May 31, 2019

Conversation

ambrosejcarr
Copy link
Member

  • update starfish.data with complete ISS experiment
  • add coordinates to experiment
  • update TileFetcher

Testing strategy:

  • Ran notebook with new data, got same results for fov_000 in new experiment (is named fov_001 in master)

@codecov-io
Copy link

codecov-io commented May 7, 2019

Codecov Report

Merging #1316 into master will decrease coverage by 19.91%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #1316       +/-   ##
===========================================
- Coverage   88.96%   69.05%   -19.92%     
===========================================
  Files         146      148        +2     
  Lines        5258     5377      +119     
===========================================
- Hits         4678     3713      -965     
- Misses        580     1664     +1084
Impacted Files Coverage Δ
starfish/data.py 33.33% <ø> (-20%) ⬇️
starfish/core/experiment/builder/inplace.py 0% <0%> (-87.88%) ⬇️
starfish/test/full_pipelines/api/test_dartfish.py 20% <0%> (-80%) ⬇️
starfish/test/full_pipelines/api/test_iss_api.py 23.52% <0%> (-76.48%) ⬇️
starfish/test/full_pipelines/api/test_merfish.py 24.39% <0%> (-75.61%) ⬇️
starfish/core/spacetx_format/test_fuzz.py 31.03% <0%> (-68.97%) ⬇️
starfish/core/experiment/builder/__init__.py 31.03% <0%> (-68.97%) ⬇️
starfish/core/intensity_table/overlap.py 32.69% <0%> (-63.39%) ⬇️
.../spots/_detect_spots/local_search_blob_detector.py 32.2% <0%> (-61.87%) ⬇️
starfish/core/spacetx_format/test_field_of_view.py 43.33% <0%> (-56.67%) ⬇️
... and 69 more

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 eb7c438...de5c3a5. Read the comment docs.

Copy link
Collaborator

@shanaxel42 shanaxel42 left a comment

Choose a reason for hiding this comment

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

lgtm!

self.coordinates_df.loc[fov, "y_min"],
self.coordinates_df.loc[fov, "y_max"]
),
Coordinates.Z: 0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this experiment have multiple Z layers? If not, I think you can just omit this.

self.coordinates_df.loc[fov, "y_min"],
self.coordinates_df.loc[fov, "y_max"]
),
Coordinates.Z: 0
Copy link
Collaborator

Choose a reason for hiding this comment

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

ditto.

)


if __name__ == "__main__":
"""
This TileFetcher should be run on data found at:
s3://spacetx.starfish.data/mignardi_breast_1/raw/
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we want to move this sucker?

Copy link
Member Author

@ambrosejcarr ambrosejcarr May 29, 2019

Choose a reason for hiding this comment

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

Yes, we should move this in #1314

)


if __name__ == "__main__":
"""
Copy link
Collaborator

Choose a reason for hiding this comment

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

consider moving this to be the description argument passed to argparse.ArgumentParser()

Copy link
Member Author

Choose a reason for hiding this comment

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

If we want these scripts to be user-facing and user-friendly there's a lot of work to be done across them; right now we have a mixture of click and argparse scripts. If we think it's worth cleaning these up I'd suggest we do them all in a separate PR.

@ambrosejcarr ambrosejcarr requested a review from ttung May 29, 2019 15:50
Copy link
Collaborator

@ttung ttung left a comment

Choose a reason for hiding this comment

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

wait for green and go

@ambrosejcarr ambrosejcarr merged commit 57eeabd into master May 31, 2019
@ambrosejcarr ambrosejcarr deleted the ajc-format-iss-breast-full-experiment branch May 31, 2019 13:24
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.

4 participants