You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am working for University in Gent, we are using EasyBuild to provide researchers scientific software on HPC. I am working on scenicplus to be installed on HPC.
Describe the bug
After installation there are missing files config.yaml and Snakefile in snakemake dir.
To Reproduce
run scenicplus init_snakemake --out_dir test/
Error output
# Traceback (most recent call last):
# File "/scratch/gent/vo/001/gvo00117/easybuild/RHEL8/cascadelake-ampere-ib/software/scenicplus/1.0a1-18072024-foss-2023a/bin/scenicplus", line 8, in <module>
# sys.exit(main())
# ^^^^^^
# File "/scratch/gent/vo/001/gvo00117/easybuild/RHEL8/cascadelake-ampere-ib/software/scenicplus/1.0a1-18072024-foss-2023a/lib/python3.11/site-packages/scenicplus/cli/scenicplus.py", line 1137, in main
# args.func(args)
# File "/scratch/gent/vo/001/gvo00117/easybuild/RHEL8/cascadelake-ampere-ib/software/scenicplus/1.0a1-18072024-foss-2023a/lib/python3.11/site-packages/scenicplus/cli/scenicplus.py", line 24, in init_snakemake
# init_snakemake_folder(
# File "/scratch/gent/vo/001/gvo00117/easybuild/RHEL8/cascadelake-ampere-ib/software/scenicplus/1.0a1-18072024-foss-2023a/lib/python3.11/site-packages/scenicplus/cli/commands.py", line 46, in init_snakemake_folder
# shutil.copy(config_file, os.path.join(out_dir, "Snakemake", "config", "config.yaml"))
# File "/apps/gent/RHEL8/cascadelake-ib/software/Python/3.11.3-GCCcore-12.3.0/lib/python3.11/shutil.py", line 419, in copy
# copyfile(src, dst, follow_symlinks=follow_symlinks)
# File "/apps/gent/RHEL8/cascadelake-ib/software/Python/3.11.3-GCCcore-12.3.0/lib/python3.11/shutil.py", line 256, in copyfile
# with open(src, 'rb') as fsrc:
# ^^^^^^^^^^^^^^^
# FileNotFoundError: [Errno 2] No such file or directory:
# '/scenicplus/1.0a1-18072024-foss-2023a/lib/python3.11/site-packages/scenicplus/snakemake/config.yaml'
Expected behavior
During installation the files should be copied.
Version (please complete the following information):
Thank you for opening an issue.
I'm not sure why it is not working for you. The solution you suggest is also the solution I would try ...
Can you share some minimal example on how you are setting up the code?
For me everything is running fine in a fresh install (using conda environments).
Hello @SeppeDeWinter,
in EasyBuild I can not use conda, so everything must be build/install from sources.
Scenicplus is installed by pip install.
Another problem is with the version of dependencies - for some of them I can choose the version and let them be installed by pip (exts_list), but for the more complex dependencies I need use the version that is already in EasyBuild (dependencies/builddependencies).
Hello,
I am working for University in Gent, we are using EasyBuild to provide researchers scientific software on HPC. I am working on scenicplus to be installed on HPC.
Describe the bug
After installation there are missing files
config.yaml
andSnakefile
in snakemake dir.To Reproduce
run
scenicplus init_snakemake --out_dir test/
Error output
Expected behavior
During installation the files should be copied.
Version (please complete the following information):
Additional context
Seems it is caused by the migration to pyproject.toml. There are missing something like:
to make the non python files to be copied. I tried these but still not working.
The text was updated successfully, but these errors were encountered: