Skip to content

Nl/add ptypy i08 param config - #209

Merged
NatLeung96 merged 5 commits into
mainfrom
nl/add-ptypy-i08-param-config
Oct 1, 2026
Merged

NatLeung96 merged 5 commits into
mainfrom
nl/add-ptypy-i08-param-config

Conversation

@NatLeung96

Copy link
Copy Markdown
Collaborator

Add a parameter configuration component for the ptypy-i08-1-from-config workflow

@yousefmoazzam yousefmoazzam left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

Possibly one minor thing to change, and then a comment on something for us to keep in mind and address soon.

Comment on lines +61 to +67
<TextField
error={id.length === 0}
label="Scan Number"
value={id}
onChange={(e) => setId(e.target.value)}
size="small"
/>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, there wouldn't be a scan number input in the parameter configuration component and we'd use the scan selector component's scan ID.

However, I see that the current state of the ParameterConfiguration component is such that it assumes the input is given as a filepath to the input data (which is an artifact of the httomo templates that this was initially developed for), whereas the ptypy workflow template takes a scan ID as input and constructs the filepath within the workflow itself.

So for now there's no need to do anything, but we should thing about how to deal with this soon, as it connects to making all imaging workflow templates have a common interface in the sense of a common set of parameters that can be assumed by a web GUI wanting to run workflows from them.

@yousefmoazzam yousefmoazzam left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@NatLeung96
NatLeung96 merged commit 066f1d9 into main Oct 1, 2026
1 check passed
@NatLeung96
NatLeung96 deleted the nl/add-ptypy-i08-param-config branch October 2, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants