Skip to content

Commit

Permalink
Merge pull request #5 from intterra-io/enh/testing-feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeldar authored Aug 23, 2023
2 parents 86e9e12 + 6877fee commit ec7ffdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 3 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ def create_mission_scaffolding(mission_name: str, mission_time: datetime) -> str

mkdir_ignore_file_exist(f"{mission_base_path}/tactical")
mkdir_ignore_file_exist(f"{mission_base_path}/tactical/Detection")
mkdir_ignore_file_exist(f"{mission_base_path}/tactical/DPS")
mkdir_ignore_file_exist(f"{mission_base_path}/tactical/HeatPerim")
mkdir_ignore_file_exist(f"{mission_base_path}/tactical/HeatPerimeter")
mkdir_ignore_file_exist(f"{mission_base_path}/tactical/IntenseHeat")
mkdir_ignore_file_exist(f"{mission_base_path}/tactical/IsolatedHeat")
mkdir_ignore_file_exist(f"{mission_base_path}/tactical/ScatteredHeat")
Expand Down Expand Up @@ -112,10 +111,8 @@ def create_product_from_file_path(file_path: str) -> Product:
elif "tactical" in file_path:
if "Detection" in file_path:
product = Product("tactical", "Detection", last_modified_on)
if "DPS" in file_path:
product = Product("tactical", "DPS", last_modified_on)
if "HeatPerim" in file_path:
product = Product("tactical", "HeatPerim", last_modified_on)
if "HeatPerimeter" in file_path:
product = Product("tactical", "HeatPerimeter", last_modified_on)
if "IntenseHeat" in file_path:
product = Product("tactical", "IntenseHeat", last_modified_on)
if "IsolatedHeat" in file_path:
Expand Down
1 change: 0 additions & 1 deletion models/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def __init__(self, type: str, subtype: str | None, timestamp: datetime) -> None:
elif type == "tactical":
if subtype not in [
"Detection",
"DPS",
"HeatPerimeter",
"IntenseHeat",
"IsolatedHeat",
Expand Down

0 comments on commit ec7ffdb

Please sign in to comment.