Skip to content

Adding flexible pathing for DFTBML #1

@FranklinHu1

Description

@FranklinHu1

Right now, all calculations done with DFTBML requires the calculations to be performed within the DFTBML directory, which is inconvenient when data/input files may be located elsewhere in the system. To support flexible pathing and running calculations wherever the user would like, some changes need to be made to the way the code is organized right now. Specifically:

  • Convert DFTBML and associated functionalities into a proper Python package with associated __init__.py file
  • Add additional user-specified CLI inputs to benchtop.py to allow for specifying working directory paths
  • Add additional user-specified CLI inputs to analyze.py to allow for specifying working directory paths
  • Test changes

From a high-level, these changes seem pretty easy to do and would just require all relative paths are handled correctly. This is a good starting point for migrating DFTBML into more of a cohesive general-purpose package than a collection of many sub-packages that all do specific things.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions