Yes, ./lib/python/modpipe/version.py exists:
> more ./lib/python/modpipe/version.py
****************************************************************************** # This file is part of ModPipe, Copyright 1997-2010 Andrej Sali # # ModPipe is free software: you can redistribute it and/or modify # it under the terms of version 2 of the GNU General Public License # as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with ModPipe. If not, see http://www.gnu.org/licenses/.
def get(): return "2.2.0"
def message(): return "%prog, part of ModPipe version " + get() + """ Copyright 1997-2010 Andrej Sali License GPLv2: GNU GPL version 2 http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.""" ******************************************************************************
But, may be this would help: When I run a test, I get these errors:
> ./tests/make
====================================================================== ERROR: test_ce (test_ce.CETests) Check CE ---------------------------------------------------------------------- Traceback (most recent call last): File "/alpha/share/software/bioinf/MODPIPE/modpipe220/tests/unit/test_ce.py", line 12, in test_ce ce = modpipe.binaries.get_ce() File "/alpha/share/software/bioinf/MODPIPE/modpipe220/lib/python/modpipe/binaries.py", line 45, in get_ce raise modpipe.MissingBinaryError('ModPipe was not configured with CE') MissingBinaryError: ModPipe was not configured with CE
====================================================================== FAIL: test_make_one_file (test_make_chains.MakeChainsTests) Check production of one aggregated chains file ---------------------------------------------------------------------- Traceback (most recent call last): File "/alpha/share/software/bioinf/MODPIPE/modpipe220/tests/unit/test_make_chains.py", line 52, in test_make_one_file self.assert_(filecmp.cmp(out, '../db/test-pdb.pir')) AssertionError: False is not True
---------------------------------------------------------------------- Ran 51 tests in 6.151s
FAILED (failures=1, errors=8) make: *** [unit] Error 1 ----------------------------------------------------------------------
Thanks for your help!
On Fri, Oct 18, 2013 at 5:38 PM, Ben Webb ben@salilab.org wrote:
> On 10/18/2013 02:28 PM, Amjad Farooq wrote: > >> ImportError: No module named modpipe.version >> > > This file should also be generated by Setup, so it suggests that Setup > didn't run properly. Does $MODPIPE/lib/python/modpipe/**version.py exist? > > Ben > -- > ben@salilab.org http://salilab.org/~ben/ > "It is a capital mistake to theorize before one has data." > - Sir Arthur Conan Doyle > ______________________________**_________________ > ModPipe-users mailing list > ModPipe-users@salilab.org > https://salilab.org/mailman/**listinfo/modpipe-usershttps://salilab.org/mailman/listinfo/modpipe-users >