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

Analysis: Refactoring to improve readibility + efficiency. #1

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

L-Amos
Copy link

@L-Amos L-Amos commented Dec 2, 2024

Creating + implementing read_files function in workflow1.py. Answers UCL-COMP0233-24-25/RSE-Classwork#42. Worked with @Jennivine.

@L-Amos
Copy link
Author

L-Amos commented Dec 2, 2024

Updating to wrap main script in if__name__=="main" statement. Worked with @Jennivine.

@L-Amos
Copy link
Author

L-Amos commented Dec 2, 2024

Updating to simplify creation of results array in workflow1.py. Worked with @Jennivine.

@L-Amos
Copy link
Author

L-Amos commented Dec 2, 2024

Simplifying calculation + printing of number of critical results. Worked with @Jennivine.

@L-Amos
Copy link
Author

L-Amos commented Dec 2, 2024

Updating workflow2.py to import + use read_file function from workflow1.py. Worked with @Jennivine.

@L-Amos
Copy link
Author

L-Amos commented Dec 2, 2024

Adding utils.py file to house functions used by both workflows. Worked with @Jennivine.

@L-Amos
Copy link
Author

L-Amos commented Dec 2, 2024

Wrapping script in workflow2.py in if name == "main" statement. Worked with @Jennivine.

@L-Amos
Copy link
Author

L-Amos commented Dec 2, 2024

Simplifying calculation of dsum with numpy in workflow2.py. Worked with @Jennivine.

@L-Amos L-Amos changed the title Analysis: Creating + implementing read_files function in workflow1.py Analysis: Refactoring to improve readibility + efficiency. Dec 2, 2024
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.

1 participant