Skip to content

Import fixes#35

Open
HussainArif12 wants to merge 6 commits into
ZBT-Tools:masterfrom
HussainArif12:import_fixes
Open

Import fixes#35
HussainArif12 wants to merge 6 commits into
ZBT-Tools:masterfrom
HussainArif12:import_fixes

Conversation

@HussainArif12
Copy link
Copy Markdown
Collaborator

@HussainArif12 HussainArif12 commented Jul 22, 2025

As of now, none of the scripts in the auxiliary folder don't work due to broken imports (3.13.2). These scripts cannot import the pemfc module.

This PR uses a new module called "import_pemfc" which uses the os.path.abspath function do resolve import errors.
Depending on whether the user runs these scripts as a module(-m) or as a normal Python file, the code will use relative or absolute importing

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.

1 participant