-
Notifications
You must be signed in to change notification settings - Fork 6
Support CIPHER, a phase-field simulation code. #403
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
Draft
aplowman
wants to merge
27
commits into
develop
Choose a base branch
from
software/cipher
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or 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
2 tasks
This is specific to running on Windows with Docker, which should be set by the user.
- Set default value here instead of in the python script.
This is clearly incompatible with the current Matflow.
Started with the easier ones: Remove dropbox archiving Adapt task syntax for - sample texture from model ODF mtex for phase 1 - Visualise orientations and move straight after sampling tasks - visualise VE VTK
c53fb82 to
0d82b11
Compare
Remove explanation from previous commit. Note that this workflow gives an error: ``` ValueError: Action 0 input 'orientations' of schema 'generate_volume_element_from_statistics_dual_phase_orientations_Dream3D' is not a schema input, but nor is it an action output from a preceding action. ```
These are in thd old matflow format.
Debugging the workflow turned up some incorrect syntax, incorrect filenames (scripts not matching the first function names), missing default values for input parameters. It also turns out that Dream3D needs the full path to the precipitates file.
I still get this error that I got before converting to old matflow
orientations format:
```
File "/home/mbexegc2/projects/lightform/cipher-workflows/cipher-aiden_2025-10-29_133031/artifacts/submissions/0/scripts/generate_volume_element_from_statistics_dual_phase_orientations_Dream3D_act_3.py", line 40, in parse_dream_3D_volume_element_from_stats
ori_1 = validate_orientations(orientations_phase_1)
File "/home/mbexegc2/projects/lightform/cipher-workflows/.venv/lib/python3.10/site-packages/damask_parse/utils.py", line 983, in validate_orientations
ori_type = orientations.get('type')
AttributeError: 'Orientations' object has no attribute 'get'
```
This reverts commit 52c2412.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Will fix #392. Some points below are from my chat with Aiden a few weeks ago.
Port existing functionality from old-matflow:
delete_VTIsgenerate_phase_field_inputmethods:num_VTU_filesparametercipher_processing_envandcipher_env)cipher-parse, containing:Possible new features requested (possibly in cipher-parse):