Open JustinPrivitera opened 2 months ago
Also, the mapping argument seems wrong to me. Look at this example of how the function is actually used: https://github.com/visit-dav/visit/blob/b847230738bd3b6ef46813b880909044da92551b/src/test/tests/session/restorewithsources.py#L24-L26
Mapping doesn't appear to be a tuple but is instead just a string with the name of the new data file. That should be corrected as well in the documentation.
I believe the tuple is needed if there are multiple source data files used in the session file (eg multiple plots, each from a different database/file.)
Ah that makes sense. I couldn't find any examples of that in our repo. I think whoever adds a correct example to the docs ought to have two examples, one for the simple case and one for the more complicated case.
Description is also wrong, it is a copy of the RestoreSession Description.
Docs for RestoreSessionWithDifferentSources are wrong.