-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make topoaa.molX
and mol_
parameter expandable
#350
Conversation
topoaa.molX
and mol_
parameter expandable.topoaa.molX
and mol_
parameter expandable
Codecov Report
@@ Coverage Diff @@
## main #350 +/- ##
==========================================
+ Coverage 59.49% 60.69% +1.19%
==========================================
Files 65 65
Lines 4022 4152 +130
==========================================
+ Hits 2393 2520 +127
- Misses 1629 1632 +3
Continue to review full report at Codecov.
|
Define These include the For
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does it work? Will it create by default all values (e.g. mol_fix_origin and mol_shape), set those to the default values and write them to the CNS inp files? And of course take any value the user might define in the config file?
Also how will that connect to the i-vresse workflow builder/editor?
Also note that there are other molecule-related parameters that could be handled that way, e.g. nseg_1
nfle_1
nrair_1
and all associated parameters.
Yes, but only for the number of molecules input. For example, if the user provides two molecules and defines Also, if the user gives only two molecules and writes
We need to investigate that. i-vresse could read from the python functions identifying which parameters are expandable, and create the appropriate menus for those.
Yes, but those are different. Those are associated with the |
Approved but I don't understand anything about this part, trusting you @joaomcteixeira :) |
I am making a presentation for tomorrow. I think it's best to explain to all |
Ok - all clear
Yes, but those are different. Those are associated with the rair_sta_1_1 parameters, for example. nseg_1 (and others) are a different kind of parameters that we can decide to populate automatically from the number of groups defined in the rair_sta_1_1 type of parameters. The rair_sta_1_1 type of parameter are expandable, as we have seen before.
These are molecule specific as the first index relates to the molecule and the second to the segment.
|
Yes. One thing I can do is to block to the maximum number of molecules also. |
Okay, I will add that in another issue, because this one was about cleaning the implementation and adding the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good - one last comment:
Shouldn't the yaml file for the topoaa module be update so that the documentation (short and long) explains that this block and parameters can be duplicated for additional molecules?
Added the documentation. |
tox
tests pass. Runtox
command inside the repository folder.-test.cfg
examples execute without errors. Insideexamples/
runpython run_tests.py -b
Define
mol
parameters as expandable parameters. These include themolX
intopoaa
andmol_fix_origin
andmol_shape
in some other modules.For
topoaa
theprot_segid
is defined by the alphabet progression unless the user has defined a value.todo:
mol_