Closed mquevill closed 4 years ago
Hey,
Please dont use the fragmenter right now, the bugs are still working out and I have not pushed latest versions nor tested on enough molecules. If you look at latest poltype on github default is dontfrag=True.
Okay something looks like is going wrong with torsion fitting. Can you please send me a onedrive link with all the files you used to run?
Oh you are using an example we already have, I will take a look
Yeah, I just wanted to try both options, but it even breaks without using the fragmenter. I wanted a very simple test case, so I chose the included Ammonia example.
There shouldn't be any torsions to calculate in NH3, though, right?
Okay the issue is more or less entering the torsionfitting function without torsions to fit. New version is fixed.
It looks like an indentation issue that was introduced in eb0b94cface6d600d71d0a34c7abd111ead3055b. The return statement of fit_rot_bond_tors()
was inside the for tor in poltype.torlist:
loop. Unindenting it by one should allow for proper returning. (Oh the joys of whitespace-dependent languages!)
https://github.com/pren/poltype/blob/1370038622322622fedd4b68f13e6e425c59f5e9/PoltypeModules/torsionfit.py#L805
oh geeze, thanks for catching that haha. I dont even remember touching that line. I must have yanked and also indented same time.
On Tue, May 12, 2020 at 3:49 PM Michael Quevillon notifications@github.com wrote:
It looks like an indentation issue that was introduced in eb0b94c https://github.com/pren/poltype/commit/eb0b94cface6d600d71d0a34c7abd111ead3055b. The return statement of fit_rot_bond_tors() was inside the for tor in poltype.torlist: loop. Unindenting it by one should allow for proper returning. (Oh the joys of whitespace-dependent languages!)
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/pren/poltype/issues/15#issuecomment-627585956, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKNB26LQ6JFUPDKFJFHXIIDRRGY5FANCNFSM4M7ED2NA .
It appears that some recent changes may have introduced some errors in these scripts. I have been trying to run the Ammonia example in
Examples/SymmetryAmmonia
viaWith
dontfrag=False
, I get the following error:With
dontfrag=True
, I get the following error:All
cls_mm_engy_dict
,cls_qm_engy_dict
, andcls_angle_dict
are{}
.Please let me know if there are additional files or information you might need.