This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<simulation> | |
<schematype>flat</schematype> | |
<control> | |
<duration>4800</duration> | |
<startmonth>1</startmonth> | |
<startyear>2000</startyear> | |
<simhandle>35</simhandle> | |
</control> | |
<archetypes> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Linking CXX shared library ../lib/cyclus/NullInst/cyclus/NullRegion/cyclus/Sink/libSinkTests.so | |
[ 42%] Building CXX object src/CMakeFiles/cycluscore.dir/institution.cc.o | |
In file included from /home/r/cyc/cyclus/src/hdf5_back.cc:2: | |
In file included from /home/r/cyc/cyclus/src/hdf5_back.h:8: | |
/home/r/cyc/cyclus/src/query_backend.h:227:18: error: call to function 'operator<' that is neither visible in the template definition nor found by argument-dependent lookup | |
rtn = (*x) < cond->val.cast<T>() ? true : false; | |
^ | |
/home/r/cyc/cyclus/src/query_backend.h:259:10: note: in instantiation of function template specialization 'cyclus::CmpCond<cyclus::Blob>' requested here | |
if (!CmpCond<T>(&(*x), (*conds)[i])) | |
^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception ignored in: <bound method TestRegression.__del__ of <test_regression.TestRegression object at 0x7fdc38d480f0>> | |
Traceback (most recent call last): | |
File "/home/r/cyc/cycamore/tests/test_regression.py", line 51, in __del__ | |
for inf, outf in self.tmp_files_.items(): | |
AttributeError: 'TestRegression' object has no attribute 'tmp_files_' | |
Exception ignored in: <bound method TestRegression.__del__ of <test_regression.TestRegression object at 0x7fdc38d480f0>> | |
Traceback (most recent call last): | |
File "/home/r/cyc/cycamore/tests/test_regression.py", line 51, in __del__ | |
for inf, outf in self.tmp_files_.items(): | |
AttributeError: 'TestRegression' object has no attribute 'tmp_files_' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Recorder rec; | |
SqliteBack b("outfile.sqlite"); | |
rec.RegisterBackend(&b); | |
Context ctx(&ti, &rec); | |
int dur = 10; // # timesteps | |
ctx.InitSim(SimInfo(dur)); // this is in my dbinit PR | |
// create and add recipes to context if any | |
// ... | |
ctx.AddRecipe("[recipe-name]", recipe1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import OrderedDict | |
class Node: | |
def __init__(self, name): | |
pass | |
def schema(self): | |
return 'UNSET-schema' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct BuildOrder { | |
int time; | |
std::string prototype; | |
int num_to_build; | |
}; | |
class Deployer: public Model { | |
public: | |
// ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct BuildOrder { | |
int time; | |
std::string prototype; | |
int num_to_build; | |
}; | |
INIT_VEC_TYPE(BuildOrder); | |
BEGIN_TYPES(); | |
DEFINE_TYPE(BuildOrder, time); |
NewerOlder