Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callable building style #14

Open
amkrajewski opened this issue Sep 5, 2024 · 0 comments
Open

Callable building style #14

amkrajewski opened this issue Sep 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@amkrajewski
Copy link
Contributor

@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.

@amkrajewski amkrajewski added the enhancement New feature or request label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants