Hello Edward,

Thanks for the reply. I am trying to get hold of all the missing modules. Once 
they are all at one place, I will put it into relax with his permission.

I had another small query. I was wondering if there was a possibility to 
extract errors on the model free parameters within all the four diffusion 
tensor models. I mean, normally, the MC simulations are performed once a 
particular diffusion tensor is selected using the AIC. Is there a way to do the 
this on rest of the tensor models as well, either before the AIC selection or 
after it separately?

Regards,

Vineet
________________________________________
An: Panwalkar, Vineet
Cc: relax-users@gna.org
Betreff: Re: error on the diffusion tensor parameters

Hi Vineet,

>From the error message, the my_relax module is clearly a special
Python or relax module written by your former college.  It is not part
of relax, so I can't help you much.  You might be able to find it on
your system by typing:

$ locate my_relax.py
$ locate tensor_mc.py

The missing external module will have one of these names.  If it is
tensor_mc.py, then this will be in the directory "my_relax/".  All the
contents of that directory is then called a Python package, and you
will need all of it.  I hope this information helps.  It is a pity
your former college did not contribute it to relax so that I can help
you more.

Regards,

Edward


On 18 December 2014 at 15:36, Panwalkar, Vineet
<v.panwal...@fz-juelich.de> wrote:
> Dear Edward,
>
> Following is the error,
>
> Traceback (most recent call last):
>   File 
> "/opt/scisoft64/usr/lib/python2.7/site-packages/relax/multi/processor.py", 
> line 494, in run
>     self.callback.init_master(self)
>   File 
> "/opt/scisoft64/usr/lib/python2.7/site-packages/relax/multi/__init__.py", 
> line 318, in default_init_master
>     self.master.run()
>   File "/opt/scisoft64/usr/lib/python2.7/site-packages/relax/relax.py", line 
> 199, in run
>     self.interpreter.run(self.script_file)
>   File 
> "/opt/scisoft64/usr/lib/python2.7/site-packages/relax/prompt/interpreter.py", 
> line 279, in run
>     return run_script(intro=self.__intro_string, local=locals(), 
> script_file=script_file, show_script=self.__show_script, 
> raise_relax_error=self.__raise_relax_error)
>   File 
> "/opt/scisoft64/usr/lib/python2.7/site-packages/relax/prompt/interpreter.py", 
> line 585, in run_script
>     return console.interact(intro, local, script_file, 
> show_script=show_script, raise_relax_error=raise_relax_error)
>   File 
> "/opt/scisoft64/usr/lib/python2.7/site-packages/relax/prompt/interpreter.py", 
> line 484, in interact_script
>     exec_script(script_file, local)
>   File 
> "/opt/scisoft64/usr/lib/python2.7/site-packages/relax/prompt/interpreter.py", 
> line 363, in exec_script
>     runpy.run_module(module, globals)
>   File "/opt/scisoft64/usr/lib/python2.7/runpy.py", line 180, in run_module
>     fname, loader, pkg_name)
>   File "/opt/scisoft64/usr/lib/python2.7/runpy.py", line 72, in _run_code
>     exec code in run_globals
>   File 
> "/home/vpan014/NMR_900_FZJ_data/Relax/Apo_structure1_09122014/run17_structure/relax_mc_difftensor_print_all.py",
>  line 11, in <module>
>     from my_relax.tensor_mc import Main, print_fancy, Out_tensor
> ImportError: No module named my_relax.tensor_mc
>
> I am checking with my former labmate who wrote the script regarding the 
> module as well.
>
> I also had a question regarding possibility of performing Monte Carlo 
> simulations to get errors on the model free parameters within all the four 
> diffusion tensor models. I mean, normally, the MC simulations are performed 
> once a particular diffusion tensor is selected using the AIC. Is there a way 
> to do the simulations on rest of the tensor models as well?
>
> Cheers,
>
> Vineet
> ________________________________________
>
> Hi Vineet,
>
> Could you copy and paste the entire error?  That would significantly
> help working out what is happening, as it will indicate where the
> error is happening.  But if you search for the text "my_relax" or file
> "my_relax.py", you will see that this has never existed in any version
> of relax, from 2001 until now.
>
> Regards,
>
> Edward
>
>  _______________________________________________
>
> On 18 December 2014 at 15:09, Panwalkar, Vineet
>> Hi all,
>>
>> I have a script to calculate errors on the diffusion tensor parameters, 
>> written by one of my former colleagues. It works well with relax v 3.2.3 
>> however, in the version 3.3.3, it doesn't work and gives an error message 
>> saying "ImportError: No module named my_relax.tensor_mc".
>> I was wondering if the module has been renamed/replaced to something else or 
>> is this something entirely different.
>>
>> Thanks,
>>
>> Vineet
>> _______________________________________________
>> relax (http://www.nmr-relax.com)
>>
>> This is the relax-users mailing list
>> relax-users@gna.org
>>
>> To unsubscribe from this list, get a password
>> reminder, or change your subscription options,
>> visit the list information page at
>> https://mail.gna.org/listinfo/relax-users

> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
>


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users

Reply via email to