Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Add a visitor class to replace units in statements #1461

@JCGoran

Description

@JCGoran

Some of the mod files (such as this one) have units directly in statements, for instance:

area1 = 2*PI*(diam/2) * 1(um)

We should add a visitor (that runs fairly early) which replaces these units with their actual numerical values since the syntax is not compatible with SymPy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions