comparison get_db_info.py @ 2:3bb9bbecae97 draft default tip

planemo upload for repository https://github.com/brsynth/galaxytools/tree/main/tools commit 767392e3136912fa30d1e0786eba789dd77d722c-dirty
author tduigou
date Wed, 03 Sep 2025 14:07:14 +0000
parents 54e716c11b71
children
comparison
equal deleted inserted replaced
1:54e716c11b71 2:3bb9bbecae97
132 missing_fragments = sorted(list(csv_fragments - db_fragments)) 132 missing_fragments = sorted(list(csv_fragments - db_fragments))
133 133
134 # Write report file 134 # Write report file
135 with open(output_report, "w") as report_file: 135 with open(output_report, "w") as report_file:
136 if missing_fragments: 136 if missing_fragments:
137 report_file.write("Missing fragment in DB:\n")
138 for frag in missing_fragments: 137 for frag in missing_fragments:
139 report_file.write(f"{frag}\n") 138 report_file.write(f"{frag}\n")
140 else: 139 else:
141 report_file.write("NO missing fragments in DB\n") 140 report_file.write("")
142 141
143 # === CONTINUE WITH GB FILE CREATION === 142 # === CONTINUE WITH GB FILE CREATION ===
144 for _, row in df.iterrows(): 143 for _, row in df.iterrows():
145 annotated_row = {"Backbone": row[0], "Fragments": []} 144 annotated_row = {"Backbone": row[0], "Fragments": []}
146 for col in df.columns: 145 for col in df.columns: