Hi Edward, 

Thanks so much for your response. Attached is the response from the
relax -i command. 

Let me know how to fix this issue, 

Ranabir 

On 2020-09-29 19:06, Edward d'Auvergne wrote:

> On Fri, 25 Sep 2020 at 19:58, rana <[email protected]> wrote: 
> 
>> I am working with Relax 4.1.3. Tried the "single_model.py" script on some 
>> Ubiquitin data from our lab. I am getting an error
>> 
>> File "/opt/python2.7/lib/python2.7/site-packages/minfx/grid.py", line 158, 
>> in grid
>> if A != None and b != None:
>> ValueError: The truth value of an array with more than one element is 
>> ambiguous. Use a.any() or a.all()
> 
> Hi Ranabir,
> 
> Thank you for sending this to the relax users mailing list.  I've been
> looking into this and I do not understand what is happening.  The
> error you see was removed back in 2015 (back when it was instead a
> depreciation warning).  The commit is:
> 
> https://sourceforge.net/p/minfx/code/ci/14f3ffa68558e613b21a3c69eabd69ee177586fe/
> 
> The version of relax you are using should not experience this error.
> I wonder if there are multiple versions of minfx installed on your
> system.  Could you copy and paste the output of the following command
> into an email:
> 
> $ relax -i
> 
> This will list all the installed packages.  The expected result is
> that minfx is found by relax within the relax source directories.
> However I guess that this command will show that there is an old minfx
> Python site-package installed which is somehow being loaded.
> 
> Cheers,
> 
> Edward

--------------------------------------------------------------------------------------------------------------------------------------


                                            relax 4.1.3

                              Molecular dynamics by NMR data analysis

                             Copyright (C) 2001-2006 Edward d'Auvergne
                         Copyright (C) 2006-2019 the relax development
team

This is free software which you are welcome to modify and redistribute
under the conditions of the
GNU General Public License (GPL), Version 3 or any later version
published by the Free Software
Foundation.  This program, including all modules, is licensed under the
GPL and comes with
absolutely no warranty.  For details type 'GPL' within the relax prompt.

Assistance in using the relax prompt and scripting interface can be
accessed by typing 'help' within
the prompt.

Processor fabric:  Uni-processor.

Hardware information:
    Machine:                 x86_64
    Processor:               x86_64
    Processor name:          Intel(R) Xeon(R) CPU E5-1603 0 @ 2.80GHz
    Endianness:              little
    Total RAM size:          64311 Mb
    Total swap size:         32255 Mb

Operating system information:
    System:                  Linux
    Release:                 2.6.32-431.29.2.el6.x86_64
    Version:                 #1 SMP Sun Jul 27 15:55:46 EDT 2014
    GNU/Linux version:       Red Hat Enterprise Linux Workstation 6.5
Santiago
    Distribution:            redhat 6.5 Santiago
    Full platform string:   
Linux-2.6.32-431.29.2.el6.x86_64-x86_64-with-redhat-6.5-Santiago

Python information:
    Architecture:            64bit ELF
    Python version:          2.7.17
    Python branch:           
    Python build:            default, Dec 27 2019 10:50:24
    Python compiler:         GCC 4.4.7 20120313 (Red Hat 4.4.7-16)
    Libc version:            glibc 2.2.5
    Python implementation:   CPython
    Python revision:         
    Python executable:       /opt/python2.7/bin/python
    Python flags:            sys.flags(debug=0, py3k_warning=0,
division_warning=0, division_new=0, inspect=0, interactive=0,
optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0,
ignore_environment=0, tabcheck=0, verbose=0, unicode=0, bytes_warning=0,
hash_randomization=0)
    Python float info:       sys.float_info(max=1.7976931348623157e+308,
max_exp=1024, max_10_exp=308, min=2.2250738585072014e-308,
min_exp=-1021, min_10_exp=-307, dig=15, mant_dig=53,
epsilon=2.220446049250313e-16, radix=2, rounds=1)
    Python module path:      ['/opt/relax-4.1.3',
'/opt/python2.7/lib/python27.zip', '/opt/python2.7/lib/python2.7',
'/opt/python2.7/lib/python2.7/plat-linux2',
'/opt/python2.7/lib/python2.7/lib-tk',
'/opt/python2.7/lib/python2.7/lib-old',
'/opt/python2.7/lib/python2.7/lib-dynload',
'/opt/python2.7/lib/python2.7/site-packages']

Python packages and modules (most are optional):

Name               Installed    Version             Path                
                                   
minfx              True         1.0.11             
/opt/python2.7/lib/python2.7/site-packages/minfx        
bmrblib            True         1.0.4              
/opt/python2.7/lib/python2.7/site-packages/bmrblib      
numpy              True         1.16.5             
/opt/python2.7/lib/python2.7/site-packages/numpy        
scipy              True         1.2.2              
/opt/python2.7/lib/python2.7/site-packages/scipy        
wxPython           False                                                
                                   
matplotlib         False                                                
                                   
mpi4py             False                                                
                                   
epydoc             False                                                
                                   
optparse           True         1.5.3              
/opt/python2.7/lib/python2.7/optparse.pyc               
readline           True                            
/opt/python2.7/lib/python2.7/lib-dynload/readline.so    
profile            True                            
/opt/python2.7/lib/python2.7/profile.pyc                
bz2                True                            
/opt/python2.7/lib/python2.7/lib-dynload/bz2.so         
gzip               True                            
/opt/python2.7/lib/python2.7/gzip.pyc                   
io                 True                            
/opt/python2.7/lib/python2.7/io.pyc                     
xml                True         0.8.4 (internal)   
/opt/python2.7/lib/python2.7/xml/__init__.pyc           
xml.dom.minidom    True                            
/opt/python2.7/lib/python2.7/xml/dom/minidom.pyc        

relax information:
    Version:                 4.1.3
    Processor fabric:        Uni-processor.

relax C modules:

Module                        Compiled    File type    Path             
                                
target_functions.relax_fit    True                    
/opt/relax-4.1.3/target_functions/relax_fit.so   

-- 
Ranabir Das
_______________________________________________
nmr-relax-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nmr-relax-users

Reply via email to