Hocnonsense

Results 15 comments of Hocnonsense

@SichongP > I'm having the same problem. Do you know what was the last version that worked? That might help pin point the cause. My analyze may help https://github.com/snakemake/snakemake/issues/1865 (maybe...

Hi, a easy way to fix it, is add some line to https://github.com/snakemake/snakemake/blob/dc45ccb9ee94e8fcdf386c8598bbae57e319ba10/snakemake/executors/__init__.py#L1272-L1281 like this: https://github.com/snakemake/snakemake/pull/1851/commits/6649305b88d4bdc38a226e4d178f845836ff37ed#diff-438f3317205fd7130727d0589d2fc1a6c2e1f6fc48c2c04d354a8a09b91ba2f4 This could quickly fix this problem. However, after I review the code and noticed...

Thanks! Hoping `dRep` to be better :)

I don't use quote but it do work. Just copy & paste this? ``` Fira Code, Microsoft YaHei mono, monospace ```

The `cached` function in snakemake may be helpful. However, it is mentioned but vaguely in the [document](https://snakemake.readthedocs.io/en/stable/snakefiles/writing_snakefiles.html#grammar).

You can just skip --slurm, but instead use --cluster. I just use a profile/config.yaml to store these params: ```yaml cluster: mkdir -p logs/{rule} && bash src/slurm/get_jobid.sh '--partition={resources.partition} --ntasks-per-node={threads} --job-name=smk-{rule}-{wildcards} --nodes={resources.nodes}'...

Now these code are move to [another reposity](https://github.com/snakemake/snakemake-executor-plugin-slurm) as a plugin, and related code to submit job is here: https://github.com/snakemake/snakemake-executor-plugin-slurm/blob/d0d342d64ff6ca9eb161ee710bb9e319eee12fbe/snakemake_executor_plugin_slurm/__init__.py#L82 and the feature `run_uuid` is defined here: https://github.com/snakemake/snakemake-executor-plugin-slurm/blob/d0d342d64ff6ca9eb161ee710bb9e319eee12fbe/snakemake_executor_plugin_slurm/__init__.py#L50 So, you...

@y9c In snakemake >=8.0, you should use `--executor` to submit non-local jobs. `--executor` accept a value such as `local` (default) and `touch`, for previous "cluster" job, you can choose `cluster-generic`....

in python script, the alphabet strings are treated as name of variation objects (and key words), and only when things quoted by paired `"` or `'` are treated as string....

> I confirm probleme is parse_fstring() method !!! I modify like this and working !!! > > ```python > def parse_fstring(self, token: tokenize.TokenInfo): > # only for python >= 3.12,...