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

Standardize usage of .tiff extension #801

Merged
merged 22 commits into from
Nov 2, 2022
Merged

Standardize usage of .tiff extension #801

merged 22 commits into from
Nov 2, 2022

Conversation

alex-l-kong
Copy link
Contributor

What is the purpose of this PR?

Closes #792. Replace any use of .tif with .tiff.

How did you implement your changes

Fairly straightforward renaming. A couple of caveats:

  • DeepCell extracts the files as .tif in the .zip files, so these need to be explicitly renamed prior to save
  • A new HuggingFace PR has been opened to address the renaming of the example dataset files

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@alex-l-kong alex-l-kong marked this pull request as draft October 31, 2022 18:29
@alex-l-kong alex-l-kong self-assigned this Oct 31, 2022
Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

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

Looks good. Did you do a control-f for the whole repo/notebooks to make sure none slipped through?

ark/utils/deepcell_service_utils.py Show resolved Hide resolved
ark/utils/load_utils.py Outdated Show resolved Hide resolved
ark/utils/load_utils.py Outdated Show resolved Hide resolved
Copy link
Contributor

@srivarra srivarra left a comment

Choose a reason for hiding this comment

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

Looks good!

@alex-l-kong alex-l-kong marked this pull request as ready for review November 2, 2022 17:35
Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

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

All of those images in /example_dataset are no longer needed because of the huggingface dataset, right? If so they can be removed.

Some of that example data is for the spatial analysis notebooks (I think), so it needs to be kept around until we update the example dataset for those notebooks. However, anything that is only used for notebooks 1-4 can be deleted.

Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

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

Looks good, just need to change the huggingface references back to main

ark/utils/example_dataset_test.py Outdated Show resolved Hide resolved
ark/utils/example_dataset.py Outdated Show resolved Hide resolved
Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

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

Looks good!

@ngreenwald ngreenwald merged commit 0105298 into main Nov 2, 2022
@ngreenwald ngreenwald deleted the tiff_standard branch November 2, 2022 22:18
@srivarra srivarra added the enhancement New feature or request label Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Standardize use of .tiff extension in ark-analysis
3 participants