Skip to content

Commit

Permalink
-dump now dumps entire system
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpoleto committed Apr 18, 2022
1 parent 39b8e5c commit e517594
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TUPA.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,8 @@ def pack_around(atom_group, center, boxinfo):
if dumptime != None:
if float(dumptime) == float(time):
print(" >>> Dumping frame (Time = " + str(time) + " ps)! Check " + outdir + "environment_" + time + "ps.pdb!")
enviroment_selection.write(outdir + "environment_" + time + "ps.pdb")
dump_sel = u.select_atoms("all")
dump_sel.write(outdir + "environment_" + time + "ps.pdb")

# Evaluate self_contribution removal
# selects all atoms from environment within a cutoff of a point in space (point X Y Z cutoff)
Expand Down

0 comments on commit e517594

Please sign in to comment.