Skip to content

Commit

Permalink
Fix run_analysis.sh failure for modifications
Browse files Browse the repository at this point in the history
The modifications export file now has an extra column "assigned_by".

Refs #117
Refs pombase/pombase-chado#1232
  • Loading branch information
kimrutherford committed Oct 17, 2024
1 parent e487811 commit d7ac0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protein_modification_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def check_func(row, genome, allowed_mod_dict):
with open('data/allowed_mod_dict.json', 'r') as ins:
allowed_mod_dict = json.load(ins)

data.columns = ['systematic_id', 'primary_name', 'modification', 'evidence', 'sequence_position', 'annotation_extension', 'reference', 'taxon', 'date']
data.columns = ['systematic_id', 'primary_name', 'modification', 'evidence', 'sequence_position', 'annotation_extension', 'reference', 'taxon', 'date', 'assigned_by']
data = data[data['sequence_position'] != '']

extra_cols = data.apply(check_func, axis=1, result_type='expand', args=[genome, allowed_mod_dict])
Expand Down

0 comments on commit d7ac0d7

Please sign in to comment.