parmed.tools.parmlist module

List of topology file objects that can be edited in ParmEd. They can be indexed via either the name of the topology file or by the order in which they were loaded.

class parmed.tools.parmlist.ParmList[source]

Bases: object

List of Structure objects index-able via either file name or file index (based on order added)

Methods

add_parm(parm[, name])

Add a parm to the list

empty()

Returns True if the list is empty; False otherwise

index(idx)

See what the index of the requested parm is (can be int or str)

set_new_active(idx)

Sets a new active parm

add_parm(parm, name=None)[source]

Add a parm to the list

empty()[source]

Returns True if the list is empty; False otherwise

index(idx)[source]

See what the index of the requested parm is (can be int or str)

set_new_active(idx)[source]

Sets a new active parm