[ck2cti] Fix a Python 3 incompatibility
This commit is contained in:
parent
b3708cdab5
commit
0018acd607
1 changed files with 0 additions and 3 deletions
|
|
@ -34,7 +34,6 @@ from __future__ import print_function
|
|||
|
||||
from collections import defaultdict
|
||||
import logging
|
||||
import types
|
||||
import os.path
|
||||
import numpy as np
|
||||
import re
|
||||
|
|
@ -766,8 +765,6 @@ class TransportData(object):
|
|||
def __init__(self, label, geometry, wellDepth, collisionDiameter,
|
||||
dipoleMoment, polarizability, zRot, comment=None):
|
||||
|
||||
if not isinstance(label, types.StringTypes):
|
||||
raise InputParseError("Bad label for transport data: " + repr(label))
|
||||
if int(geometry) not in (0,1,2):
|
||||
raise InputParseError("Bad geometry flag '{0}' for species '{1}'".format(geometry, label))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue