hi all,
does anybody know what happened to the function get_interacting_particles() working on Restraint? it used to be functional for weeks and months, but now i got the following error message:
> File "/fs/sandy02/lv08/home/b_baumei/foerster/salisoft/imp/build/lib/IMP/__init__.py", line 544, in get_interacting_particles > def get_interacting_particles(*args): return _IMP.Restraint_get_interacting_particles(*args) >RuntimeError: Not implemented yet because not needed
replacing the function by get_particles() did not work either (why? ...)
also, i now get my screen printed full of funny infos when evaluating a model. is there any way to switch that off. IMP.set_log_level(IMP.SILENT) did not change anything. since i do not want to have infinitely big log files i'd appreciate a way to get imp less talkative.
thanks for any help
frido
The first comes from the now deprecated nonbondedrestraint which has never implemented get interacting particles. If you switch to ClosePairsScoreState you will get a working implementation. There is an example that will show you what to do (as does the dogs for the class).
I'll look into the second.
On Jan 13, 2009, at 4:36 PM, "Friedrich Foerster" <foerster@biochem.mpg.de > wrote:
> hi all, > > does anybody know what happened to the function > get_interacting_particles() working on Restraint? it used to be > functional for weeks and months, but now i got the following error > message: > > > File "/fs/sandy02/lv08/home/b_baumei/foerster/salisoft/imp/build/ > lib/IMP/__init__.py", line 544, in get_interacting_particles > > def get_interacting_particles(*args): return > _IMP.Restraint_get_interacting_particles(*args) > >RuntimeError: Not implemented yet because not needed > > replacing the function by get_particles() did not work either > (why? ...) > > also, i now get my screen printed full of funny infos when > evaluating a model. is there any way to switch that off. > IMP.set_log_level(IMP.SILENT) did not change anything. > since i do not want to have infinitely big log files i'd appreciate > a way to get imp less talkative. > > thanks for any help > > frido > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
I don't see anything obvious for extra printing. If you send some of the text it might help.
On Jan 13, 2009, at 4:36 PM, "Friedrich Foerster" <foerster@biochem.mpg.de > wrote:
> hi all, > > does anybody know what happened to the function > get_interacting_particles() working on Restraint? it used to be > functional for weeks and months, but now i got the following error > message: > > > File "/fs/sandy02/lv08/home/b_baumei/foerster/salisoft/imp/build/ > lib/IMP/__init__.py", line 544, in get_interacting_particles > > def get_interacting_particles(*args): return > _IMP.Restraint_get_interacting_particles(*args) > >RuntimeError: Not implemented yet because not needed > > replacing the function by get_particles() did not work either > (why? ...) > > also, i now get my screen printed full of funny infos when > evaluating a model. is there any way to switch that off. > IMP.set_log_level(IMP.SILENT) did not change anything. > since i do not want to have infinitely big log files i'd appreciate > a way to get imp less talkative. > > thanks for any help > > frido > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
hi daniel,
i found the culprit: apparently the embed module has a lot of print statements.
keren: could you switch those off, please?
thanks
frido
On Jan 13, 2009, at 11:23 PM, Daniel Russel wrote:
> I don't see anything obvious for extra printing. If you send some of > the text it might help. > > > > On Jan 13, 2009, at 4:36 PM, "Friedrich Foerster" <foerster@biochem.mpg.de > > wrote: > >> hi all, >> >> does anybody know what happened to the function >> get_interacting_particles() working on Restraint? it used to be >> functional for weeks and months, but now i got the following error >> message: >> >> > File "/fs/sandy02/lv08/home/b_baumei/foerster/salisoft/imp/build/ >> lib/IMP/__init__.py", line 544, in get_interacting_particles >> > def get_interacting_particles(*args): return >> _IMP.Restraint_get_interacting_particles(*args) >> >RuntimeError: Not implemented yet because not needed >> >> replacing the function by get_particles() did not work either >> (why? ...) >> >> also, i now get my screen printed full of funny infos when >> evaluating a model. is there any way to switch that off. >> IMP.set_log_level(IMP.SILENT) did not change anything. >> since i do not want to have infinitely big log files i'd appreciate >> a way to get imp less talkative. >> >> thanks for any help >> >> frido >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev >
--
Friedrich Foerster Max-Planck Institut fuer Biochemie Am Klopferspitz 18 D-82152 Martinsried
Tel: +49 89 8578 2651 Fax: +49 89 8578 2641
foerster@biochem.mpg.de
www.tomotronic.org
sure - I'll email you the revision number tomorrow.
On Wed, 14 Jan 2009, Friedrich Foerster wrote:
> hi daniel, > > i found the culprit: apparently the embed module has a lot of print > statements. > > keren: could you switch those off, please? > > thanks > > frido > > > On Jan 13, 2009, at 11:23 PM, Daniel Russel wrote: > >> I don't see anything obvious for extra printing. If you send some of the >> text it might help. >> >> >> >> On Jan 13, 2009, at 4:36 PM, "Friedrich Foerster" foerster@biochem.mpg.de >> wrote: >> >>> hi all, >>> >>> does anybody know what happened to the function >>> get_interacting_particles() working on Restraint? it used to be functional >>> for weeks and months, but now i got the following error message: >>> >>>> File >>>> "/fs/sandy02/lv08/home/b_baumei/foerster/salisoft/imp/build/lib/IMP/__init__.py", >>>> line 544, in get_interacting_particles >>>> def get_interacting_particles(*args): return >>>> _IMP.Restraint_get_interacting_particles(*args) >>>> RuntimeError: Not implemented yet because not needed >>> >>> replacing the function by get_particles() did not work either (why? ...) >>> >>> also, i now get my screen printed full of funny infos when evaluating a >>> model. is there any way to switch that off. IMP.set_log_level(IMP.SILENT) >>> did not change anything. >>> since i do not want to have infinitely big log files i'd appreciate a way >>> to get imp less talkative. >>> >>> thanks for any help >>> >>> frido >>> _______________________________________________ >>> IMP-dev mailing list >>> IMP-dev@salilab.org >>> https://salilab.org/mailman/listinfo/imp-dev >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev >> > > -- > > Friedrich Foerster > Max-Planck Institut fuer Biochemie > Am Klopferspitz 18 > D-82152 Martinsried > > Tel: +49 89 8578 2651 > Fax: +49 89 8578 2641 > > foerster@biochem.mpg.de > > www.tomotronic.org > > > > > > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
Or use the logging macros.
On Jan 14, 2009, at 5:01 AM, Keren Lasker kerenl@salilab.org wrote:
> sure - I'll email you the revision number tomorrow. > > On Wed, 14 Jan 2009, Friedrich Foerster wrote: > >> hi daniel, >> >> i found the culprit: apparently the embed module has a lot of print >> statements. >> >> keren: could you switch those off, please? >> >> thanks >> >> frido >> >> >> On Jan 13, 2009, at 11:23 PM, Daniel Russel wrote: >> >>> I don't see anything obvious for extra printing. If you send some >>> of the text it might help. >>> On Jan 13, 2009, at 4:36 PM, "Friedrich Foerster" <foerster@biochem.mpg.de >>> > wrote: >>>> hi all, >>>> does anybody know what happened to the function >>>> get_interacting_particles() working on Restraint? it used to be >>>> functional for weeks and months, but now i got the following >>>> error message: >>>> >>>>> File "/fs/sandy02/lv08/home/b_baumei/foerster/salisoft/imp/build/ >>>>> lib/IMP/__init__.py", line 544, in get_interacting_particles >>>>> def get_interacting_particles(*args): return >>>>> _IMP.Restraint_get_interacting_particles(*args) >>>>> RuntimeError: Not implemented yet because not needed >>>> replacing the function by get_particles() did not work either >>>> (why? ...) >>>> also, i now get my screen printed full of funny infos when >>>> evaluating a model. is there any way to switch that off. >>>> IMP.set_log_level(IMP.SILENT) did not change anything. >>>> since i do not want to have infinitely big log files i'd >>>> appreciate a way to get imp less talkative. >>>> thanks for any help >>>> frido >>>> _______________________________________________ >>>> IMP-dev mailing list >>>> IMP-dev@salilab.org >>>> https://salilab.org/mailman/listinfo/imp-dev >>> _______________________________________________ >>> IMP-dev mailing list >>> IMP-dev@salilab.org >>> https://salilab.org/mailman/listinfo/imp-dev >> >> -- >> >> Friedrich Foerster >> Max-Planck Institut fuer Biochemie >> Am Klopferspitz 18 >> D-82152 Martinsried >> >> Tel: +49 89 8578 2651 >> Fax: +49 89 8578 2641 >> >> foerster@biochem.mpg.de >> >> www.tomotronic.org >> >> >> >> >> >> >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
participants (3)
-
Daniel Russel
-
Friedrich Foerster
-
Keren Lasker