Skip to content

Callable building style #14

@amkrajewski

Description

@amkrajewski

@amr8004 In the SS-Ti64 branch, you can now find builders of callables that accept the YAML config file describing a constraint and configure a corresponding template script.

The philosophy is that these will belong to unique (name + YAML-hash + elements) modules, like SSTi64_67d784_NiCrFeV, for each elemental space of your problem and will have all constraints built in; thus, things like if density > MAX: return False or [len(gridPhases[i]['Phases']) != 0 and len(set(gridPhases[i]['Phases']).difference(feasiblePhases)) == 0 and gridPhases[i] != [] for i in range(len(gridPhases))] will belong inside them, rather than be repetitively included in the Jupyter notebook.

The modules will be packaged by AMMap into ZIP files that can be (a) run directly by AMMap in a plug-and-play fashion, and (b) be used to enable easy reproducibility of results in scientific publications.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions