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.

Trying to driver.parse_file('.') exits program #1113

Description

@Helveg

Using the following Python code, the process exits with exit code 2 and the message input in flex scanner failed:

import nmodl

nmodl.NmodlDriver().parse_file(".")

It's likely because it's a directory? (I tested with other ../dirs too). Could it raise a ParseError or similar instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions