#40: Added a Start Over option to clear out all previously generated code and start from scratch.#51
#40: Added a Start Over option to clear out all previously generated code and start from scratch.#51RishiTambe wants to merge 6 commits intooss-slu:mainfrom
Conversation
|
Hi @RishiTambe, thank you for the pull request. I am using pylint static analysis tool to check if code conforms to coding standards used in the repo. Unfortunately, I didn't have those checks enabled on pull requests, so you can't see automatic results. I've enabled those checks on pull requests now, so all new pull requests should get checked automatically. Running the checks manually, I see that you changed indentation on many files (probably your IDE did that automatically). If you want to run pylint manually, here's the command I use: |
|
Hi @kate-holdener, Yes, I have used Anaconda 3 for editing and probably indentation was changed automatically. Following are the Files to be Updated:
Line to be added:
Comment and Function to be added: #added start over option in base.html to clear the previous block of code
flask_app---------->flask_main.py----------->def upload_file(): Comment and Line to be added(before/after line print(g)): #call to resetone() in class CodeGenerator in code_generator.py
application---------->code_generator.py Comment and Function to be added: #call to resetAll() function in clas AllBblocks of code_blocks.py
model---------->code_blocks.py---------->AllBlocks Class Comment and Function to be added (after init()): #clear previously insetred blocks of code |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Dear Dr. Holdener,
I have resolved issue #40 : Add an option to start over. I have also tried to resolve issue #17 and its half done. You may view it, when you will run the server.
Thanking you for allowing and contributing me towards the ML Code Generator project.