Skip to content

Commit

Permalink
Fix #399
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaMolod committed Aug 19, 2024
1 parent 62877b4 commit 227380b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alphapulldown/scripts/create_individual_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
# Initialize and define flags
run_af = get_run_alphafold()
flags = run_af.flags
_check_flag = getattr(run_af, "_check_flag", None)

# All flags
flags.DEFINE_bool("use_mmseqs2", False,
Expand Down Expand Up @@ -353,7 +352,8 @@ def process_multimeric_features(feat, idx):

def main(argv):
del argv # Unused.
_check_flag('use_mmseqs2', 'path_to_mmt', False) # Can't be both True.
if FLAGS.use_mmseqs2 and FLAGS.path_to_mmt is not None:
raise ValueError("Multimeric templates and MMseqs2 can't be used together.")
try:
Path(FLAGS.output_dir).mkdir(parents=True, exist_ok=True)
except FileExistsError:
Expand Down

0 comments on commit 227380b

Please sign in to comment.