Replace:
.@{:i}, \/\*\*\< {:n}.*$
With:
\t\2, // \1
license: apache-2.0 |
license: gpl-3.0 | |
border: no | |
height: 1060 |
Replace:
.@{:i}, \/\*\*\< {:n}.*$
With:
\t\2, // \1
Replace:
.@{:i}, \/\*\*\< {:d+}x{:d+}.*$
With:
\t{ \2, \3 }, // \1
struct UserDerivedType : | |
public IUserType | |
{ | |
// ... | |
}; | |
void CreateCustomGraph(IProject& proj) | |
{ | |
// create a uniform graph; no customization at this point | |
IUserGraphNode* first_node = proj.CreateUserGraph(); |
// | |
// in ExecuteManager::Execute: | |
// | |
IAlgorithm& v_alg = ... | |
ParamsIn v_in = ... | |
Context v_ctx = ... | |
// static data init | |
v_alg.Startup(v_ctx, v_in); |
from frames import script | |
@script | |
def A(a=3, b=5): | |
''' A returns bollox. ''' | |
print 'Hello, framework.' | |
try: | |
args = {'a': 5} |
from glob import glob | |
from os import cwd | |
from os.path import join, split, splitext | |
from frames import execute, script | |
@script(author='John Doe', version='0.6', multithreaded=False) # Declare the algorithm's info. | |
def load_clouds(cloud_extension='copsxml'): # Name and input params are given a a function with kwargs. | |
''' Loads all clouds of given format from the CWD. ''' # Documentation in a docstring. | |
cloud_ids = [] |