Hi Theodoros,
For the Atlantis demo site, the citerank methods are enabled, since
there are some citations. It's true that bibrank will throw an error if
these methods are enabled, but no citation data is available. This was
mostly done like this to make sure that the admin is well aware about
the fact that some citation based methods are enabled, but no citation
data is available. But probably raising an error is a bit too extreme,
so just silently exiting would be enough (to be in-line with other
ranking methods).
I've created a ticket for this and attached a patch for master:
<http://invenio-software.org/ticket/1624>
Cheers,
Ludmila
On 11/12/2013 04:17 PM, Tibor Simko wrote:
On Tue, 12 Nov 2013, [email protected] wrote:
Having said that, I won't be needing citation-based ranking in the near
future (or at least until I put some useful citation data), and I would
be happy to inactivate it, but how?
The UI way is to use the BibRank Admin Interface:
https://localhost/admin/bibrank/bibrankadmin.py
there is an option to `Delete' a ranking method.
The CLI way or the programmable way, if you would like to put it to your
AUTH site overlay, would go like:
$ echo "DELETE FROM rnkMETHOD WHERE name LIKE 'cit%'" | \
/opt/invenio/bin/dbexec
Entries in related tables (rnkMETHODNAME, collection_rnkMETHOD) had
better also be cleaned for the deleted rnkMETHOD.id's. Just to be ready
in case you introduce new ranking methods in the future.
Best regards
--
Tibor Simko