Skip to content
New issue

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

Fix currentDir handling #345

Merged
merged 1 commit into from Apr 13, 2022
Merged

Fix currentDir handling #345

merged 1 commit into from Apr 13, 2022

Conversation

mgeplf
Copy link
Contributor

@mgeplf mgeplf commented Apr 12, 2022

  • if CurrentDir isn't in the BlueConfig, it should default to the path
    where the BlueConfig is, using the absolute path in this patch
  • if a BlueConfig in the current directory is passed, adjust_path
    would be called with ("BlueConfig", "", ".") if OutputPath is "."
    this would return the fullPath = currentDir + "/" + cleanPath;
    /. since currentDir is empty, and this path exists. This would mean
    the URI wasn't correct

* if CurrentDir isn't in the BlueConfig, it should default to the path
  where the BlueConfig is, using the absolute path in this patch
* if a BlueConfig in the current directory is passed, `adjust_path`
  would be called with  ("BlueConfig", "", ".") if OutputPath  is "."
  this would return the `fullPath = currentDir + "/" + cleanPath; `
  `/.` since currentDir is empty, and this path exists.  This would mean
  the URI wasn't correct
@NadirRoGue
Copy link
Contributor

Thanks a lot, it has always been something that wasn't fully complying with the doc.

@NadirRoGue NadirRoGue merged commit 17bd5f9 into BlueBrain:master Apr 13, 2022
@mgeplf mgeplf deleted the current-dir branch April 13, 2022 07:56
@mgeplf
Copy link
Contributor Author

mgeplf commented Apr 13, 2022

No worries, thanks for accepting it.

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.

None yet

2 participants