FlowSOM directory name and pip installs #7
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey,
I tried to install FlowSOM on WSL2 and Linux using the command as specified in the readme.
However, this lead to an import error after
Notably, installing on Windows and macOS via conda and mamba into a fresh environment works as intended.
Following this, I noticed that after cloning the repo, --editable pip installs would not work (Windows, WSL2, Linux, macOS), including the ones specified in the contributing guidelines:
while non-editable installs work as intended.
This import error is due to the fact that although a flowsom-0.0.1.dist-info is added to the site-packages directory, no actual flowsom directory is created for the scenarios described above. I tried a lot, including trying to change pyproject.toml in various ways so that the directory name can stay the same. Unfortunately, no success on that front.
The PR renames the FlowSOM directory to lowercase, which fixes all of the issues mentioned.
Reproducible example on WSL2/Linux:
If there is a way to keep the namespaces as they are, I would be happy to contribute to a different fix.
Do you think this change is appropriate or was there additional reasoning behind the naming and it's therefore better to look for a different fix?
Let me know!
Best,
Tarik