From 31e9c09560d3237a5bb59fe43d88f7ba39b4352a Mon Sep 17 00:00:00 2001 From: alexPatrie Date: Fri, 15 Mar 2024 13:07:47 -0400 Subject: [PATCH] minor form --- biosimulator_processes/data_model.py | 1 - commit.sh | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/biosimulator_processes/data_model.py b/biosimulator_processes/data_model.py index 0cc88431a..1f00bb42c 100644 --- a/biosimulator_processes/data_model.py +++ b/biosimulator_processes/data_model.py @@ -339,7 +339,6 @@ class SedDataModel: ModelUnits = ModelUnits - # --- Non-Pydantic FromDict classes class FromDict(dict): def __init__(self, value: Dict): diff --git a/commit.sh b/commit.sh index 8a3da5393..11c246019 100755 --- a/commit.sh +++ b/commit.sh @@ -5,6 +5,9 @@ branch="$1" if [ "${branch}" == "" ]; then echo "Please specify a branch..." read -r branch + if [ "${branch}" == "" ]; then + branch="main" + fi fi echo "Enter commit message: "