bigginlab / ABFE_workflow

This is a SnakeMake based workflow for ABFE calculations that can be easily scaled in a high-throughput manner via Slurm for example.
GNU General Public License v3.0
44 stars 16 forks source link

Nonetype error with cluster config #22

Closed Nithishwer closed 1 year ago

Nithishwer commented 1 year ago

Running example_execution.sh with the nosubmit flag on bash gives:

Prepare

    starting preparing ABFE-ligand file structur
        Ligand:  ligand-4
Traceback (most recent call last):
  File "/biggin/b211/reub0138/mambaforge/envs/abfe2/bin/cli-abfe", line 9, in <module>
    sys.exit(main())
  File "/biggin/b211/reub0138/Projects/abfe/IrfansPaper/ABFE_workflow-main/abfe_cli/ABFECalculator.py", line 55, in main
    res = calculate_abfe(protein_pdb_path=args.protein_pdb_path, ligand_sdf_paths=sdf_paths, out_root_folder_path=args.output_dir_path,
  File "/biggin/b211/reub0138/Projects/abfe/IrfansPaper/ABFE_workflow-main/abfe/calculate_abfe.py", line 45, in calculate_abfe
    build_ligand_flows(input_ligand_paths=conf["input_ligands_sdf_path"],
  File "/biggin/b211/reub0138/Projects/abfe/IrfansPaper/ABFE_workflow-main/abfe/orchestration/build_ligand_flow.py", line 215, in build_ligand_flows
    build_replicas_simulation_flow(out_ligand_path=out_ligand_path,
  File "/biggin/b211/reub0138/Projects/abfe/IrfansPaper/ABFE_workflow-main/abfe/orchestration/build_ligand_flow.py", line 78, in build_replicas_simulation_flow
    cluster_config['partition'] = "cpu"
TypeError: 'NoneType' object does not support item assignment
RiesBen commented 1 year ago

this one should be fixed now: 53ed34f