Skip to content

Commit 73b1f41

Browse files
committed
Fix input parsing tests
1 parent b2ca260 commit 73b1f41

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/tools/pcmparser.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ def verify_medium(section):
539539
def verify_green(section):
540540
allowed = ("VACUUM", "UNIFORMDIELECTRIC", "SPHERICALSHARP")
541541
allowed_der = ("NUMERICAL", "DERIVATIVE", "GRADIENT", "HESSIAN")
542-
allowed_profiles = ("TANH", "ERF", "LOG")
543542

544543
eps = section.get("EPS")
545544
epsdyn = section.get("EPSDYN")
@@ -565,11 +564,6 @@ def verify_green(section):
565564
print("EpsDyn not defined for UniformDielectric")
566565
sys.exit(1)
567566

568-
profile = section.get("PROFILE")
569-
if profile.get() not in allowed_profiles:
570-
print(("Allowed profiles are: {}".format(allowed_profiles)))
571-
sys.exit(1)
572-
573567

574568
def check_array(name, array, offset):
575569
dim = len(array)

0 commit comments

Comments
 (0)