We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Missing a / after the MODELS_PATH makes it impossible to use the CMD package.
/
To Reproduce Steps to reproduce the behavior:
from hoki.load import set_models_path
set_models_path("path/to/models")
mycmd = CMD(input_file)
mycmd.make(mag_filter='V', col_filters=['B', 'V'])
Expected behavior Code generates a CMD and runs for a long duration. Code does should not terminate in a few seconds.
Additional context Might be impacting other areas too.
Fix should be done when setting the MODELS_PATH. The current assert os.path.isdir() does not catch a missing / at the end of the path.
MODELS_PATH
os.path.isdir()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Missing a
/
after the MODELS_PATH makes it impossible to use the CMD package.To Reproduce
Steps to reproduce the behavior:
from hoki.load import set_models_path
set_models_path("path/to/models")
mycmd = CMD(input_file)
mycmd.make(mag_filter='V', col_filters=['B', 'V'])
Expected behavior
Code generates a CMD and runs for a long duration. Code does should not terminate in a few seconds.
Additional context
Might be impacting other areas too.
Fix should be done when setting the
MODELS_PATH
. The current assertos.path.isdir()
does not catch a missing/
at the end of the path.The text was updated successfully, but these errors were encountered: