QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: esp on October 25, 2012, 02:57

Title: how to get object_ids?
Post by: esp on October 25, 2012, 02:57
i have a set of transmission calcs saved to a file with object_ids that have specific voltages ... how can i get a list of object_ids saved in a file?
Title: Re: how to get object_ids?
Post by: Anders Blom on October 25, 2012, 07:42
Try

Code: python
from NL.IO.NLSaveUtilities import nlinspect
nc_keys = nlinspect("file.nc")
print nc_keys
Title: Re: how to get object_ids?
Post by: esp on October 25, 2012, 08:29
thank you