-
Notifications
You must be signed in to change notification settings - Fork 126
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 code py3.10 xyluo25 #146
base: master
Are you sure you want to change the base?
Conversation
@xyluo25 We really do appreciate your contributions! I think one of the main points that @martinfleis is trying to make here is that we should all discuss proposed changes and agree on scope before work begins. While this current PR certainly is much more reviewable than #144, we still would ideally discuss the proposed changes in an issue and get the lead maintainers's opinion (@Ziqi-Li). And this can be done iteratively. We deeply value the time commitment from all contributors (especially newcomers) and want that experience to both be rewarding and constructive! |
….py and test_parallel.py
Hi @jGaboardi, thank you for your constructive suggestions. I am currently a Ph.D. student at ASU, working in part with Professor Stewart Fotheringham. After discussing with Professor Fotheringham, we have decided to upgrade the current codebase to a newer version (Python 3.10 or higher). Additionally, we are considering the inclusion of more functions into the package in the future. I am truly grateful for @martinfleis's invaluable feedback and am learning a lot from his insights. Our goal is to continually update the package and contribute to the open-source community, serving a broader spectrum of developers. @jGaboardi, I totally agree with your comment: "We should all discuss proposed changes and agree on the scope before work begins.". I have attached the document outlining the proposed changes to my initial pull request, which were confirmed after consultation with Professor Stewart Fotheringham. However, I believe a further confirmation from @Ziqi-Li regarding these changes is still necessary. Please refer to the attached document for details of changes. |
Thanks for the additional context, you should've stated that early on :). In this case, I'll let @Ziqi-Li and @TaylorOshan handle your PRs. All my comments still apply though, including opening issues in the repository to discuss the changes before opening a PR implementing them. @Ziqi-Li @TaylorOshan @jGaboardi ping me if you'll need my input here. |
Thank you @martinfleis. I will follow your comments by opening issues in the repository to disscuse possible changes first. |
@xyluo25 I have reviewed each line of the change. Just to help summarize what you have done:
What I see is that Any thoughts from others? |
Thank you for your prompt response. I'm reaching out to see the next steps we should take under your suggestion. Do you recommend reverting some commits, or should we proceed differently? I'd also like to provide some context regarding the changes I made. For items Additionally, if you have the capacity to assist with issues #147, #148, #149, and #150, it would be greatly appreciated. These issues refer to errors and improperly defined variables in the code. Thank you very much for your time and consideration. Warm regards, |
Hi @martinfleis,
I re-forked the main repository to avoid version confusion. By the way, thank you for your recommendation from last pull request. I understand that Sphinx accepts both NumPyDoc and Google Docstring styles, given Google Docstring's broader acceptance, I've been using it for new functions in previous commits. From your comments, it seems you're advocating for consistency in the documentation style. Acknowledging your point, I will also adhere to the NumPyDoc style to maintain this consistency.
Three documents modified in this request.
utils.py: add type hints from master branch
summary.py: add type hints from master branch
sel_bw: add type hints, refactored codes, add code comments
Please check these changes again and looking forward to your suggestive feedback.
Xiangyong Roy Luo