Commit 322caa8b authored by John Tourtellott's avatar John Tourtellott

Take out redundant export spec code

parent 4926b9a7
......@@ -67,19 +67,8 @@ class Export(smtk.operation.Operation):
result = reader.read(spec, sbt_path, self.log())
print('reader result:', result)
# opDef = spec.createDefinition('test op', 'operation')
opDef = spec.findDefinition('export')
simulationDef = smtk.attribute.ResourceItemDefinition.New('attributes')
simulationDef.setAcceptsEntries('smtk::attribute::Resource', '', True)
opDef.addItemDefinition(simulationDef)
modelDef = smtk.attribute.ResourceItemDefinition.New('model')
modelDef.setAcceptsEntries('smtk::model::Resource', '', True)
opDef.addItemDefinition(modelDef)
# Setup result definition
resultDef = spec.createDefinition('test result', 'result')
successDef = smtk.attribute.IntItemDefinition.New('success')
resultDef.addItemDefinition(successDef)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment