Skip to content

Add parameters block and infrastructure#8

Open
oerc0122 wants to merge 2 commits into
mainfrom
add-parameters
Open

Add parameters block and infrastructure#8
oerc0122 wants to merge 2 commits into
mainfrom
add-parameters

Conversation

@oerc0122

Copy link
Copy Markdown
Collaborator

To have a play:

import ipywidgets as ipw
from alc_aiidalab_widgets.layouts import ParameterStep

class TestWidget(ParameterStep): ...

TestWidget(
    title="Hello",
    info="Whoops",
    widgets={
        "flurp": ipw.Text(description="flourp"),
        "ngh": ipw.Button(description="NGHHGEN"),
    },
    default_args={
        "normal": {
            "flurp": "beef",
        },
        "bormal": {
            "flurp": "rice",
        },
    },
    exclude={"ngh"},
)

Fixes #1
Fixes #2

@oerc0122
oerc0122 requested a review from BTSpeake May 29, 2026 13:24
@oerc0122 oerc0122 self-assigned this May 29, 2026
@oerc0122 oerc0122 added the enhancement New feature or request label May 29, 2026
@BTSpeake

Copy link
Copy Markdown
Collaborator

All looks great however, I can't seem to get the load button to work?
Also there seems to be an issue with the save button where it saves multiple files, usually copies of the same file though it occasionally has saved one with the modified value then a couple with the default values

Base automatically changed from download to main May 29, 2026 14:10
@oerc0122
oerc0122 force-pushed the add-parameters branch 6 times, most recently from a951031 to 2c76a25 Compare June 5, 2026 12:16
@oerc0122
oerc0122 force-pushed the add-parameters branch 2 times, most recently from 647999a to aa8346c Compare June 12, 2026 13:05
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

Successfully merging this pull request may close these issues.

2 participants