[Gate-users] /control/macroPath error - How to run macro?
Andreas Resch
andreas.resch at meduniwien.ac.at
Thu May 4 13:42:52 CEST 2017
Am 2017-05-04 13:01, schrieb Niels van der Werf:
> Hello All,
>
> I've just installed Gate on OS X 10.9.5 (Mavericks) via MacPorts. The
> installation appears to have worked.
>
> I’m now trying to run my first macro file, from one of the
> downloadable examples. However, I get the following error when I try
> to execute the macrofile with control/execute:
> "ERROR: Can not open a macro file . Set macro path with
> "/control/macroPath" if needed."
>
> Now my question is, what is the correct usage of the
> /control/macroPath command? I tried to run a macro that I could find
> by first setting the macroPath:
>
> /control/macroPath /opt/local/share/doc/gate/test/
>
> which gave no error but then when I ran "/control/execute
> PET_CylindricalPET_System.mac" I get an error similar to before:
>
> "Can not open a macro file
>
> . Set macro path with "/control/macroPath" if needed."
>
> Clearly, I do not understand how the pathing in Gate works. I would be
> grateful for any advice toward setting the macropath correctly.
>
> Sincerely,
> Niels
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
Hi Niels,
I have not looked into your mac file in detail, but I suggest that you
test your set up with a simple simulation
setup (so 1 dose actor instead of 26). As soon as the simple setup
works, increase the complexity. I once observed a problem with using
integers in the name of actors - or at least I thought that there was an
issue. Maybe this could be one of your problems?
cheers,
andreas
More information about the Gate-users
mailing list