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

Check for valid catalog directories. #136

Merged
merged 2 commits into from Oct 5, 2023
Merged

Conversation

delucchi-cmu
Copy link
Contributor

Change Description

Uses new hipscat.io.validation.is_valid_catalog to check for basic catalog existence/validity for catalogs that are used for inputs to other import pipelines.

Note that the smoke test is currently failing after the release of the above method. This PR aims to address the failing test, as well as augment existing passing checks.

Code Quality

  • I have read the Contribution Guide
  • My code follows the code style of this project
  • My code builds (or compiles) cleanly without any errors or warnings
  • My code contains relevant comments and necessary documentation

@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

Merging #136 (86f1112) into main (c6f7166) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #136   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           24        24           
  Lines          939       949   +10     
=========================================
+ Hits           939       949   +10     
Files Coverage Δ
src/hipscat_import/index/arguments.py 100.00% <100.00%> (ø)
...scat_import/margin_cache/margin_cache_arguments.py 100.00% <100.00%> (ø)
src/hipscat_import/soap/arguments.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@camposandro camposandro 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 :)

@delucchi-cmu delucchi-cmu merged commit 239f982 into main Oct 5, 2023
14 checks passed
delucchi-cmu added a commit that referenced this pull request Oct 6, 2023
* unpin sphinx versions (#134)

* Verification pipeline boilerplate (#126)

* Verification pipeline boilerplate

* Input catalog options.

* Contribution docs updates.

* Merge recent changes (#135)

* Use minimum stage name formatting.

* Run copier.

* Add a tad more context for failure email.

* Pin pandas version

* Remove benchmarks for now.

* unpin sphinx versions (#134)

---------

Co-authored-by: Max West <110124344+maxwest-uw@users.noreply.github.com>

---------

Co-authored-by: Max West <110124344+maxwest-uw@users.noreply.github.com>

* Check for valid catalog directories. (#136)

* Check for valid catalog directories.

* Hit uncovered file check.

---------

Co-authored-by: Max West <110124344+maxwest-uw@users.noreply.github.com>
@delucchi-cmu delucchi-cmu deleted the delucchi/validation branch October 6, 2023 12:55
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.

None yet

2 participants