Skip to content

Commit

Permalink
added new parameter to allow users to renumber their output structure…
Browse files Browse the repository at this point in the history
… file
  • Loading branch information
thepineapplepirate committed Jun 12, 2024
1 parent 3c6707a commit 143f6e7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tools/gromacs/editconf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#if $box.config == "true":
-d $box.dim
-bt $box.type
#end if
#if $renumber.renum =="true":
-resnr $renumber.startres_id
#end if
&>> verbose.txt &&
Expand All @@ -29,7 +32,17 @@
<option value="gro">GRO file</option>
<option value="pdb">PDB file</option>
</param>

<conditional name="renumber">
<param argument="renum" type="select" label="Renumber residues in PDB file?">
<option value="true">Yes</option>
<option value="false" selected="true">No</option>
</param>
<when value="true">
<param argument="startres_id" type="integer" value="1" label="New starting residue" help="This will renumber the residues in your pdb file starting with this number." />
</when>
<when value="false"/>
</conditional>

<conditional name="box">
<param argument="config" type="select" label="Configure box?">
<option value="true">Yes</option>
Expand Down

0 comments on commit 143f6e7

Please sign in to comment.