diff --git a/.vscode/launch.json b/.vscode/launch.json index 902091f..dff7fc0 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,7 @@ "request": "launch", "program": "${file}", "console": "integratedTerminal", - "args": ["--debug", "--data-path", "./data"] + "args": ["--debug"] } ] } \ No newline at end of file diff --git a/a1.py b/a1.py index 8cfb010..942ae92 100644 --- a/a1.py +++ b/a1.py @@ -2,6 +2,42 @@ # A1 Attempt 1 # 14/02/25 +# These could be from the std math lib, but I like the numpy ones better personally +from numpy import sin, cos, pi + +# Fill these in with your details +__author__ = "Cal Wing" +__email__ = "cal@wing.id.au" +__date__ = "14/02/2025" +__version__ = "1.0.0" + + +# I have some useful things setup and wanted to play with python's arg parse +# This is not in any way apart of the assignment. +# This is to override consts / funcs as needed +# It is not impactful on the assignment and can be removed with no consequence +if __name__ == "__main__": + import argparse + + # This is purely here to allow for my personal quirks + arg_parser = argparse.ArgumentParser(description="ENGG1001 Assignment 1") + arg_parser.add_argument("--debug", help="Enable debug mode", default=False, required=False, action=argparse.BooleanOptionalAction) + + args, unknown = arg_parser.parse_known_args() + + # Only import the debug_lib (and override the input func) if debug mode is enabled + if args.debug: + print("Debug mode enabled - Using debug input...") + import makeGraph + from makeGraph import makeGraph, UQ_COLOURS as UQC + #from debug_lib import auto_input + #input_cases = [] + #input = auto_input(input_cases) + + + +# ============== Assignment Starts Here ============== + def main(): print("Hello World!") diff --git a/requirements.txt b/requirements.txt index 8be09de..34cdd51 100644 Binary files a/requirements.txt and b/requirements.txt differ