-
Notifications
You must be signed in to change notification settings - Fork 2
Small suggestions #29
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
Open
corneliusroemer
wants to merge
23
commits into
main
Choose a base branch
from
suggestions
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
snakemake doesn't like when you mess with it while running it. I get the following error when removing .snakemake while running snakemake itself:
````
Complete log(s): /Users/cr/code/rubella/ingest/.snakemake/log/2025-05-05T203735.022933.snakemake.log
Exception in thread Thread-1 (_monitor):
Traceback (most recent call last):
File "/Users/cr/micromamba/envs/py12/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
self.run()
File "/Users/cr/micromamba/envs/py12/lib/python3.12/threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
File "/Users/cr/micromamba/envs/py12/lib/python3.12/logging/handlers.py", line 1598, in _monitor
self.handle(record)
File "/Users/cr/micromamba/envs/py12/lib/python3.12/logging/handlers.py", line 1579, in handle
handler.handle(record)
File "/Users/cr/micromamba/envs/py12/lib/python3.12/logging/__init__.py", line 1028, in handle
self.emit(record)
File "/Users/cr/micromamba/envs/py12/lib/python3.12/logging/__init__.py", line 1278, in emit
self.stream = self._open()
^^^^^^^^^^^^
File "/Users/cr/micromamba/envs/py12/lib/python3.12/logging/__init__.py", line 1263, in _open
return open_func(self.baseFilename, self.mode,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/cr/code/rubella/ingest/.snakemake/log/2025-05-05T203735.022933.snakemake.log'
```
It's annoying that one needs to manually add this file but it allows: `snakemake` as opposed to having to type `snakemake -c1 --ri --printshellcmds`
First thing I look for :)
resolves #28 Trailing `|` was interpreted as "or anything" which ends up always being true
Contributor
|
Please note, the rubella build is still under active development. |
tsibley
reviewed
May 6, 2025
ingest/profiles/default/config.yaml
Outdated
Comment on lines
1
to
3
| cores: all | ||
| printshellcmds: true | ||
| ri: true No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know you can make these your global default by putting the profile somewhere shared and setting SNAKEMAKE_PROFILE, e.g.
export SNAKEMAKE_PROFILE=~/.config/snakemake/default
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
It's been a while since I've looked at a Nextstrain workflow other than mpox so thought I go through this one and make some suggestions as I review the code
Commits can be cherry-picked, there's no single theme