From e2e30f0e5a6315e3665b8706d9ec287649a33228 Mon Sep 17 00:00:00 2001 From: cschlick Date: Fri, 11 Oct 2024 13:21:36 -0700 Subject: [PATCH] Clean clutter --- mmtbx/geometry_restraints/geo_file_parsing.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mmtbx/geometry_restraints/geo_file_parsing.py b/mmtbx/geometry_restraints/geo_file_parsing.py index c9e5e36cfb..6d12279533 100644 --- a/mmtbx/geometry_restraints/geo_file_parsing.py +++ b/mmtbx/geometry_restraints/geo_file_parsing.py @@ -3,7 +3,6 @@ from itertools import chain import shlex import re -import json from libtbx import group_args from libtbx.utils import Sorry from cctbx import geometry_restraints @@ -61,7 +60,7 @@ def labels_are_available(self): @property def i_seqs_are_available(self): return len(self.i_seqs)>0 - + def _prepare(self): # Parse Atom labels values = [] @@ -543,7 +542,7 @@ def _end_entry(self, entry_start_line_number, i, entries_info): lines_for_entry = self.lines[entry_start_line_number:i] new_entry = entries_info.entry_class( lines=lines_for_entry, - origin_id=entries_info.origin_id, + origin_id=entries_info.origin_id, origin_label=entries_info.origin_label, ) # add new_entry to somewhere