-
Notifications
You must be signed in to change notification settings - Fork 16
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
More improvements on TACA running Anglerfish #410
More improvements on TACA running Anglerfish #410
Conversation
kedhammar
commented
Jan 30, 2024
- Use abspath for Anglerfish stderr path
- Make it possible to instantiate ONT run w/o specifying the type
- Add more info to the ONT db update subcommand
2. Make it possible to instantiate ONT run w/o specifying the type 3. Add more info the ONT db update subcommand
taca/nanopore/ONT_run_classes.py
Outdated
self.transfer_details = CONFIG["nanopore_analysis"]["run_types"][self.run_type][ | ||
"instruments" | ||
][self.instrument] | ||
if hasattr(self, "run_type"): |
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.
I would change this to set self.run_type = None # Will be set in subclasses
and if self.run_type is not None
. I think it's easier to understand. What do you think?
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.
Or perhaps have run_type
as a required argument to the base class as well?
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.
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.
Thank you!
d22c0f6
into
NationalGenomicsInfrastructure:master