Skip to content

Commit ae394dc

Browse files
Merge pull request #290 from OBOFoundry/fixes-20250123
Fix issues with COB Revised PR
2 parents 57f13da + ca9f8d7 commit ae394dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scripts/split-cob-edit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

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

0 commit comments

Comments
 (0)