diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-07-07 20:48:27 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-07-07 20:48:27 +0530 |
commit | b334659db44942ca1457af4752751b1281da4948 (patch) | |
tree | c2914bb093f1cc78e55fcb43caa2595ccae6b93f /plip/exchange/report.py | |
parent | 85a0b26230b239f7f5c8655c958dcdee01ca5a7b (diff) |
using PLIP v2.1.3
Diffstat (limited to 'plip/exchange/report.py')
-rw-r--r-- | plip/exchange/report.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plip/exchange/report.py b/plip/exchange/report.py index a559bf8..20f281e 100644 --- a/plip/exchange/report.py +++ b/plip/exchange/report.py @@ -97,9 +97,7 @@ class StructureReport: xml_declaration=True) else: output = et.tostring(self.xmlreport, pretty_print=True) - if config.RAWSTRING: - output = repr(output) - print(output) + print(output.decode('utf8')) def write_txt(self, as_string=False): """Write the TXT report""" @@ -108,8 +106,6 @@ class StructureReport: [f.write(textline + '\n') for textline in self.txtreport] else: output = '\n'.join(self.txtreport) - if config.RAWSTRING: - output = repr(output) print(output) |