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

Refactor/py pkg update #39

Merged
merged 17 commits into from
Apr 25, 2024
Merged

Refactor/py pkg update #39

merged 17 commits into from
Apr 25, 2024

Conversation

saalUW
Copy link
Member

@saalUW saalUW commented Apr 22, 2024

Added:

  • py-pkg format files (ruff, doc build, etc.) // pyDisagg specific info is missing
  • pre-config.yaml file // current implementation means the user has to pip install pre-config and run in the pydisagg directory
  • init file to age_split

Updated:

  • init file
  • build.yml // updated install and run steps, added filepath to ensure pydisagg venv is being called for the test
  • pyproject // changed setup.cfg to match pyproject standards

Removed:

  • setup.cfg / .py
  • sphinx directory

saalUW and others added 16 commits April 18, 2024 15:33
py-pkg files are not edited for pyDisagg yet
Updated innit for easier calling
Commented out unused functions but kept them incase I am missing use case
Need to write test for split_datapoint
Returned object for split_rate_jacobian but unsure if this is correct
Still getting used to running Ruff, doesn't seem to want to function in the terminal and the VS code extension isn't formatting all so i went through the src files manually and Ctrl + S them ... can we review when you're back?
forgot to remove lint.yml
pip installed ruff and re-ran the format to include the 3 I was missing
previous version was crashing for me so hopefully this change fixes it
I re-ran the code with the update on an R file and it seemed to load in correctly. Notable changes are not specifying sphinx,  and pytest.
    import pydisagg.transformations as tr
E   ModuleNotFoundError: No module named 'pydisagg'
@saalUW saalUW added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 22, 2024
@saalUW saalUW requested a review from zhengp0 April 22, 2024 21:41
@saalUW saalUW self-assigned this Apr 22, 2024
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
src/pydisagg/models.py Outdated Show resolved Hide resolved
src/pydisagg/preprocess.py Outdated Show resolved Hide resolved
Copy link
Member

@zhengp0 zhengp0 left a comment

Choose a reason for hiding this comment

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

Thanks very much @saalUW!! This is looking better and better! I left some minor comments, take a look when you get a chance.

Chnaged license
corrected github url
removed dev_dependencies from build
removed init code from age_split sub directory
ruff formatted files
numpy format for doc in preprocess
@saalUW saalUW requested a review from zhengp0 April 24, 2024 15:51
Copy link
Member

@zhengp0 zhengp0 left a comment

Choose a reason for hiding this comment

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

Thanks @saalUW! This looks good!

@zhengp0 zhengp0 merged commit 05ccfb1 into main Apr 25, 2024
2 checks passed
@zhengp0 zhengp0 deleted the refactor/py-pkg-update branch April 25, 2024 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants