-
Notifications
You must be signed in to change notification settings - Fork 31
Update README.md #17
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
base: master
Are you sure you want to change the base?
Update README.md #17
Conversation
|
Hi, I'm struggling to make packages. Can you please see the outline of my project and give me some feedback? |
|
Well done. This is excellent. Keep up the good work. You had a package previously but you moved the setup.py down a directory. Licence, setup.py, readme etc should be in the root directory (not in a subdirectory). I've altered the circleci configuration file so that the bk_packages subdirectory is used instead of ".". Everything works with that small change. You can merge the pull request I submitted for this if you wish. You can instead choose to move things up one directory. Whatever you'd prefer. Other general comments:
|
|
hi John, I have changed file location upon your comments. Thanks, Now, I thought that class would be a good choice to implement what I think. So, I have changed my codes a little bit, putting functions inside two classes, parent and child. The thing is I made basics methods as a seperate .py and generated editable package and call modules and methods ( you can see my test_example.ipynb under tests folder ), somehow, these basic methods are not callable in classes. Can you please help me? Thanks, |
|
You will need to import all the functionality you require at the top of your file that defines the class. You should do all of this at the top of the file. So pandas, numpy,etc. and then all of your own code. So |
|
It might be worth considering making the functions methods of the class. It depends what encapsulation you are going for with the class but often if you have lots of functions that are all dependent on the same settings/data then there is little use in having them independent of the class that you have defined to encapsulate their usage. I haven't looked at the code enough to know whether they are useful independently (or if using a class is appropriate). |
|
Hi John, this is my final version. Please take this last pull request version for final score. I know we still have more time. But, I need to go back to lab works (actually, I poured all my last 7 days to finish this and it's ironically good time for this type of works). I used to use R for seq analysis and now python seems to be very nice option for future works. Plus, I will definitely take the mini-course you recommended. Thank you for ur lecture in this semester. |
|
Will do. Good job. Looks like you learned a lot. |
|
You did an amazing job on your project! You provided a really impressive project description utilizing the beauty of markdown. Just to comment on what you said about avoiding well-built packages as much as possible as this is a learning course. I actually strongly recommend using them even for learning. I would suggest adding more comments especially to docstrings in the future. Overall, the project was fantastic. -Paul |
BK!