Skip to content

Commit

Permalink
Fix package version
Browse files Browse the repository at this point in the history
  • Loading branch information
Carina-Firkowski committed Nov 16, 2023
1 parent af0babc commit 2d467f9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/omniscapeImpactTransformer.py
Expand Up @@ -7,16 +7,15 @@
import numpy as np
import itertools
import sys
import warnings

# Validation for base package version ------------------------------------------

mySession = ps.Session()
packagesInstalled = mySession.packages()
omniscapeVersion = packagesInstalled.Version[packagesInstalled.Name == "omniscape"]

if pd.unique(omniscapeVersion)[0] != "1.0.3":
sys.exit("The omniscapeImpact add-on package version 1.0.0 requires the omniscape base package version 1.0.3.")
if pd.unique(omniscapeVersion)[0] != "1.1.0":
sys.exit("The omniscapeImpact add-on package version 1.0.0 requires the omniscape base package version 1.1.0.")



Expand Down

0 comments on commit 2d467f9

Please sign in to comment.