Closed transducer closed 5 years ago
I think this must have to do with the way you are starting the evaluation.
If I run lein run clojush.problems.regression.bioavailability
from the command line (which will cause pushgp
to be called from -main
) then it runs correctly.
I can also open the project and then the file in Visual Studio Code (with the Calva extensions), start and attach to a REPL, add (pushgp argmap)
to the bottom of the file, and then select all and choose "Run Selected Text" from the "Terminal" window. This works correctly too.
Your problem probably may stem from the way that namespaces are handled in conjunction with problem files, all of which define argmap
so you have to be in the right namespace to get the right one, and access to other problem-specific symbols. I am quite sure that we did this weirdly/poorly, and that it should be done differently. But we set this up a long time ago, when we were all new to Clojure and didn't really understand how namespaces should be used. I'm sorry if this is a pain, and I'm sure it'd be good to re-do a lot of this, but that's the way it is right now.
Thanks for the clarification! I will try again after the weekend.
When I run the bioavailability example by adding
(pushgp argmap)
to the bottom of the file and evaluating it, I get the following output with exception:How can I get this program to work?