Project

General

Profile

Bug #157

Index selection by group name

Added by Jochen Hub over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Erik Lindahl
Category:
analysis tools
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

When selecting an index group by using its name the routine that parses the input does not catch an error where it should. See:

Just take any pdb you like, get an index file
echo q | make_ndx -f x.pdb

editconf -n -f x.pdb

and select, e.g. "MyBackbone", or "FIRST_sol", or "Protein_Part1", then editconf will not report an Error, but select backbone, SOL or Protein.

Within a larger script this can cause nasty bugs as you don't get an error (Which happened to me).

Cheers from Goettingen,
Jochen

History

#1 Updated by David van der Spoel over 12 years ago

Easy bugs are nice :)
On line 644 in index.c replace
strstr(string,s)
by
strstr(s,string)

fixed it in CVS as well.

Also available in: Atom PDF