def __init__(self):
     StructureParser.__init__(self)
     self.format = "discus"
     # helper variables
     self.nl = None
     self.lines = None
     self.line = None
     self.stru = None
     self.ignored_lines = []
     self.cell_read = False
     self.ncell_read = False
     return
Exemple #2
0
    def __init__(self, eps=None):
        """Initialize the parser for CIF structure files.

        eps  -- fractional coordinates cutoff for duplicate positions.
                When None use the default for ExpandAsymmetricUnit.
        """
        StructureParser.__init__(self)
        self.format = "cif"
        self.ciffile = None
        self.stru = None
        self.spacegroup = None
        self.eps = eps
        self.eau = None
        self.asymmetric_unit = None
        self.labelindex = {}
        self.cif_sgname = None
        pass
Exemple #3
0
    def __init__(self, eps=None):
        """Initialize the parser for CIF structure files.

        eps  -- fractional coordinates cutoff for duplicate positions.
                When None use the default for ExpandAsymmetricUnit.
        """
        StructureParser.__init__(self)
        self.format = "cif"
        self.ciffile = None
        self.stru = None
        self.spacegroup = None
        self.eps = eps
        self.eau = None
        self.asymmetric_unit = None
        self.labelindex = {}
        self.cif_sgname = None
        pass
Exemple #4
0
 def __init__(self):
     StructureParser.__init__(self)
     self.format = "pdffit"
     self.ignored_lines = []
     self.stru = None
     return
 def __init__(self):
     StructureParser.__init__(self)
     self.format = "xcfg"
     return
 def __init__(self, **kw):
     StructureParser.__init__(self)
     self.format = "auto"
     self.pkw = kw
     return
Exemple #7
0
 def __init__(self):
     StructureParser.__init__(self)
     self.format = "rawxyz"
     return
Exemple #8
0
 def __init__(self, **kw):
     StructureParser.__init__(self)
     self.format = "auto"
     self.pkw = kw
     return
Exemple #9
0
 def __init__(self):
     StructureParser.__init__(self)
     self.format = "rawxyz"
     return
Exemple #10
0
 def __init__(self):
     StructureParser.__init__(self)
     self.format = "pdffit"
     self.ignored_lines = []
     self.stru = None
     return