From 6f7b052e24c819a1a3cdbfb96b84ea28ead9ad64 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 19 Nov 2018 16:38:25 -0500 Subject: [PATCH] update comments and remove commented code --- tools/ch2lmp/charmm2lammps.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/ch2lmp/charmm2lammps.pl b/tools/ch2lmp/charmm2lammps.pl index df2a88fd30..bda9ace2bc 100755 --- a/tools/ch2lmp/charmm2lammps.pl +++ b/tools/ch2lmp/charmm2lammps.pl @@ -795,8 +795,7 @@ $masses{$tmp[1]} = $tmp[3]; $max_id = $tmp[1] if ($max_id<$tmp[1]); } elsif ($read&&($tmp[0] eq "ATOM")) { - # $names{$tmp[1]} = $tmp[4] if ($read&&($tmp[0] eq "MASS")); - #last if ($read&&!scalar(@tmp)); # quit reading + # quit reading when hitting the "ATOM" section last; } }