You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, if a NTParameterSet object is generated by unpickling it, modifying it is not possible:
import pickle
param_unpickled = pickle.loads(pickle.dumps(param))
param_unpickled
>> {'param1': 'something else'}
param_unpickled.param1 = 'a third thing'
param_unpickled # modification appears to be successful
>> {'param1': 'a third thing'}
param_unpickled.param1 # but directly accessing the value returns the old value
>> 'something else'
The text was updated successfully, but these errors were encountered:
After initializing a sumatra.parameters.NTParameterSet, it can be modified:
However, if a NTParameterSet object is generated by unpickling it, modifying it is not possible:
The text was updated successfully, but these errors were encountered: