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

Prefactor for alternate table import arguments. #67

Merged
merged 6 commits into from
Apr 18, 2023
Merged

Conversation

delucchi-cmu
Copy link
Contributor

@delucchi-cmu delucchi-cmu commented Apr 14, 2023

There are a handful of arguments that will be used for creating indexes and equijoin association tables. This pulls those arguments, their validation logic, and the provenance info generation into a parent class.

This should simplify the new classes, as well as reducing duplicated code (which pylint was VERY unhappy about).

@delucchi-cmu delucchi-cmu requested review from a team and smcguire-cmu and removed request for a team April 17, 2023 14:36
src/hipscat_import/catalog/arguments.py Outdated Show resolved Hide resolved
src/hipscat_import/catalog/arguments.py Outdated Show resolved Hide resolved
src/hipscat_import/catalog/arguments.py Outdated Show resolved Hide resolved
src/hipscat_import/runtime_arguments.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Apr 18, 2023

Codecov Report

Merging #67 (be5289a) into main (c5e9055) will increase coverage by 0.28%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
+ Coverage   98.82%   99.10%   +0.28%     
==========================================
  Files          10       11       +1     
  Lines         427      449      +22     
==========================================
+ Hits          422      445      +23     
+ Misses          5        4       -1     
Impacted Files Coverage Δ
...c/hipscat_import/catalog/command_line_arguments.py 100.00% <ø> (ø)
src/hipscat_import/__init__.py 100.00% <100.00%> (ø)
src/hipscat_import/catalog/arguments.py 100.00% <100.00%> (+1.00%) ⬆️
src/hipscat_import/runtime_arguments.py 100.00% <100.00%> (ø)

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

@delucchi-cmu delucchi-cmu merged commit dbb1fdd into main Apr 18, 2023
8 checks passed
@delucchi-cmu delucchi-cmu deleted the delucchi/source branch April 18, 2023 19:02
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