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

Allow Configurable Project Name #109

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Prev Previous commit
feature: if no name print current dir
  • Loading branch information
burgess01 committed Dec 7, 2022
commit fc5d9f3a0d6234b8ecf2220cc77046fa42f776ab
2 changes: 1 addition & 1 deletion gatorgrade/input/in_file_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def parse_yaml_file(file_path: Path) -> List[Any]:
def get_assignment_name(file: Path) -> (str):
"""Get the name for the project the YAML is set up for."""
# set the base assignment name to display, the file path.
assignment_name = str(file)
assignment_name = Path.cwd().name
config_search_key = "{'name':"

# change the file path into data to look through
Expand Down