Add formatting env and script - #79
Conversation
|
Great, thanks I have added it now to the wiki. Feedback (feel free to comment on it, maybe there were reasons):
-> I have addressed all of them already, so no action required (and tested) |
|
Thanks for adding this to the wiki! Regarding your feedback:
|
How do you ensure then that every MrBiomics module would be formatted the same, and what is actually the default? Do we use the default or something specific? If we use the default, we can remove it for maximum simplicity.
not for me (on our linux HPC). it requested to be installed while running and I didn't want it to be installed using non-conda ways.
|
The default is the same as in our current config file. So removing is probably easier for most users. (I just added the config file so my VS code extension works properly)
You are right, I double checked and its better to have it in the conda env file directly, sorry for that.
Yeah, for workflow environments it absolutely makes sense to pin/lock versions. Just as an aside: in ecosystems like Rust (Cargo) or JS/TS (npm), strict pinning can sometimes lead to multiple versions of the same dependency being included (if your pinned version differs from what a dependency requires), which can increase build size. In PHP (Composer), it’s even stricter—if dependencies can’t be resolved to a compatible set of versions, the install fails entirely. |
After merging add the following to the wiki:
conda env create -f formatting.yml), you can use the provided shell script for formatting: [LINK TO FILE AFTER MERGE]