# This will swap certain atom names in some planar sidechains to satisfy # the IUPAC convention. env = environ() log.level(1, 1, 1, 1, 0) mdl = model(env, file='2abx') mdl.to_iupac() mdl.write(file='2abx.iup')