Hi,
I have been automating the creation of positions using python scripts. Something relatively simple like p001, p002, etc.
When I examine the positions using the python commands
from Midas import positions
pnames = positions.keys()
at first things appear as I would expect, but later the sequence changes relative to the index, why is that?
for example, using this to print the positions
I get these results:
(not as expected)
I would expect pnames[0] to correspond to the first position created, pnames[1] to the second posiiton created, etc., assuming no ~savepos used.
Want to create a situation where the default names would be pxxx, but could later be altered to more meaningful names but maintain the order of creation, or getting a session file from someone I would use their position names and tack on my default names to the end of the position list.