Hi Anders,
I made this input script in the way that you suggested:
#################################################
configuration = nlread("name.nc", object_id="gID000")[0]
projection_list = ProjectionList([80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124])
eigenstate = Eigenstate(
configuration=configuration,
quantum_number=82,
projection_list=projection_list,
spin=Spin.Up,
)
nlsave('name-MPSH.nc', eigenstate, labels=['82Up'])
#################################################################################
And the program gives this error :
+------------------------------------------------------------------------------+
| NanoLanguageScript execution started |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| |
| Atomistix ToolKit 10.8.0 |
| |
+------------------------------------------------------------------------------+
Traceback (most recent call last):
File "/tmp/5734084645051856.py", line 10, in <module>
spin=Spin.Up,
File "./zipdir/NL/Analysis/Eigenstate.py", line 47, in __init__
File "./zipdir/NL/Analysis/AnalysisUtilities.py", line 17, in checkConfiguration
NL.ComputerScienceUtilities.Exceptions.NLTypeError: The parameter, configuration, must be an instance of the MoleculeConfiguration.
NanoLanguageScript execution failure
+------------------------------------------------------------------------------+
| NanoLanguageScript execution finished |
+------------------------------------------------------------------------------+
Do you have an idea what the problem is?