Linas: Yes primitive-load might be the life saver here. I will try it out. Thanks :)
Mike: Since I am running code from python, the things I put in .guile won't be accessed by the python code. On Friday, February 16, 2018 at 4:55:13 PM UTC+3, Eyob wrote: > > Is it possible to have initial group of atoms to exist by default in the > atomspace? > > This seems to be a critical requirement in the following setting. > > I have a python code that uses something like > > from opencog.scheme_wrapper import load_scm, scheme_eval_h > > > atomspace = AtomSpace() > > > load_scm(atomspace,"{}/output2.scm".format(os.getcwd())) > > > Bascially the problem is it takes forever to load atoms in the file > output2.scm from within python while using "load_scm", while it takes few > seconds to do it in guile. > > So, if initial atoms that are in output2.scm could have been loaded > initially somehow by default, then doing "atomspace=Atomspace( )" would > load the initial set of atoms the app needs automatically, > which would help avoid using load_scm with output2.scm. > > Thanks. > -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to opencog+unsubscr...@googlegroups.com. To post to this group, send email to opencog@googlegroups.com. Visit this group at https://groups.google.com/group/opencog. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/7aa5a81b-0f26-4b4c-90a7-0e012a03092a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.