Skip to content

feat: add structure visualization option using ASE (--view / -w)#23

Merged
ToAmano merged 3 commits into
mainfrom
feat/ase-visualization
Jul 1, 2026
Merged

feat: add structure visualization option using ASE (--view / -w)#23
ToAmano merged 3 commits into
mainfrom
feat/ase-visualization

Conversation

@ToAmano

@ToAmano ToAmano commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Description

Resolves #18. This PR adds the -w / --view flag to launch a quick 3D structure viewer using ASE.

Changes

  • CLI Options: Added -w / --view to parse_args in src/cellify/cli.py.
  • Visualization Logic: Embedded dynamic import and structure rendering using ase.visualize.view at the end of main() in src/cellify/cli.py.
  • Tests: Added comprehensive unit tests in tests/test_cellify.py covering both success and error-handling paths of the --view flag (by patching ase.visualize.view).

@cr-gpt

cr-gpt Bot commented Jun 20, 2026

Copy link
Copy Markdown

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

@codecov

codecov Bot commented Jun 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cr-gpt

cr-gpt Bot commented Jul 1, 2026

Copy link
Copy Markdown

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

@cr-gpt

cr-gpt Bot commented Jul 1, 2026

Copy link
Copy Markdown

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

@github-actions github-actions Bot added the Docs label Jul 1, 2026
@ToAmano ToAmano merged commit 0c6727c into main Jul 1, 2026
8 checks passed
@ToAmano ToAmano deleted the feat/ase-visualization branch July 1, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feat: Add structure visualization option (--view)

1 participant