From 5f8e9bdedf56915bc42bdb4003ebf691c4d7643d Mon Sep 17 00:00:00 2001 From: "Nigel W. Moriarty" Date: Fri, 4 Oct 2024 15:28:59 -0700 Subject: [PATCH] small adjustment --- cctbx/geometry_restraints/linking_class.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cctbx/geometry_restraints/linking_class.py b/cctbx/geometry_restraints/linking_class.py index 0d202189b1..0542d81ce0 100644 --- a/cctbx/geometry_restraints/linking_class.py +++ b/cctbx/geometry_restraints/linking_class.py @@ -144,9 +144,10 @@ def get_origin_label_and_internal(self, query_header, verbose=False): header=tmp[0].strip() subheader=tmp[1].strip() oi, rc = self.parse_geo_file_header(header, subheader=subheader) + rc = rc.replace(header, '').strip() tmp = query_header.split(':') num = int(tmp[-1]) - return oi, rc, num + return oi, header, rc, num if __name__=='__main__': lc = linking_class()