# HG changeset patch # User galaxy-australia # Date 1730324794 0 # Node ID 3f188450ca4f2db72eb3d206c523a9d0b57ee053 # Parent e7f1b552a6955b76a9614fabb4bbadc0d1bbdfed planemo upload for repository https://github.com/usegalaxy-au/tools-au commit d626bb28203543a70d3fc60d662cb054bc3cef7c diff -r e7f1b552a695 -r 3f188450ca4f alphafold.xml --- a/alphafold.xml Tue Oct 29 02:15:36 2024 +0000 +++ b/alphafold.xml Wed Oct 30 21:46:34 2024 +0000 @@ -3,7 +3,7 @@ 2.3.2 2.3 - 1 + 2 macro_output.xml macro_test_output.xml diff -r e7f1b552a695 -r 3f188450ca4f scripts/outputs.py --- a/scripts/outputs.py Tue Oct 29 02:15:36 2024 +0000 +++ b/scripts/outputs.py Wed Oct 30 21:46:34 2024 +0000 @@ -113,12 +113,13 @@ def _sniff_model_preset(self) -> bool: """Check if the run was multimer or monomer.""" - with open(self.workdir / 'relax_metrics.json') as f: - if '_multimer_' in f.read(): - return PRESETS.multimer - if '_ptm_' in f.read(): - return PRESETS.monomer_ptm - return PRESETS.monomer + for path in self.workdir.glob('*.pkl'): + if 'feature' not in path.name: + if '_multimer_' in path.name: + return PRESETS.multimer + if '_ptm_' in path.name: + return PRESETS.monomer_ptm + return PRESETS.monomer class ExecutionContext: