Skip to content

Graphing Functions throw unhandled error when "created_graphs" folder does not exist #33

@theLiamDel

Description

@theLiamDel

If "../output/created_graphs" folder does not exist, the graphing functions throw an unhandled error, which stops the program from running

Context

This is important, as if it is the first time that the product has been set up, then this folder may not exist. It would be better if this error is caught and handled in a more effective manner.

Process

  1. Delete the created_graphs folder (This will not exist in a fresh clone)
  2. Run any of the graphing functions that output their graphs to this folder

Expected result

Perhaps, if it doesnt exist, the folder should be created and the function rerun.

Current result

Currently, an error is thrown and the program stops running

Possible Fix

Catch the error, and create the folder, and rerun the function might be a possible solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions