Skip to content

Add methods to coerce to Textual - #218

Merged
ablaom merged 1 commit into
devfrom
textual
Sep 28, 2026
Merged

ablaom merged 1 commit into
devfrom
textual

Conversation

@ablaom

@ablaom ablaom commented Sep 28, 2026

Copy link
Copy Markdown
Member

Until now, there have been no methods for coercing arrays into the Textual scientific element type, only a fallback that throws an (informative) error. This PR adds a coerce method that applies string to all non-missing elements. In particular, it resolves #193 .

@codecov

codecov Bot commented Sep 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.42%. Comparing base (7a8c218) to head (8249735).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #218      +/-   ##
==========================================
- Coverage   93.57%   93.42%   -0.16%     
==========================================
  Files           6        6              
  Lines         436      441       +5     
==========================================
+ Hits          408      412       +4     
- Misses         28       29       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ablaom
ablaom merged commit f98d2f7 into dev Sep 28, 2026
8 checks passed
This was referenced Sep 28, 2026
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.

Elements of scitype Textual cannot be coerced to Textual

1 participant