Skip to content

Commit

Permalink
Merge pull request #290 from OBOFoundry/fixes-20250123
Browse files Browse the repository at this point in the history
Fix issues with COB Revised PR
  • Loading branch information
jamesaoverton authored Jan 23, 2025
2 parents 57f13da + ca9f8d7 commit ae394dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/split-cob-edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

def initialize_tsv(output_dir, filename, fieldnames, robot_row):
'''Initialize and return a DictWriter for a ROBOT template.'''
os.makedirs(output_dir, exist_ok=True)
path = os.path.join(output_dir, filename)
path_fh = open(path, 'w')
writer = csv.DictWriter(path_fh, fieldnames, delimiter='\t', lineterminator='\n', extrasaction='ignore')
Expand Down

0 comments on commit ae394dc

Please sign in to comment.