Skip to content

some more features - #7

Merged
t0mdavid-m merged 3 commits into
mainfrom
feat01
Jul 16, 2026
Merged

some more features#7
t0mdavid-m merged 3 commits into
mainfrom
feat01

Conversation

@cbielow

@cbielow cbielow commented Jul 1, 2026

Copy link
Copy Markdown
Member

@cbielow
cbielow requested a review from t0mdavid-m July 1, 2026 11:46
Comment thread content/ptxqc_configure.py Outdated
import streamlit as st
st.divider()
try:
st.page_link("content/ptxqc_run.py", label="Next: **3. Create Report**", icon="🚀")

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.

In what scenario would this page not exist?

Comment thread content/ptxqc_run.py Outdated
import streamlit as st
st.success("✅ Report ready. Next step:")
try:
st.page_link("content/ptxqc_results.py", label="**4. Report**", icon="📊")

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.

Same here.

Comment thread content/ptxqc_upload.py Outdated
import streamlit as st
st.success("✅ Data uploaded. Next step:")
try:
st.page_link("content/ptxqc_configure.py", label="**2. Configure**", icon="⚙️")

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.

Same here.

Comment thread src/workflow/CommandExecutor.py Outdated
bufsize=1, # Line buffered
universal_newlines=True
)
except (FileNotFoundError, OSError) as e:

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.

remove fallback

…llback

- Rewrite test_gui.py to boot app.py + switch_page so pages run inside the
  real st.navigation shell. Standalone AppTest.from_file skipped navigation,
  which made st.page_link raise KeyError('url_pathname') only in tests and
  hid genuinely broken links behind the try/except.
- Remove the now-unnecessary try/except around st.page_link in the upload,
  configure, and run pages.
- Revert CommandExecutor.run_command to plain subprocess.Popen (now identical
  to template/main); the missing-Rscript case is already handled one layer up
  in Workflow.execution().
- Add ADR 0001 (GUI tests drive real navigation) and 0002 (keep the inherited
  template layer app-agnostic).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@t0mdavid-m
t0mdavid-m merged commit c5d1b7b into main Jul 16, 2026
8 checks passed
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