Fixed calculation of projection for STAR and/or SORI
authorCarsten Kutzner <ckutzne@gwdg.de>
Mon, 6 Aug 2012 13:45:08 +0000 (15:45 +0200)
committerCarsten Kutzner <ckutzne@gwdg.de>
Mon, 6 Aug 2012 13:45:08 +0000 (15:45 +0200)
commit7f00758731e47963fc72476e5410eafc79670fec
treee3f6170248c93760b0604954075a1d4f48972a04
parent2c0a3961e50b42322bacd02c3a97bb6e7957ec1f
Fixed calculation of projection for STAR and/or SORI

Both for STAR and for SORI, if provided to make_edi, the
fit structure and the average structure can be the same
(in these cases the old code works fine), or one can do
the fit on another (possibly larger) part of the molecule.
In the latter case, STAR (or SORI) contains first the fit and
then the average structure (concatenated). Here, the fit has to
be performed using the fit structure while the projection(s) have
to be calculated using the average structure. This is now
taken care of by the 'avindex' index variable.

Change-Id: Id97235030f3394df2931e30249083ad439dbe791
src/mdlib/edsam.c