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] Hardcode link and description for Genfi2BIDS #1015

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

NicolasGensollen
Copy link
Member

Currently, the Genfi2BIDS converter parses the corresponding markdown file in the documentation to retrieve the project URL and description. This was implemented in order to avoid duplicating this information in the code.

This works great when installing Clinica from source since the docs folder is cloned as being part of the repository. However, when installing a released version (pip install clinica), only the source code (i.e. content of the clinica folder) is available in site-packages.
This causes the converter to break when trying to retrieve the link and description.

This PR proposes to go back to hardcoding these in order to fix the converter while a more elegant solution is found.

@NicolasGensollen NicolasGensollen merged commit fe483ba into aramis-lab:dev Nov 15, 2023
14 of 17 checks passed
@NicolasGensollen NicolasGensollen deleted the fix-genfi-readme branch November 15, 2023 13:11
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.

2 participants