Skip Procedure Load of Unfound Procedures in Experiment Loading
bpatterson
I currently have a few hundred experiments which were created before I knew enough about Igor to change to loading Procedures from the Igor User Files. As such, every time I open one of these experiments it tries to load an older version of the procedure which is no longer available and I need to skip the loading of that procedure each time.
I recently found the multi-experiment loading example and which to apply it to the above procedures so I can batch export the results I need. While this works, because of the broken procedure link, it asks each time if I want to skip the procedure loading. This takes some of the advantages away from the multi-experiment extraction if it needs to stop and have an operator click on each procedure anyways.
So, is there a way to tell Igor to auto skip on un-found procedures? Something similar to the ExperimentModified comand but for procedure loading? Is there a way to edit the actual Experiment opening code to remove specific OpebProc commands in an automated way?
I understand that this can be avoided by only loading Procedures from the Igor User Files but that doesn't help with these older files. I could also open the experiment, kill the procedure load and then save it which would removed the broken link but it would also defeat the propose of the multi-experiment if I have to go back and change each file manually.
Is this something that i'll be forced to do manually? Any suggestions would be greatly appreciated.
Thanks,
Then when you open the experiment you could edit it to remove the reference, if you wish.
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
November 6, 2015 at 11:17 am - Permalink
Currently, all my experiments are in separate folders in a directory tree. The person who did the analysis of each experiment with the static loaded procedures just placed the procedure file into each folder. So, to use this, I would need to replace this procedure file in each folder with a blank.
This isn't a big deal as this way will work. Thanks.
Just for sake of curiosity, is there a way to do this in the code? I'm really looking for something like the Igor preferences with a preference of "Skip loading of broken paths"?
Thanks again.
November 6, 2015 at 12:11 pm - Permalink
No. There is no preference for that.
November 6, 2015 at 12:32 pm - Permalink