Skip to content

Add optional argument for path of data files - #1

Open
fritut08 wants to merge 1 commit into
gemini3d:mainfrom
SADYCOS:main
Open

fritut08 wants to merge 1 commit into
gemini3d:mainfrom
SADYCOS:main

Conversation

@fritut08

Copy link
Copy Markdown

Previously, it was only possible to use data files in a custom location by setting the environment variable "HWMPATH". This PR adds an optional argument to the hwm14 subroutine that can be used to pass such a custom location without making use of environment variables. The findandopen subroutine was adapted so that it first checks the path in this optional argument.

@scivision

Copy link
Copy Markdown
Member

I have to be careful not to conflict with possible future expansion of hwm14. I made other changes recently to allow arbitrary length paths, which was a more real-world issue.

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.

3 participants