Exemplo n.º 1
0
    def test_Exporter_Gromos_export_disresDat(self):
        exporter = Exporter.GromosPairRestraintExporter(distance_restraints)
        exporter.get_args(lambda x: (out_gromos_disres_path))
        out = exporter.export_restraints()

        expected_filelines = open(in_solution_disres_path, "r").readlines()
        expected_str = "".join(expected_filelines)

        self.assertEqual(str(out),
                         expected_str,
                         msg="file text is not expected.")
Exemplo n.º 2
0
 def test_Exporter_Gromos_getargs(self):
     exporter = Exporter.GromosPairRestraintExporter(distance_restraints)
     exporter.get_args(lambda x: (out_gromos_disres_path))
Exemplo n.º 3
0
    def test_Exporter_Gromos_construct(self):

        gromos_Exporter = Exporter.GromosPairRestraintExporter(
            distance_restraints)