Skip to content

Commit

Permalink
--coassemble: Fix regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
wwood committed Nov 2, 2024
1 parent 2288aeb commit e2ccfeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aviary/modules/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ def make_config(self):
if self.assembly == 'none' or self.assembly is None:
# Check if coassembly or not needs to be specified by the user.
if self.coassemble is None:
if len(self.pe1) > 1 or len(self.longreads) > 1:
if (self.pe1 != 'none' and len(self.pe1) > 1) or \
(self.longreads != 'none' and len(self.longreads) > 1):
logging.error("Multiple readsets detected. Either specify '--coassemble' for coassembly of or '--coassemble no'.")
sys.exit(-1)
if self.coassemble is None:
Expand Down

0 comments on commit e2ccfeb

Please sign in to comment.